public class XmlListAttribute extends XmlAttribute
List.
This attribute associates a name with a list. The list can be found by the
property name.
Elements in list are retrieved using List methods.
This class is used to read configuration files.| Constructor and Description |
|---|
XmlListAttribute()
Constructor.
|
XmlListAttribute(String name,
List value)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(Object value)
Add an element in list.
|
void |
add(XmlAttribute element)
Add an element in list.
|
void |
addObject(Object value)
Add an element in list.
|
computeRealValue, getAttribute, getName, getRole, getValue, setAttribute, setBody, setContent, setDirect, setName, setRole, setType, setValuepublic void add(XmlAttribute element)
element - XmlAttribute to add.public void add(Object value)
value - Object to add.public void addObject(Object value)
value - Object to add.Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.