com.netscape.jndi.ldap
Class AttributeEnum
java.lang.Object
com.netscape.jndi.ldap.AttributeEnum
- All Implemented Interfaces:
- java.util.Enumeration, javax.naming.NamingEnumeration
- class AttributeEnum
- extends java.lang.Object
- implements javax.naming.NamingEnumeration
Wrapper for enumeration of LDAPAttrubute-s. Convert each LDAPAttribute
into a JNDI Attribute accessed through the NamingEnumeration
Field Summary |
(package private) java.util.Enumeration |
_attrEnum
|
Constructor Summary |
AttributeEnum(java.util.Enumeration attrEnum)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_attrEnum
java.util.Enumeration _attrEnum
AttributeEnum
public AttributeEnum(java.util.Enumeration attrEnum)
next
public java.lang.Object next()
throws javax.naming.NamingException
- Specified by:
next
in interface javax.naming.NamingEnumeration
- 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()
- Specified by:
close
in interface javax.naming.NamingEnumeration