netscape.ldap.util
Class LDAPFilterList
java.lang.Object
netscape.ldap.util.LDAPFilterList
- Enumeration
public class LDAPFilterList
extends java.lang.Object
implements Enumeration
The list of LDAPFilter objects returned from a LDAPFilterDescriptor
Object. Note that this is an enumeration, so if multiple iterations
are needed, save the results.
boolean | hasMoreElements() - Returns true if there are any LDAPFilter objects to returned.
|
LDAPFilter | next() - Returns the next LDAPFilter
|
Object | nextElement() - Returns the next LDAPFilter as an Object.
|
int | numFilters() - Return the number of filters in the filter list.
|
LDAPFilterList
public LDAPFilterList()
Constructs an LDAPFilterList object. This methos shouldn't need to
be called by the developer directly. Construction of the
LDAPFilterList object should take place when the Prepare function
of LDAPFilterDescriptor is called.
hasMoreElements
public boolean hasMoreElements()
Returns true if there are any LDAPFilter objects to returned.
next
public LDAPFilter next()
Returns the next LDAPFilter
nextElement
public Object nextElement()
Returns the next LDAPFilter as an Object. Note: the preferred way
to return the next LDAPFilter is to call next()
- The next LDAPFilter object (as an instance of Object)
numFilters
public int numFilters()
Return the number of filters in the filter list.
Note that this number decreases every time next() or nextElement() is
called because the elements are removed as they're returned.