Class JavaNamingEnumeration<T>
- java.lang.Object
-
- org.smallmind.quorum.namespace.java.JavaNamingEnumeration<T>
-
- All Implemented Interfaces:
Enumeration<T>,NamingEnumeration<T>
public class JavaNamingEnumeration<T> extends Object implements NamingEnumeration<T>
-
-
Constructor Summary
Constructors Constructor Description JavaNamingEnumeration(Class<T> typeClass, NamingEnumeration<T> internalEnumeration, Class internalDirContextClass, Hashtable<String,Object> environment, NameTranslator nameTranslator, JavaNameParser nameParser, boolean modifiable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()booleanhasMore()booleanhasMoreElements()Tnext()TnextElement()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Enumeration
asIterator
-
-
-
-
Constructor Detail
-
JavaNamingEnumeration
public JavaNamingEnumeration(Class<T> typeClass, NamingEnumeration<T> internalEnumeration, Class internalDirContextClass, Hashtable<String,Object> environment, NameTranslator nameTranslator, JavaNameParser nameParser, boolean modifiable)
-
-
Method Detail
-
hasMoreElements
public boolean hasMoreElements()
- Specified by:
hasMoreElementsin interfaceEnumeration<T>
-
nextElement
public T nextElement()
- Specified by:
nextElementin interfaceEnumeration<T>
-
next
public T next() throws NamingException
- Specified by:
nextin interfaceNamingEnumeration<T>- Throws:
NamingException
-
hasMore
public boolean hasMore() throws NamingException- Specified by:
hasMorein interfaceNamingEnumeration<T>- Throws:
NamingException
-
close
public void close() throws NamingException- Specified by:
closein interfaceNamingEnumeration<T>- Throws:
NamingException
-
-