All LDAP Classes
Internal LDAP Classes

com.novell.ldap.rfc2251
Class RfcFilter.FilterIterator

java.lang.Object
  extended by com.novell.ldap.rfc2251.RfcFilter.FilterIterator
All Implemented Interfaces:
java.util.Iterator
Enclosing class:
RfcFilter

private class RfcFilter.FilterIterator
extends java.lang.Object
implements java.util.Iterator

This inner class wrappers the Search Filter with an iterator. This iterator will give access to all the individual components preparsed. The first call to next will return an Integer identifying the type of filter component. Then the component values will be returned AND, NOT, and OR components values will be returned as Iterators.


Field Summary
private  boolean hasMore
           
(package private)  int index
          indexes the several parts a component may have
(package private)  ASN1Tagged root
           
(package private)  boolean tagReturned
          indicates if the identifier for a component has been returned yet
 
Constructor Summary
RfcFilter.FilterIterator(ASN1Tagged root)
           
 
Method Summary
 boolean hasNext()
           
 java.lang.Object next()
          Returns filter identifiers and components of a filter.
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

root

ASN1Tagged root

tagReturned

boolean tagReturned
indicates if the identifier for a component has been returned yet


index

int index
indexes the several parts a component may have


hasMore

private boolean hasMore
Constructor Detail

RfcFilter.FilterIterator

public RfcFilter.FilterIterator(ASN1Tagged root)
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface java.util.Iterator

next

public java.lang.Object next()
Returns filter identifiers and components of a filter. The first object returned is an Integer identifying its type.

Specified by:
next in interface java.util.Iterator

remove

public void remove()
Specified by:
remove in interface java.util.Iterator

All LDAP Classes
Internal LDAP Classes

Copyright ? 2002 Novell, Inc. All Rights Reserved.
Novell, Inc.
1800 South Novell Place
Provo, Ut 84606
Phone: (801) 861-5000