private abstract static class SimpleNamingContext.AbstractNamingEnumeration<T>
extends java.lang.Object
implements javax.naming.NamingEnumeration<T>
Modifier | Constructor and Description |
---|---|
private |
AbstractNamingEnumeration(SimpleNamingContext context,
java.lang.String proot) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected abstract T |
createObject(java.lang.String strippedName,
java.lang.Object obj) |
boolean |
hasMore() |
boolean |
hasMoreElements() |
T |
next() |
T |
nextElement() |
private java.util.Iterator<T> iterator
private AbstractNamingEnumeration(SimpleNamingContext context, java.lang.String proot) throws javax.naming.NamingException
javax.naming.NamingException
protected abstract T createObject(java.lang.String strippedName, java.lang.Object obj)
public boolean hasMore()
hasMore
in interface javax.naming.NamingEnumeration<T>
public boolean hasMoreElements()
hasMoreElements
in interface java.util.Enumeration<T>
public void close()
close
in interface javax.naming.NamingEnumeration<T>