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(java.lang.String name,
java.util.List value)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(java.lang.Object value)
Add an element in list.
|
void |
add(XmlAttribute element)
Add an element in list.
|
void |
addObject(java.lang.Object value)
Add an element in list.
|
computeRealValue, getAttribute, getName, getRole, getValue, setAttribute, setBody, setContent, setDirect, setName, setRole, setType, setValuepublic XmlListAttribute()
public XmlListAttribute(java.lang.String name,
java.util.List value)
name - Name.value - List.public void add(XmlAttribute element)
element - XmlAttribute to add.public void add(java.lang.Object value)
value - Object to add.public void addObject(java.lang.Object value)
value - Object to add.Copyright © 2000–2024 Apache Software Foundation. All rights reserved.