public class NameEnumeration extends Object implements NamingEnumeration<NameClassPair>
Implementation of NamingEnumeration interface.
Used for returning results of Context.list();
| Constructor and Description |
|---|
NameEnumeration(Iterator<Binding> e) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
hasMore() |
boolean |
hasMoreElements() |
NameClassPair |
next() |
NameClassPair |
nextElement() |
public void close()
throws NamingException
close in interface NamingEnumeration<NameClassPair>NamingExceptionpublic boolean hasMore()
throws NamingException
hasMore in interface NamingEnumeration<NameClassPair>NamingExceptionpublic NameClassPair next() throws NamingException
next in interface NamingEnumeration<NameClassPair>NamingExceptionpublic boolean hasMoreElements()
hasMoreElements in interface Enumeration<NameClassPair>public NameClassPair nextElement()
nextElement in interface Enumeration<NameClassPair>Copyright © 1995-2015 Mort Bay Consulting. All Rights Reserved.