aicas logo Jamaica 3.4 release 8

com.sun.jndi.toolkit.dir
Class LazySearchEnumerationImpl

java.lang.Object
  extended by com.sun.jndi.toolkit.dir.LazySearchEnumerationImpl
All Implemented Interfaces:
Enumeration, NamingEnumeration

public final class LazySearchEnumerationImpl
extends Object
implements NamingEnumeration


Constructor Summary
LazySearchEnumerationImpl(NamingEnumeration candidates, AttrFilter filter, SearchControls cons)
           
LazySearchEnumerationImpl(NamingEnumeration candidates, AttrFilter filter, SearchControls cons, Context ctx, Hashtable env)
           
LazySearchEnumerationImpl(NamingEnumeration candidates, AttrFilter filter, SearchControls cons, Context ctx, Hashtable env, boolean useFactory)
           
 
Method Summary
 void close()
           
 boolean hasMore()
           
 boolean hasMoreElements()
          Tests whether there are elements remaining in the enumeration.
 Object next()
           
 Object nextElement()
          Obtain the next element in the enumeration.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LazySearchEnumerationImpl

public LazySearchEnumerationImpl(NamingEnumeration candidates,
                                 AttrFilter filter,
                                 SearchControls cons)
                          throws NamingException
Throws:
NamingException

LazySearchEnumerationImpl

public LazySearchEnumerationImpl(NamingEnumeration candidates,
                                 AttrFilter filter,
                                 SearchControls cons,
                                 Context ctx,
                                 Hashtable env,
                                 boolean useFactory)
                          throws NamingException
Throws:
NamingException

LazySearchEnumerationImpl

public LazySearchEnumerationImpl(NamingEnumeration candidates,
                                 AttrFilter filter,
                                 SearchControls cons,
                                 Context ctx,
                                 Hashtable env)
                          throws NamingException
Throws:
NamingException
Method Detail

hasMore

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

hasMoreElements

public boolean hasMoreElements()
Description copied from interface: Enumeration
Tests whether there are elements remaining in the enumeration.

Specified by:
hasMoreElements in interface Enumeration
Returns:
true if there is at least one more element in the enumeration, that is, if the next call to nextElement will not throw a NoSuchElementException.

nextElement

public Object nextElement()
Description copied from interface: Enumeration
Obtain the next element in the enumeration.

Specified by:
nextElement in interface Enumeration
Returns:
the next element in the enumeration

next

public Object next()
            throws NamingException
Specified by:
next in interface NamingEnumeration
Throws:
NamingException

close

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

aicas logo Jamaica 3.4 release 8

aicas GmbH, Karlsruhe - Germany    www.aicas.com
Copyright 2001-2009 aicas GmbH. All Rights Reserved.