public class NamingContext.NameEnumeration extends Object implements NamingEnumeration
Implementation of NamingEnumeration interface.
Used for returning results of Context.list();
| Constructor and Description |
|---|
NameEnumeration(Enumeration e) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
hasMore() |
boolean |
hasMoreElements() |
Object |
next() |
Object |
nextElement() |
public NameEnumeration(Enumeration e)
public void close()
throws NamingException
close in interface NamingEnumerationNamingExceptionpublic boolean hasMore()
throws NamingException
hasMore in interface NamingEnumerationNamingExceptionpublic Object next() throws NamingException
next in interface NamingEnumerationNamingExceptionpublic boolean hasMoreElements()
hasMoreElements in interface Enumerationpublic Object nextElement()
nextElement in interface EnumerationCopyright © 2009 Mortbay Consulting Pty. Ltd. All Rights Reserved.