"WEBNMS_5 API Docs"

com.adventnet.management.config.xml
Class Qualifier

java.lang.Object
  extended by com.adventnet.management.config.xml.BaseElement
      extended by 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

Field Summary
 
Fields inherited from class com.adventnet.management.config.xml.BaseElement
element, isServer
 
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 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

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.
Method Detail

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.

"WEBNMS_5 API Docs"

Copyright © 2011 ZOHO Corp., All Rights Reserved.