com.novell.application.console.snapin
Class AutoPromoteObjectEntryEnumeration

java.lang.Object
  |
  +--com.novell.application.console.snapin.AutoPromoteObjectEntryEnumeration
All Implemented Interfaces:
java.util.Enumeration, ObjectEntryEnumeration

public class AutoPromoteObjectEntryEnumeration
extends java.lang.Object
implements ObjectEntryEnumeration

Creates an enumeration of ObjectEntry objects that are containers, that have a view registered to them, or that have been federated.

A NamespaceSnapin object can use AutoPromoteObjectEntryEnumeration to easily create an enumeration to return from its getChildContainers method.

See Also:
NamespaceSnapin, ObjectEntry

Constructor Summary
AutoPromoteObjectEntryEnumeration(java.util.Enumeration list)
          Creates an AutoPromoteObjectEntryEnumeration from an ObjectEntry enumeration.
AutoPromoteObjectEntryEnumeration(ObjectEntry[] list)
          Creates an AutoPromoteObjectEntryEnumeration from an ObjectEntry array.
AutoPromoteObjectEntryEnumeration(java.util.Vector list)
          Creates an AutoPromoteObjectEntryEnumeration from an ObjectEntry vector.
 
Method Summary
 boolean hasMoreElements()
          Determines whether the enumeration contains more elements.
 ObjectEntry next()
          Returns the next ObjectEntry of the enumeration.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AutoPromoteObjectEntryEnumeration

public AutoPromoteObjectEntryEnumeration(ObjectEntry[] list)
Creates an AutoPromoteObjectEntryEnumeration from an ObjectEntry array.
Parameters:
list - ObjectEntry array from which the enumeration is created.
See Also:
ObjectEntry

AutoPromoteObjectEntryEnumeration

public AutoPromoteObjectEntryEnumeration(java.util.Vector list)
Creates an AutoPromoteObjectEntryEnumeration from an ObjectEntry vector.
Parameters:
list - ObjectEntry vector from which the enumeration is created.
See Also:
ObjectEntry

AutoPromoteObjectEntryEnumeration

public AutoPromoteObjectEntryEnumeration(java.util.Enumeration list)
Creates an AutoPromoteObjectEntryEnumeration from an ObjectEntry enumeration.
Parameters:
list - ObjectEntry enumeration from which the enumeration is created.
See Also:
ObjectEntry
Method Detail

hasMoreElements

public boolean hasMoreElements()
Determines whether the enumeration contains more elements.
Returns:
True if the enumeration contains more elements, false otherwise.

next

public ObjectEntry next()
                 throws java.util.NoSuchElementException
Returns the next ObjectEntry of the enumeration.
Specified by:
next in interface ObjectEntryEnumeration
Returns:
The next ObjectEntry of the enumeration.
Throws:
java.util.NoSuchElementException - if no more elements exist.
See Also:
ObjectEntry


API Documentation Copyright © 1998-2003 Novell, Inc. All rights reserved.
ConsoleOne is a registered trademark of Novell Inc.
Generated December 9 2003 1727.