protected class CompNamingContext.ListOfNames
extends java.lang.Object
implements javax.naming.NamingEnumeration
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes this enumeration.
|
protected java.util.Hashtable |
getBindings() |
protected java.util.Enumeration |
getNames() |
boolean |
hasMore()
Determines whether there are any more elements in the enumeration.
|
boolean |
hasMoreElements()
Tests if this enumeration contains more elements.
|
java.lang.Object |
next()
Retrieves the next element in the enumeration.
|
java.lang.Object |
nextElement()
Returns the next element of this enumeration if this enumeration
object has at least one more element to provide.
|
public boolean hasMore() throws javax.naming.NamingException
hasMore
in interface javax.naming.NamingEnumeration
javax.naming.NamingException
- If a naming exception is encountered while
attempting to determine whether there is another element in
the enumeration.public java.lang.Object next() throws javax.naming.NamingException
next
in interface javax.naming.NamingEnumeration
javax.naming.NamingException
- If a naming exception is encountered while
attempting to retrieve the next element. See NamingException
and its subclasses for the possible naming exceptions.public void close()
close
in interface javax.naming.NamingEnumeration
public java.lang.Object nextElement()
nextElement
in interface java.util.Enumeration
public boolean hasMoreElements()
hasMoreElements
in interface java.util.Enumeration
true
if and only if this enumeration object
contains at least one more element to provide;
false
otherwise.protected java.util.Hashtable getBindings()
protected java.util.Enumeration getNames()