public class NamingContextEnumeration extends Object implements NamingEnumeration<NameClassPair>
| Modifier and Type | Field and Description |
|---|---|
protected Iterator<NamingEntry> |
iterator
Underlying enumeration.
|
| Constructor and Description |
|---|
NamingContextEnumeration(Iterator<NamingEntry> entries) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes this enumeration.
|
boolean |
hasMore()
Determines whether there are any more elements in the enumeration.
|
boolean |
hasMoreElements() |
NameClassPair |
next()
Retrieves the next element in the enumeration.
|
NameClassPair |
nextElement() |
protected Iterator<NamingEntry> iterator
public NamingContextEnumeration(Iterator<NamingEntry> entries)
public NameClassPair next() throws NamingException
next in interface NamingEnumeration<NameClassPair>NamingExceptionpublic boolean hasMore()
throws NamingException
hasMore in interface NamingEnumeration<NameClassPair>NamingExceptionpublic void close()
throws NamingException
close in interface NamingEnumeration<NameClassPair>NamingExceptionpublic boolean hasMoreElements()
hasMoreElements in interface Enumeration<NameClassPair>public NameClassPair nextElement()
nextElement in interface Enumeration<NameClassPair>Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.