Package org.eclipse.jetty.jndi
Class NameEnumeration
- java.lang.Object
-
- org.eclipse.jetty.jndi.NameEnumeration
-
- All Implemented Interfaces:
Enumeration<NameClassPair>
,NamingEnumeration<NameClassPair>
public class NameEnumeration extends Object implements NamingEnumeration<NameClassPair>
NameEnumeration
-
-
Constructor Summary
Constructors Constructor Description NameEnumeration(Iterator<Binding> e)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
boolean
hasMore()
boolean
hasMoreElements()
NameClassPair
next()
NameClassPair
nextElement()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Enumeration
asIterator
-
-
-
-
Method Detail
-
close
public void close() throws NamingException
- Specified by:
close
in interfaceNamingEnumeration<NameClassPair>
- Throws:
NamingException
-
hasMore
public boolean hasMore() throws NamingException
- Specified by:
hasMore
in interfaceNamingEnumeration<NameClassPair>
- Throws:
NamingException
-
next
public NameClassPair next() throws NamingException
- Specified by:
next
in interfaceNamingEnumeration<NameClassPair>
- Throws:
NamingException
-
hasMoreElements
public boolean hasMoreElements()
- Specified by:
hasMoreElements
in interfaceEnumeration<NameClassPair>
-
nextElement
public NameClassPair nextElement()
- Specified by:
nextElement
in interfaceEnumeration<NameClassPair>
-
-