AdventNet Web NMS 4 API Specification

com.adventnet.management.config.xml
Class Enum

java.lang.Object
  |
  +--com.adventnet.management.config.xml.BaseElement
        |
        +--com.adventnet.management.config.xml.Enum
All Implemented Interfaces:
java.io.Serializable

public class Enum
extends BaseElement

The Enum class qualifies user inputs in the template.

See Also:
UserInput, Qualifier, Serialized Form

Fields inherited from class com.adventnet.management.config.xml.BaseElement
element, isServer
 
Constructor Summary
Enum()
          This constructor constructs a new Enum xml to which you can use setAttribute or setProperties to add parameters.
Enum(org.w3c.dom.Element element)
          Creates a new Enum object that qualifies user inputs.
 
Method Summary
 java.lang.String getName()
          Returns name of this Enum object.
 java.lang.String getValue()
          Returns value of this Enum object.
 
Methods inherited from class com.adventnet.management.config.xml.BaseElement
addSubTag, getAttribute, getElement, getProperties, getSubTagsByName, hasAttribute, removeSubTagsByName, setAttribute, setProperties, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Enum

public Enum(org.w3c.dom.Element element)
     throws InvalidTemplateException
Creates a new Enum object that qualifies user inputs.
Parameters:
element - XML element containing Enum as the root element.
Throws:
InvalidTemplateException - if the element is invalid( if element's name is not equal to Enum).

Enum

public Enum()
     throws InvalidTemplateException
This constructor constructs a new Enum xml to which you can use setAttribute or setProperties to add parameters.
Throws:
InvalidTemplateException - if it fails to construct an empty element.
Method Detail

getName

public java.lang.String getName()
Returns name of this Enum object.
Returns:
name of this Enum object.

getValue

public java.lang.String getValue()
Returns value of this Enum object.
Returns:
value of this Enum object.

AdventNet Web NMS 4 API Specification