com.agimatec.commons.config
Class ListNode
java.lang.Object
com.agimatec.commons.config.Node
com.agimatec.commons.config.CompositeNode
com.agimatec.commons.config.ListNode
- All Implemented Interfaces:
- Serializable
public class ListNode
- extends CompositeNode
A config node representing a list of nodes.
- Author:
- Roman Stumm
- See Also:
- Serialized Form
| Fields inherited from class com.agimatec.commons.config.Node |
name |
| Methods inherited from class com.agimatec.commons.config.CompositeNode |
getBoolean, getDouble, getFilePath, getInt, getInt, getList, getLong, getMap, getNode, getString, getURLPath |
list
protected ArrayList list
ListNode
public ListNode()
getObjectValue
public Object getObjectValue()
- Specified by:
getObjectValue in class Node
getList
public ArrayList getList()
get
public Object get(int index)
nodeCount
public int nodeCount()
getNode
public Node getNode(int index)
- cast the result of get(int) to Node
- Throws:
ClassCastException - when this is not possible
Copyright © 2008-2011. All Rights Reserved.