Package netscape.ldap.util
Class LDAPIntFilterSet
java.lang.Object
netscape.ldap.util.LDAPIntFilterSet
Represents an LDAPIntFilterSet object. This is an internal object that
should never be instantiated directly by the developer.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Matcher
private String
private Vector
<LDAPIntFilterList> -
Constructor Summary
ConstructorsConstructorDescriptionLDAPIntFilterSet
(String strTag) Create an LDAPIntFilterSet with a given Tag string. -
Method Summary
Modifier and TypeMethodDescription(package private) void
appendFilter
(LDAPFilter filter) Append a new filter to the existing set.(package private) Vector
<LDAPFilter> getFilters
(Pattern patTag, String matcherValue) Return a Vector of filters that match botht the tag pattern (in Perl5Pattern form), and the string strValue.(package private) boolean
Return true if this filter set matches the regular expression string that is passed in.(package private) void
newFilter
(LDAPFilter filter) Add a new filter to this filter set.toString()
Print out the String representation of this object.
-
Field Details
-
m_vLDAPIntFilterList
-
m_strTag
-
m_matcher
-
-
Constructor Details
-
LDAPIntFilterSet
Create an LDAPIntFilterSet with a given Tag string. The tag string specifies which applications or query types should use this filter set. It is normally a single token on a line by itself in the filter configuration file.For more information about the filter configuration file, see the man page for ldapfilter.conf.
-
-
Method Details
-
getFilters
Return a Vector of filters that match botht the tag pattern (in Perl5Pattern form), and the string strValue. This method should only be called by LDAPFilterDescriptor(). -
newFilter
Add a new filter to this filter set.- Throws:
BadFilterException
- If the regular expression pattern given in the first token is bad.
-
appendFilter
Append a new filter to the existing set. This happens when the LDAPFilterDescriptor object reads a line from the filter configuration file that has 2 or 3 tokens. -
match
Return true if this filter set matches the regular expression string that is passed in. -
toString
Print out the String representation of this object. It calls the toString() method of all the LDAPFilter objects contained within it's set.
-