com.netscape.jndi.ldap
Class AttributeIDEnum

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

 class AttributeIDEnum
extends java.lang.Object
implements javax.naming.NamingEnumeration

Wrapper for enumeration of LDAPAttrubute-s. Return the name for each LDAPAttribute accessed through the NamingEnumeration


Field Summary
(package private)  java.util.Enumeration _attrEnum
           
 
Constructor Summary
AttributeIDEnum(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

AttributeIDEnum

public AttributeIDEnum(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