public class NamingContextBindingsEnumeration extends Object implements NamingEnumeration<Binding>
| Modifier and Type | Field and Description | 
|---|---|
| protected Iterator<NamingEntry> | iteratorUnderlying enumeration. | 
| Constructor and Description | 
|---|
| NamingContextBindingsEnumeration(Iterator<NamingEntry> entries,
                                Context ctx) | 
| 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() | 
| Binding | next()Retrieves the next element in the enumeration. | 
| Binding | nextElement() | 
protected Iterator<NamingEntry> iterator
public NamingContextBindingsEnumeration(Iterator<NamingEntry> entries, Context ctx)
public Binding next() throws NamingException
next in interface NamingEnumeration<Binding>NamingExceptionpublic boolean hasMore()
                throws NamingException
hasMore in interface NamingEnumeration<Binding>NamingExceptionpublic void close()
           throws NamingException
close in interface NamingEnumeration<Binding>NamingExceptionpublic boolean hasMoreElements()
hasMoreElements in interface Enumeration<Binding>public Binding nextElement()
nextElement in interface Enumeration<Binding>Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.