com.netscape.jndi.ldap
Class AttributeEnum

java.lang.Object
  extended by 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)
           
 
Method Summary
 void close()
           
 boolean hasMore()
           
 boolean hasMoreElements()
           
 java.lang.Object next()
           
 java.lang.Object nextElement()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_attrEnum

java.util.Enumeration _attrEnum
Constructor Detail

AttributeEnum

public AttributeEnum(java.util.Enumeration attrEnum)
Method Detail

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