| Modifier and Type | Method and Description |
|---|---|
| public void | addAll(final Configuration
the other)Configuration elementAdd all the attributes, children and value from specified configuration element to current configuration element. |
| public void | addAllAttributes(final Configuration
the other)Configuration elementAdd all attributes from specified configuration element to current configuration element. |
| public void | addAllChildren(final Configuration
the other other)Configuration valueAdd all child |
| public void | addChild(final Configuration
a configuration)Configuration valueAdd a child |
| public MutableConfiguration | |
| public MutableConfiguration | Returns: the child MutableConfiguration, ornull if autoCreate
was false and no child by the given name existed.the name of the child. name, boolean set to true to create the child node if it doesn't exist. autoCreate)Gets a child node of this configuration. |
| public MutableConfiguration[] | |
| public MutableConfiguration[] | |
| public void | removeChild(final Configuration
a configuration)Configuration valueRemove a child |
| public void | setAttribute(final String
name of the attribute to set name, final String a value)String value. If null, the attribute is removed.Set the value of the specified attribute to the specified string. |
| public void | setAttribute(final String
name of the attribute to set name, final int an value)int valueSet the value of the specified attribute to the specified int. |
| public void | setAttribute(final String
name of the attribute to set name, final long an value)long valueSet the value of the specified attribute to the specified long. |
| public void | setAttribute(final String
name of the attribute to set name, final boolean an value)boolean valueSet the value of the specified attribute to the specified boolean. |
| public void | setAttribute(final String
name of the attribute to set name, final float an value)float valueSet the value of the specified attribute to the specified float. |
| public void | setAttribute(final String
name of the attribute to set name, final double an value)double valueSet the value of the specified attribute to the specified double. |
| public void | |
| public void | setValue(final int
a value)int valueSet the value of this |
| public void | setValue(final long
a value)long valueSet the value of this |
| public void | setValue(final boolean
a value)boolean valueSet the value of this |
| public void | setValue(final float
a value)float valueSet the value of this |
| public void | setValue(final double
a value)double valueSet the value of this |
| addAll | back to summary |
|---|---|
| public void addAll(final Configuration other) Add all the attributes, children and value from specified configuration element to current configuration element.
| |
| addAllAttributes | back to summary |
|---|---|
| public void addAllAttributes(final Configuration other) Add all attributes from specified configuration element to current configuration element.
| |
| addAllChildren | back to summary |
|---|---|
| public void addAllChildren(final Configuration other) Add all child
| |
| addChild | back to summary |
|---|---|
| public void addChild(final Configuration configuration) Add a child
| |
| getMutableChild | back to summary |
|---|---|
| public MutableConfiguration getMutableChild(final String name) throws ConfigurationException Equivalent to | |
| getMutableChild | back to summary |
|---|---|
| public MutableConfiguration getMutableChild(final String name, boolean autoCreate) throws ConfigurationException Gets a child node of this configuration. If a mutable child with the
given name exists, it is returned. If an immutable child with the
given name exists, it is converted into a mutable child and returned.
In this case, the immutable child will be replaced with the mutable
child in this configuration (that is, it will be as if the child
node always had been mutable).
If no child with the given name exists, and
| |
| getMutableChildren | back to summary |
|---|---|
| public MutableConfiguration[] getMutableChildren() throws ConfigurationException Returns an array of mutable children. Immutable children
are converted just as for
| |
| getMutableChildren | back to summary |
|---|---|
| public MutableConfiguration[] getMutableChildren(final String name) throws ConfigurationException Returns an array of mutable children with the given name. Immutable children
are converted just as for
| |
| removeChild | back to summary |
|---|---|
| public void removeChild(final Configuration configuration) Remove a child
| |
| setAttribute | back to summary |
|---|---|
| public void setAttribute(final String name, final String value) Set the value of the specified attribute to the specified string. | |
| setAttribute | back to summary |
|---|---|
| public void setAttribute(final String name, final int value) Set the value of the specified attribute to the specified int.
| |
| setAttribute | back to summary |
|---|---|
| public void setAttribute(final String name, final long value) Set the value of the specified attribute to the specified long.
| |
| setAttribute | back to summary |
|---|---|
| public void setAttribute(final String name, final boolean value) Set the value of the specified attribute to the specified boolean.
| |
| setAttribute | back to summary |
|---|---|
| public void setAttribute(final String name, final float value) Set the value of the specified attribute to the specified float.
| |
| setAttribute | back to summary |
|---|---|
| public void setAttribute(final String name, final double value) Set the value of the specified attribute to the specified double.
| |
| setValue | back to summary |
|---|---|
| public void setValue(final String value) Set the value of this
| |
| setValue | back to summary |
|---|---|
| public void setValue(final int value) Set the value of this
| |
| setValue | back to summary |
|---|---|
| public void setValue(final long value) Set the value of this
| |
| setValue | back to summary |
|---|---|
| public void setValue(final boolean value) Set the value of this
| |
| setValue | back to summary |
|---|---|
| public void setValue(final float value) Set the value of this
| |
| setValue | back to summary |
|---|---|
| public void setValue(final double value) Set the value of this
| |