org.eclipse.jetty.jndi
Class NamingContext.NameEnumeration

java.lang.Object
  extended by org.eclipse.jetty.jndi.NamingContext.NameEnumeration
All Implemented Interfaces:
Enumeration<NameClassPair>, NamingEnumeration<NameClassPair>
Enclosing class:
NamingContext

public class NamingContext.NameEnumeration
extends Object
implements NamingEnumeration<NameClassPair>

NameEnumeration

Implementation of NamingEnumeration interface.

Notes

Used for returning results of Context.list();

Usage


Constructor Summary
NamingContext.NameEnumeration(Iterator<Binding> e)
           
 
Method Summary
 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
 

Constructor Detail

NamingContext.NameEnumeration

public NamingContext.NameEnumeration(Iterator<Binding> e)
Method Detail

close

public void close()
           throws NamingException
Specified by:
close in interface NamingEnumeration<NameClassPair>
Throws:
NamingException

hasMore

public boolean hasMore()
                throws NamingException
Specified by:
hasMore in interface NamingEnumeration<NameClassPair>
Throws:
NamingException

next

public NameClassPair next()
                   throws NamingException
Specified by:
next in interface NamingEnumeration<NameClassPair>
Throws:
NamingException

hasMoreElements

public boolean hasMoreElements()
Specified by:
hasMoreElements in interface Enumeration<NameClassPair>

nextElement

public NameClassPair nextElement()
Specified by:
nextElement in interface Enumeration<NameClassPair>


Copyright © 1995-2011 Mort Bay Consulting. All Rights Reserved.