Package org.eclipse.jetty.jndi
Class NameEnumeration
- java.lang.Object
-
- org.eclipse.jetty.jndi.NameEnumeration
-
- All Implemented Interfaces:
java.util.Enumeration<javax.naming.NameClassPair>
,javax.naming.NamingEnumeration<javax.naming.NameClassPair>
public class NameEnumeration extends java.lang.Object implements javax.naming.NamingEnumeration<javax.naming.NameClassPair>
NameEnumeration
-
-
Constructor Summary
Constructors Constructor Description NameEnumeration(java.util.Iterator<javax.naming.Binding> e)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
boolean
hasMore()
boolean
hasMoreElements()
javax.naming.NameClassPair
next()
javax.naming.NameClassPair
nextElement()
-
-
-
Method Detail
-
close
public void close() throws javax.naming.NamingException
- Specified by:
close
in interfacejavax.naming.NamingEnumeration<javax.naming.NameClassPair>
- Throws:
javax.naming.NamingException
-
hasMore
public boolean hasMore() throws javax.naming.NamingException
- Specified by:
hasMore
in interfacejavax.naming.NamingEnumeration<javax.naming.NameClassPair>
- Throws:
javax.naming.NamingException
-
next
public javax.naming.NameClassPair next() throws javax.naming.NamingException
- Specified by:
next
in interfacejavax.naming.NamingEnumeration<javax.naming.NameClassPair>
- Throws:
javax.naming.NamingException
-
hasMoreElements
public boolean hasMoreElements()
- Specified by:
hasMoreElements
in interfacejava.util.Enumeration<javax.naming.NameClassPair>
-
nextElement
public javax.naming.NameClassPair nextElement()
- Specified by:
nextElement
in interfacejava.util.Enumeration<javax.naming.NameClassPair>
-
-