public class OptDef
extends java.lang.Object
Constructor and Description |
---|
OptDef(org.w3c.dom.Node node)
constructs an OptDef from an
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCclass()
get xml option node 'class' attribute
|
java.lang.String |
getDefaultValue()
get xml option node 'default-value' attribute
|
java.lang.String |
getDescription()
get xml option node 'description' attribute
|
java.lang.String |
getGuiRendererName()
get xml option node gui-renderer 'component' attribute
describing the interface component used to set this option.
|
org.w3c.dom.Node |
getGuiRendererNode()
check xml option node 'gui-renderer' attribute (
describing the interface component used to set this option).
|
java.lang.String |
getId()
get xml option node 'id' attribute
|
static java.lang.String |
nodeAttributeValue(org.w3c.dom.Node node,
java.lang.String attrName)
get the value of an option attribute in a xml option node
|
public OptDef(org.w3c.dom.Node node)
node
- the xml option nodepublic static java.lang.String nodeAttributeValue(org.w3c.dom.Node node, java.lang.String attrName)
node
- the xml option nodeattrName
- the attribute namepublic java.lang.String getId()
public java.lang.String getCclass()
public java.lang.String getDefaultValue()
public java.lang.String getDescription()
public org.w3c.dom.Node getGuiRendererNode()
public java.lang.String getGuiRendererName()