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