org.apache.directory.shared.ldap.message
Class IteratorNamingEnumeration

java.lang.Object
  extended byorg.apache.directory.shared.ldap.message.IteratorNamingEnumeration
All Implemented Interfaces:
java.util.Enumeration, javax.naming.NamingEnumeration

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

A NamingEnumeration over an Iterator.

Version:
$Revision: 379008 $
Author:
Alex Karasulu, Jeff Machols, $Author: akarasulu $

Constructor Summary
IteratorNamingEnumeration(java.util.Iterator a_iterator)
          Creates a NamingEnumeration over an Iterator.
 
Method Summary
 void close()
           
 boolean hasMore()
           
 boolean hasMoreElements()
           
 java.lang.Object next()
           
 java.lang.Object nextElement()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IteratorNamingEnumeration

public IteratorNamingEnumeration(java.util.Iterator a_iterator)
Creates a NamingEnumeration over an Iterator.

Parameters:
a_iterator - the Iterator the NamingEnumeration is based on.
Method Detail

hasMoreElements

public boolean hasMoreElements()
Specified by:
hasMoreElements in interface java.util.Enumeration
See Also:
Enumeration.hasMoreElements()

nextElement

public java.lang.Object nextElement()
Specified by:
nextElement in interface java.util.Enumeration
See Also:
Enumeration.nextElement()

close

public void close()
Specified by:
close in interface javax.naming.NamingEnumeration
See Also:
NamingEnumeration.close()

hasMore

public boolean hasMore()
Specified by:
hasMore in interface javax.naming.NamingEnumeration
See Also:
NamingEnumeration.hasMore()

next

public java.lang.Object next()
Specified by:
next in interface javax.naming.NamingEnumeration
See Also:
NamingEnumeration.next()


Copyright © 2003-2006 . All Rights Reserved.