Method Summary |
|
public void | addAllChildrenBefore(ConfigurationHelper other) Add all child Configuration objects from specified
configuration element to current configuration element. |
String | getAttribute(String paramName) Return the value of specified attribute. |
String | getAttribute(String name, String defaultValue) Returns the value of the attribute specified by its name as a
String , or the default value if no attribute by that name
exists or is empty. |
boolean | getAttributeAsBoolean(String paramName) Return the boolean value of the specified parameter
contained in this node. |
boolean | getAttributeAsBoolean(String name, boolean defaultValue) Returns the value of the attribute specified by its name as a
boolean , or the default value if no attribute by that
name exists or is empty. |
float | getAttributeAsFloat(String paramName) Return the float value of the specified parameter
contained in this node. |
float | getAttributeAsFloat(String name, float defaultValue) Returns the value of the attribute specified by its name as a
float , or the default value if no attribute by that name
exists or is empty. |
int | getAttributeAsInteger(String paramName) Return the int value of the specified attribute contained
in this node. |
int | getAttributeAsInteger(String name, int defaultValue) Returns the value of the attribute specified by its name as a
int , or the default value if no attribute by that name
exists or is empty. |
long | getAttributeAsLong(String name) Returns the value of the attribute specified by its name as a
long . |
long | getAttributeAsLong(String name, long defaultValue) Returns the value of the attribute specified by its name as a
long , or the default value if no attribute by that name
exists or is empty. |
String[] | getAttributeNames() Return an array of all attribute names. |
ConfigurationHelper | getChild(String child) Return a new Configuration instance encapsulating the
specified child node. |
ConfigurationHelper | getChild(String child, boolean createNew) Return a Configuration instance encapsulating the
specified child node. |
ConfigurationHelper[] | getChildren() Return an Array of Configuration elements
containing all node children. |
ConfigurationHelper[] | getChildren(String name) Return an Array of Configuration elements
containing all node children with the specified name. |
String | getLocation() Return a string describing location of Configuration. |
String | getName() Return the name of the node. |
String | getNamespace() Returns a string indicating which namespace this Configuration node
belongs to. |
String | getValue() Return the String value of the node. |
String | getValue(String defaultValue) Returns the value of the configuration element as a String . |
boolean | getValueAsBoolean() Return the boolean value of the node. |
boolean | getValueAsBoolean(boolean defaultValue) Returns the value of the configuration element as a boolean . |
float | getValueAsFloat() Return the float value of the node. |
float | getValueAsFloat(float defaultValue) Returns the value of the configuration element as a float . |
int | getValueAsInteger() Return the int value of the node. |
int | getValueAsInteger(int defaultValue) Returns the value of the configuration element as an int . |
long | getValueAsLong() Return the long value of the node. |
long | getValueAsLong(long defaultValue) Returns the value of the configuration element as a long . |