netscape.ldap.util
Class LDAPIntFilterList

java.lang.Object
  extended bynetscape.ldap.util.LDAPIntFilterList

public class LDAPIntFilterList
extends java.lang.Object

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.


Constructor Summary
(package private) LDAPIntFilterList(LDAPFilter filter)
           
 
Method Summary
(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(org.apache.oro.text.regex.PatternMatcherInput matcherValue)
          Try to match the filter to the given string.
(package private)  int numFilters()
          Return the number of Filters this InternalFilterList contains.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LDAPIntFilterList

LDAPIntFilterList(LDAPFilter filter)
            throws BadFilterException
Method Detail

AddFilter

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

public java.lang.String toString()

getFilter

LDAPFilter getFilter(int nFilter)
Return the requested filter.


MatchFilter

boolean MatchFilter(org.apache.oro.text.regex.PatternMatcherInput matcherValue)
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).