com.netscape.jndi.ldap
Class BindingEnum

java.lang.Object
  extended by com.netscape.jndi.ldap.BaseSearchEnum
      extended by com.netscape.jndi.ldap.BindingEnum
All Implemented Interfaces:
java.util.Enumeration, javax.naming.NamingEnumeration

 class BindingEnum
extends BaseSearchEnum

Wrapper for the LDAPSearchResult. Convert each LDAPEntry entry into a JNDI Binding. Bindings are accessed through the NamingEnumeration interface


Field Summary
 
Fields inherited from class com.netscape.jndi.ldap.BaseSearchEnum
m_ctx, m_ctxName, m_res
 
Constructor Summary
BindingEnum(LDAPSearchResults res, LdapContextImpl ctx)
           
 
Method Summary
 java.lang.Object next()
           
 
Methods inherited from class com.netscape.jndi.ldap.BaseSearchEnum
close, hasMore, hasMoreElements, nextElement, nextLDAPEntry
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BindingEnum

public BindingEnum(LDAPSearchResults res,
                   LdapContextImpl ctx)
            throws javax.naming.NamingException
Throws:
javax.naming.NamingException
Method Detail

next

public java.lang.Object next()
                      throws javax.naming.NamingException
Throws:
javax.naming.NamingException