|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.objectweb.carol.jndi.spi.AbsContext.WrappedEnumeration
This class is used to return a naming enumeration by decoding encoded names
| Method Summary | |
void |
close()
Closes this enumeration. |
boolean |
hasMore()
Determines whether there are any more elements in the enumeration. |
boolean |
hasMoreElements()
Tests if this enumeration contains more elements. |
java.lang.Object |
next()
Retrieves the next element in the enumeration. |
java.lang.Object |
nextElement()
Returns the next element of this enumeration if this enumeration object has at least one more element to provide. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public boolean hasMoreElements()
hasMoreElements in interface java.util.Enumerationtrue if and only if this enumeration object
contains at least one more element to provide;
false otherwise.
public boolean hasMore()
throws javax.naming.NamingException
hasMore in interface javax.naming.NamingEnumerationjavax.naming.NamingException - If a naming exception is encountered while
attempting to determine whether there is another element in
the enumeration.public java.lang.Object nextElement()
nextElement in interface java.util.Enumerationpublic java.lang.Object next()
next in interface javax.naming.NamingEnumerationEnumeration.nextElement()
public void close()
throws javax.naming.NamingException
close in interface javax.naming.NamingEnumerationjavax.naming.NamingException - If a naming exception is encountered while
closing the enumeration.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||