public class NamingContextBindingsEnumeration extends Object implements NamingEnumeration<Binding>
Modifier and Type | Field and Description |
---|---|
protected Iterator<NamingEntry> |
iterator
Underlying 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>
NamingException
public boolean hasMore() throws NamingException
hasMore
in interface NamingEnumeration<Binding>
NamingException
public void close() throws NamingException
close
in interface NamingEnumeration<Binding>
NamingException
public boolean hasMoreElements()
hasMoreElements
in interface Enumeration<Binding>
public Binding nextElement()
nextElement
in interface Enumeration<Binding>
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.