|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.novell.application.console.snapin.DefaultChildContainersObjectEntryEnumeration
Converts an ObjectEntry array, vector, or enumeration to an ObjectEntry Enumeration that can be returned from the getChildContainers() methods of the NamespaceSnapin interfaces. This enumeration filters out any ObjectEntry that is not a container so that only containers will appear in the tree.
ObjectEntryEnumeration
Field Summary | |
protected java.util.Enumeration |
enum
|
protected java.lang.Object |
lookAheadObject
|
Constructor Summary | |
DefaultChildContainersObjectEntryEnumeration(java.util.Enumeration list)
Creates a DefaultChildContainersObjectEntryEnumeration from an ObjectEntry enumeration. |
|
DefaultChildContainersObjectEntryEnumeration(ObjectEntry[] list)
Creates a DefaultChildContainersObjectEntryEnumeration from an ObjectEntry array. |
|
DefaultChildContainersObjectEntryEnumeration(java.util.Vector list)
Creates a DefaultChildContainersObjectEntryEnumeration from an ObjectEntry vector. |
Method Summary | |
boolean |
hasMoreElements()
Tests if this enumeration contains more elements. |
ObjectEntry |
next()
Returns the next ObjectEntry of the enumeration. |
java.lang.Object |
nextElement()
Returns the next element of this enumeration. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.util.Enumeration enum
protected java.lang.Object lookAheadObject
Constructor Detail |
public DefaultChildContainersObjectEntryEnumeration(java.util.Enumeration list)
list
- ObjectEntry enumeration from which to create the enumeration.public DefaultChildContainersObjectEntryEnumeration(ObjectEntry[] list)
list
- ObjectEntry array from which to crerate the enumeration.public DefaultChildContainersObjectEntryEnumeration(java.util.Vector list)
list
- ObjectEntry vector from which to create the enumeration.Method Detail |
public boolean hasMoreElements()
hasMoreElements
in interface java.util.Enumeration
true
if this enumeration contains more elements,
false
otherwise.public ObjectEntry next()
next
in interface ObjectEntryEnumeration
public java.lang.Object nextElement() throws java.util.NoSuchElementException
nextElement
in interface java.util.Enumeration
java.util.NoSuchElementException
- if no more elements exist.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |