Method Summary |
|
public String | getAttribute(String paramName) Return the value of specified attribute.
Parameters: paramName - The name of the parameter you ask the value of. |
public 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.
Parameters: name - The name of the attribute you ask the value of. Parameters: defaultValue - The default value desired. |
public boolean | getAttributeAsBoolean(String paramName) Return the boolean value of the specified parameter contained
in this node.
Parameters: paramName - The name of the parameter you ask the value of. |
public 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.
Parameters: name - The name of the attribute you ask the value of. Parameters: defaultValue - The default value desired. |
public float | getAttributeAsFloat(String paramName) Return the float value of the specified parameter contained
in this node.
Parameters: paramName - The name of the parameter you ask the value of. |
public 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.
Parameters: name - The name of the attribute you ask the value of. Parameters: defaultValue - The default value desired. |
public int | getAttributeAsInt(String paramName) Return the int value of the specified attribute contained
in this node.
Parameters: paramName - The name of the parameter you ask the value of. |
public int | getAttributeAsInt(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.
Parameters: name - The name of the attribute you ask the value of. Parameters: defaultValue - The default value desired. |
public long | getAttributeAsLong(String name) Returns the value of the attribute specified by its name as a
long . |
public 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.
Parameters: name - The name of the attribute you ask the value of. Parameters: defaultValue - The default value desired. |
public Configuration | getConfiguration(String child) Return a new Configuration instance encapsulating the
specified child node.
Parameters: child - The name of the child node. |
public Enumeration | getConfigurations(String name) Return an Enumeration of Configuration
elements containing all node children with the specified name.
Parameters: name - The name of the children to get. |
public String | getLocation() Return a String indicating the position of this
configuration element in a source file or URI.
String if a source file or URI is specified. |
public String | getName() Return the name of the node. |
public String | getValue() Return the String value of the node. |
public String | getValue(String defaultValue) Returns the value of the configuration element as a String .
If the configuration value is not set, the default value will be
used.
Parameters: defaultValue - The default value desired. |
public boolean | getValueAsBoolean() Return the boolean value of the node. |
public boolean | getValueAsBoolean(boolean defaultValue) Returns the value of the configuration element as a boolean .
If the configuration value is not set, the default value will be
used.
Parameters: defaultValue - The default value desired. |
public float | getValueAsFloat() Return the float value of the node. |
public float | getValueAsFloat(float defaultValue) Returns the value of the configuration element as a float .
If the configuration value is not set, the default value will be
used.
Parameters: defaultValue - The default value desired. |
public int | getValueAsInt() Return the int value of the node. |
public int | getValueAsInt(int defaultValue) Returns the value of the configuration element as an int .
If the configuration value is not set, the default value will be
used.
Parameters: defaultValue - The default value desired. |
public long | getValueAsLong() |
public long | getValueAsLong(long defaultValue) Returns the value of the configuration element as a long .
If the configuration value is not set, the default value will be
used.
Parameters: defaultValue - The default value desired. |