org.ldaptive.provider.netscape
Class NetscapeConnection.NetscapeSearchIterator

java.lang.Object
  extended by org.ldaptive.provider.netscape.NetscapeConnection.AbstractNetscapeSearch
      extended by org.ldaptive.provider.netscape.NetscapeConnection.NetscapeSearchIterator
All Implemented Interfaces:
org.ldaptive.provider.SearchIterator
Enclosing class:
NetscapeConnection

protected class NetscapeConnection.NetscapeSearchIterator
extends NetscapeConnection.AbstractNetscapeSearch
implements org.ldaptive.provider.SearchIterator

Search iterator for netscape search results.


Field Summary
 
Fields inherited from class org.ldaptive.provider.netscape.NetscapeConnection.AbstractNetscapeSearch
request, util
 
Constructor Summary
NetscapeConnection.NetscapeSearchIterator(org.ldaptive.SearchRequest sr)
          Creates a new netscape search iterator.
 
Method Summary
 void close()
          
 org.ldaptive.Response<Void> getResponse()
          
 boolean hasNext()
          
 void initialize()
          Initializes this netscape search iterator.
 org.ldaptive.provider.SearchItem next()
          
 
Methods inherited from class org.ldaptive.provider.netscape.NetscapeConnection.AbstractNetscapeSearch
getDereference, getLDAPSearchConstraints, getSearchScope, ignoreSearchException, processLDAPSearchResult, processLDAPSearchResultReference, search
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NetscapeConnection.NetscapeSearchIterator

public NetscapeConnection.NetscapeSearchIterator(org.ldaptive.SearchRequest sr)
Creates a new netscape search iterator.

Parameters:
sr - search request
Method Detail

initialize

public void initialize()
                throws org.ldaptive.LdapException
Initializes this netscape search iterator.

Throws:
org.ldaptive.LdapException - if an error occurs

hasNext

public boolean hasNext()
                throws org.ldaptive.LdapException

Specified by:
hasNext in interface org.ldaptive.provider.SearchIterator
Throws:
org.ldaptive.LdapException

next

public org.ldaptive.provider.SearchItem next()
                                      throws org.ldaptive.LdapException

Specified by:
next in interface org.ldaptive.provider.SearchIterator
Throws:
org.ldaptive.LdapException

getResponse

public org.ldaptive.Response<Void> getResponse()

Specified by:
getResponse in interface org.ldaptive.provider.SearchIterator

close

public void close()
           throws org.ldaptive.LdapException

Specified by:
close in interface org.ldaptive.provider.SearchIterator
Throws:
org.ldaptive.LdapException


Copyright © 2003-2017 Virginia Tech. All Rights Reserved.