org.shiftone.ooc.provider
Class NamingEnumerationImpl

java.lang.Object
  extended byorg.shiftone.ooc.provider.NamingEnumerationImpl
All Implemented Interfaces:
java.util.Enumeration, javax.naming.NamingEnumeration

public class NamingEnumerationImpl
extends java.lang.Object
implements javax.naming.NamingEnumeration

Version:
$Revision: 1.3 $
Author:
Jeff Drost

Constructor Summary
NamingEnumerationImpl(java.util.Collection values, boolean resolveBinding)
          Constructor NamingEnumerationImpl
 
Method Summary
protected  void assertOpen()
          Method assertOpen
 void close()
          Method close
 boolean hasMore()
          Method hasMore
 boolean hasMoreElements()
          Method hasMoreElements
 java.lang.Object next()
          Method next
 java.lang.Object nextElement()
          Method nextElement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NamingEnumerationImpl

public NamingEnumerationImpl(java.util.Collection values,
                             boolean resolveBinding)
Constructor NamingEnumerationImpl

Parameters:
values -
resolveBinding -
Method Detail

close

public void close()
           throws javax.naming.NamingException
Method close

Specified by:
close in interface javax.naming.NamingEnumeration
Throws:
javax.naming.NamingException

assertOpen

protected void assertOpen()
                   throws javax.naming.NamingException
Method assertOpen

Throws:
javax.naming.NamingException

hasMore

public boolean hasMore()
                throws javax.naming.NamingException
Method hasMore

Specified by:
hasMore in interface javax.naming.NamingEnumeration
Throws:
javax.naming.NamingException

next

public java.lang.Object next()
                      throws javax.naming.NamingException
Method next

Specified by:
next in interface javax.naming.NamingEnumeration
Throws:
javax.naming.NamingException

hasMoreElements

public boolean hasMoreElements()
Method hasMoreElements

Specified by:
hasMoreElements in interface java.util.Enumeration

nextElement

public java.lang.Object nextElement()
Method nextElement

Specified by:
nextElement in interface java.util.Enumeration