org.smallmind.cloud.namespace.java
Class JavaNamingEnumeration<T>

java.lang.Object
  extended by org.smallmind.cloud.namespace.java.JavaNamingEnumeration<T>
All Implemented Interfaces:
Enumeration<T>, NamingEnumeration<T>

public class JavaNamingEnumeration<T>
extends Object
implements NamingEnumeration<T>


Constructor Summary
JavaNamingEnumeration(Class<T> typeClass, NamingEnumeration<T> internalEnumeration, Class internalDirContextClass, Hashtable<String,Object> environment, NameTranslator nameTranslator, JavaNameParser nameParser, boolean modifiable)
           
 
Method Summary
 void close()
           
 boolean hasMore()
           
 boolean hasMoreElements()
           
 T next()
           
 T nextElement()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaNamingEnumeration

public JavaNamingEnumeration(Class<T> typeClass,
                             NamingEnumeration<T> internalEnumeration,
                             Class internalDirContextClass,
                             Hashtable<String,Object> environment,
                             NameTranslator nameTranslator,
                             JavaNameParser nameParser,
                             boolean modifiable)
Method Detail

hasMoreElements

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

nextElement

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

next

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

hasMore

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

close

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


Copyright © 2011. All Rights Reserved.