Class XMLPropertyListConfiguration.ArrayNode
java.lang.Object
org.apache.commons.configuration.tree.DefaultConfigurationNode
org.apache.commons.configuration.HierarchicalConfiguration.Node
org.apache.commons.configuration.plist.XMLPropertyListConfiguration.PListNode
org.apache.commons.configuration.plist.XMLPropertyListConfiguration.ArrayNode
- All Implemented Interfaces:
Serializable, Cloneable, ConfigurationNode
- Enclosing class:
XMLPropertyListConfiguration
public static class XMLPropertyListConfiguration.ArrayNode
extends XMLPropertyListConfiguration.PListNode
Container for array elements. Do not use this class !
It is used internally by XMLPropertyConfiguration to parse the
configuration file, it may be removed at any moment in the future.
- Since:
- 1.2
- Version:
- $Id: XMLPropertyListConfiguration.java 1368665 2012-08-02 19:48:26Z oheger $
- Author:
- Emmanuel Bourg
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class DefaultConfigurationNode
DefaultConfigurationNode.SubNodes -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class XMLPropertyListConfiguration.PListNode
addDataValue, addDateValue, addFalseValue, addIntegerValue, addList, addRealValue, addTrueValueMethods inherited from class HierarchicalConfiguration.Node
addChild, getParent, hasChildren, remove, remove, setParent, visitMethods inherited from class DefaultConfigurationNode
addAttribute, addChild, checkState, clone, createSubNodes, getAttribute, getAttributeCount, getAttributeCount, getAttributes, getAttributes, getChild, getChildren, getChildren, getChildrenCount, getChildrenCount, getName, getParentNode, getReference, isAttribute, isDefined, removeAttribute, removeAttribute, removeAttributes, removeChild, removeChild, removeChildren, removeReference, setAttribute, setName, setParentNode, setReference, setValue, visit
-
Constructor Details
-
ArrayNode
public ArrayNode()
-
-
Method Details
-
addValue
Add an object to the array.- Overrides:
addValuein classXMLPropertyListConfiguration.PListNode- Parameters:
value- the value to be added
-
getValue
Return the list of values in the array.- Specified by:
getValuein interfaceConfigurationNode- Overrides:
getValuein classDefaultConfigurationNode- Returns:
- the
Listof values
-