org.huihoo.jfox.jndi
Class NamingEnumerationImpl

java.lang.Object
  |
  +--org.huihoo.jfox.jndi.NamingEnumerationImpl
All Implemented Interfaces:
java.util.Enumeration, javax.naming.NamingEnumeration

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

Author:
Young Yang

Constructor Summary
NamingEnumerationImpl(java.util.List list)
           
 
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
 

Constructor Detail

NamingEnumerationImpl

public NamingEnumerationImpl(java.util.List list)
Method Detail

next

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

hasMoreElements

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

hasMore

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

nextElement

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

close

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