Class XmlAttribute
java.lang.Object
org.apache.struts.tiles.xmlDefinition.XmlAttribute
- Direct Known Subclasses:
XmlListAttribute
A property key-value pair. This class is used to read configuration files.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Object
Compute real value from attributes setting.Another access method for the name property.getName()
Access method for the name property.getRole()
Access method for the name property.getValue()
Access method for the value property.void
setAttribute
(String aName) Sets the value of the name property.void
Sets the value of the value property.void
setContent
(Object aValue) Sets the value of the value property.void
Sets the value of the value property.void
Sets the value of the name property.void
Sets the value of the name property.void
Sets the value of the value property.void
Sets the value of the value property.
-
Constructor Details
-
XmlAttribute
public XmlAttribute()Constructor. -
XmlAttribute
Constructor.
-
-
Method Details
-
getName
Access method for the name property.- Returns:
- The current value of the name property.
-
setRole
Sets the value of the name property.- Parameters:
role
- the new value of the name property
-
getRole
Access method for the name property.- Returns:
- The current value of the name property.
-
setName
Sets the value of the name property.- Parameters:
aName
- the new value of the name property.
-
getAttribute
Another access method for the name property.- Returns:
- the current value of the name property
-
setAttribute
Sets the value of the name property.- Parameters:
aName
- the new value of the name property
-
getValue
Access method for the value property. Return the value or a QualifiedAttribute containing the value if 'direct' is set.- Returns:
- The current value of the value property.
-
setValue
Sets the value of the value property.- Parameters:
aValue
- the new value of the value property
-
setContent
Sets the value of the value property.- Parameters:
aValue
- the new value of the value property
-
setBody
Sets the value of the value property.- Parameters:
body
- the new value of the value property
-
setDirect
Sets the value of the value property.- Parameters:
value
- the new value of the value property
-
setType
Sets the value of the value property.- Parameters:
value
- the new value of the value property
-
computeRealValue
Compute real value from attributes setting.
-