org.jnp.interfaces
Class NamingEnumerationImpl

java.lang.Object
  extended byorg.jnp.interfaces.NamingEnumerationImpl
All Implemented Interfaces:
java.util.Enumeration, javax.naming.NamingEnumeration

public class NamingEnumerationImpl
extends java.lang.Object
implements javax.naming.NamingEnumeration

A NamingEnumeration for the Context list/listBindings methods.


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
 

Method Detail

hasMoreElements

public boolean hasMoreElements()
Specified by:
hasMoreElements in interface java.util.Enumeration

nextElement

public java.lang.Object nextElement()
Specified by:
nextElement in interface java.util.Enumeration

hasMore

public boolean hasMore()
Specified by:
hasMore in interface javax.naming.NamingEnumeration

next

public java.lang.Object next()
Specified by:
next in interface javax.naming.NamingEnumeration

close

public void close()
Specified by:
close in interface javax.naming.NamingEnumeration