com.netscape.jndi.ldap
Class SearchResultEnum
java.lang.Object
com.netscape.jndi.ldap.BaseSearchEnum
com.netscape.jndi.ldap.SearchResultEnum
- All Implemented Interfaces:
- java.util.Enumeration, javax.naming.NamingEnumeration
- class SearchResultEnum
- extends BaseSearchEnum
A wrapper for the LDAPSeatchResults. Convert a LDAPSearchResults enumeration
of LDAPEntries into a JNDI NamingEnumeration of JNDI SearchResults.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_returnObjs
boolean m_returnObjs
m_userBinaryAttrs
java.lang.String[] m_userBinaryAttrs
m_res
LDAPSearchResults m_res
m_ctx
LdapContextImpl m_ctx
m_ctxName
javax.naming.Name m_ctxName
SearchResultEnum
public SearchResultEnum(LDAPSearchResults res,
boolean returnObjs,
LdapContextImpl ctx)
throws javax.naming.NamingException
next
public java.lang.Object next()
throws javax.naming.NamingException
- Throws:
javax.naming.NamingException
nextLDAPEntry
LDAPEntry nextLDAPEntry()
throws javax.naming.NamingException
- Throws:
javax.naming.NamingException
nextElement
public java.lang.Object nextElement()
- Specified by:
nextElement
in interface java.util.Enumeration
hasMore
public boolean hasMore()
throws javax.naming.NamingException
- Specified by:
hasMore
in interface javax.naming.NamingEnumeration
- Throws:
javax.naming.NamingException
hasMoreElements
public boolean hasMoreElements()
- Specified by:
hasMoreElements
in interface java.util.Enumeration
close
public void close()
throws javax.naming.NamingException
- Specified by:
close
in interface javax.naming.NamingEnumeration
- Throws:
javax.naming.NamingException