|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.novell.application.console.snapin.DefaultObjectEntryEnumeration
Converts an array, vector or enumeration of ObjectEntrys to an ObjectEntryEnumeration that can be returned from the getChildren() and getChildContainer() methods of the NamespaceSnapin interface.
This class is a convenience helper class in creating ObjectEntryEnumerations.
ObjectEntryEnumeration
Constructor Summary | |
DefaultObjectEntryEnumeration()
Creates an empty DefaultObjectEntryEnumeration. |
|
DefaultObjectEntryEnumeration(java.util.Enumeration list)
Create a DefaultObjectEntryEnumeration from an Enumeration of ObjectEntrys. |
|
DefaultObjectEntryEnumeration(ObjectEntry entry)
This is a convenience constructor for creating an ObjectEntryEnumeration with a single entry. |
|
DefaultObjectEntryEnumeration(ObjectEntry[] list)
Creates a DefaultObjectEntryEnumeration from an array of ObjectEntrys. |
|
DefaultObjectEntryEnumeration(java.util.Vector list)
Creates a DefaultObjectEntryEnumeration from a Vector of ObjectEntrys. |
Method Summary | |
int |
getCount()
Return the number of ObjectEntries in the Enumeration. |
int |
getCountReliability()
Returns an integer which is a representation of the reliability of the count of objects in this enumeration. |
boolean |
hasMoreElements()
Returns a boolean determining if there are more children in the enumeration. |
ObjectEntry |
next()
Return the next child as an ObjectEntry. |
java.lang.Object |
nextElement()
Return the next child as an Object (must still be an ObjectEntry). |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public DefaultObjectEntryEnumeration()
public DefaultObjectEntryEnumeration(ObjectEntry entry)
entry
- ObjectEntry from which to create a simple
enumeration.public DefaultObjectEntryEnumeration(ObjectEntry[] list)
list
- ObjectEntry array from which to create a simple
enumeration.public DefaultObjectEntryEnumeration(java.util.Vector list)
list
- ObjectEntry vector from which to create a simple
enumeration.public DefaultObjectEntryEnumeration(java.util.Enumeration list)
list
- ObjectEntry enumeration from which to create a simple
enumeration.Method Detail |
public boolean hasMoreElements()
public java.lang.Object nextElement()
public ObjectEntry next() throws java.util.NoSuchElementException
public int getCount()
public int getCountReliability()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |