Package netscape.ldap.util
Class LDAPIntFilterList
java.lang.Object
netscape.ldap.util.LDAPIntFilterList
Represents an Internal LDAPFilterList object. This is an internal object
that should never be instantiated directly by the developer. We
store all filters that have the same match pattern here.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) void
AddFilter
(LDAPFilter filter) Add a "relative" filter to an existing filter list.(package private) LDAPFilter
getFilter
(int nFilter) Return the requested filter.(package private) boolean
MatchFilter
(String matcherValue) Try to match the filter to the given string.(package private) int
Return the number of Filters this InternalFilterList contains.toString()
-
Field Details
-
m_vFilter
-
m_strMatchPattern
-
m_patMatch
-
-
Constructor Details
-
LDAPIntFilterList
LDAPIntFilterList(LDAPFilter filter) throws BadFilterException - Throws:
BadFilterException
-
-
Method Details
-
AddFilter
Add a "relative" filter to an existing filter list. We do this becuse the ldapfilter file defines that we can have multiple filters per match pattern (and delimiter). This method is called by the parent LDAPIntFilterSet because the file specified a "relative" filter (a filter in the ldapfilter.conf file that only has 2 or 3 tokens). -
numFilters
int numFilters()Return the number of Filters this InternalFilterList contains. -
toString
-
getFilter
Return the requested filter. -
MatchFilter
Try to match the filter to the given string. This method is called when the user types in data. We match the expression (stored in m_strMatchPattern) to the value that the user typed in (the parameter to this method).
-