|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||

java.lang.Objectorg.apache.tiles.Attribute
org.apache.tiles.context.ListAttribute
public class ListAttribute
An attribute as a 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.
| Field Summary |
|---|
| Fields inherited from class org.apache.tiles.Attribute |
|---|
DEFINITION, role, STRING, TEMPLATE, value |
| Constructor Summary | |
|---|---|
ListAttribute()
Constructor. |
|
ListAttribute(java.lang.String name,
java.util.List<java.lang.Object> value)
Constructor. |
|
| Method Summary | |
|---|---|
void |
add(Attribute element)
Add an element in list. |
void |
add(java.lang.Object value)
Add an element in list. |
void |
addObject(java.lang.Object value)
Add an element in list. |
| Methods inherited from class org.apache.tiles.Attribute |
|---|
getAttributes, getName, getRole, getType, getValue, setAttributes, setBody, setName, setRole, setType, setValue, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ListAttribute()
public ListAttribute(java.lang.String name,
java.util.List<java.lang.Object> value)
name - Name.value - List.| Method Detail |
|---|
public void add(Attribute 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.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||