Class LDAPIntFilterSet

java.lang.Object
netscape.ldap.util.LDAPIntFilterSet

public class LDAPIntFilterSet extends Object
Represents an LDAPIntFilterSet object. This is an internal object that should never be instantiated directly by the developer.
  • Field Details

  • Constructor Details

    • LDAPIntFilterSet

      public LDAPIntFilterSet(String strTag)
      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

      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. This method should only be called by LDAPFilterDescriptor().
    • newFilter

      void newFilter(LDAPFilter filter) throws BadFilterException
      Add a new filter to this filter set.
      Throws:
      BadFilterException - If the regular expression pattern given in the first token is bad.
    • appendFilter

      void appendFilter(LDAPFilter filter)
      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

      boolean match(String strTagPat)
      Return true if this filter set matches the regular expression string that is passed in.
    • toString

      public String toString()
      Print out the String representation of this object. It calls the toString() method of all the LDAPFilter objects contained within it's set.
      Overrides:
      toString in class Object
      See Also: