|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.struts.tiles.xmlDefinition.XmlAttribute
public class XmlAttribute
A property key-value pair. This class is used to read configuration files.
Constructor Summary | |
---|---|
XmlAttribute()
Constructor. |
|
XmlAttribute(String name,
Object value)
Constructor. |
Method Summary | |
---|---|
protected Object |
computeRealValue()
Compute real value from attributes setting. |
String |
getAttribute()
Another access method for the name property. |
String |
getName()
Access method for the name property. |
String |
getRole()
Access method for the name property. |
Object |
getValue()
Access method for the value property. |
void |
setAttribute(String aName)
Sets the value of the name property. |
void |
setBody(String body)
Sets the value of the value property. |
void |
setContent(Object aValue)
Sets the value of the value property. |
void |
setDirect(String value)
Sets the value of the value property. |
void |
setName(String aName)
Sets the value of the name property. |
void |
setRole(String role)
Sets the value of the name property. |
void |
setType(String value)
Sets the value of the value property. |
void |
setValue(Object aValue)
Sets the value of the value property. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XmlAttribute()
public XmlAttribute(String name, Object value)
Method Detail |
---|
public String getName()
public void setRole(String role)
role
- the new value of the name propertypublic String getRole()
public void setName(String aName)
aName
- the new value of the name property.public String getAttribute()
public void setAttribute(String aName)
aName
- the new value of the name propertypublic Object getValue()
public void setValue(Object aValue)
aValue
- the new value of the value propertypublic void setContent(Object aValue)
aValue
- the new value of the value propertypublic void setBody(String body)
body
- the new value of the value propertypublic void setDirect(String value)
value
- the new value of the value propertypublic void setType(String value)
value
- the new value of the value propertyprotected Object computeRealValue()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |