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