com.adventnet.management.config.xml
Class Qualifier
java.lang.Object
|
+--com.adventnet.management.config.xml.BaseElement
|
+--com.adventnet.management.config.xml.Qualifier
- All Implemented Interfaces:
- java.io.Serializable
- public class Qualifier
- extends BaseElement
The Qualifier class qualifies user inputs in the template.
By setting the type of the Qualifier,User can decide what component
should be used to show the UserInput in the UI.
The allowed types of the Qualifier are
"textfield", "textarea", "checkbox", "choice", "numerictextfield".
User can also add his own components.
- See Also:
UserInput, Serialized Form
|
Constructor Summary |
Qualifier(org.w3c.dom.Element element)
Creates a new Qualifier that contains representation of the supplied xml element. |
|
Method Summary |
java.util.Vector |
getEnums()
Returns vector of Enum objects that qualifies user inputs. |
java.lang.String |
getRange()
Returns range of this Qualifier. |
java.lang.String |
getType()
Returns type of this Qualifier. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Qualifier
public Qualifier(org.w3c.dom.Element element)
throws InvalidTemplateException
- Creates a new Qualifier that contains representation of the supplied xml element.
- Parameters:
element - element containing Qualifier as the root element.- Throws:
InvalidTemplateException - if the element is null or element's tag name is not equal to Qualifier.
getType
public java.lang.String getType()
- Returns type of this Qualifier.
- Returns:
- type of this Qualifier.
getRange
public java.lang.String getRange()
- Returns range of this Qualifier.
- Returns:
- range of this Qualifier.
getEnums
public java.util.Vector getEnums()
- Returns vector of Enum objects that qualifies user inputs.
- Returns:
- Vector of Enum objects that qualifies user inputs.