| 
|||||||||||
| 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
A property key-value pair. This class is used to read configuration files.
| Field Summary | |
private  java.lang.String | 
direct
Attribute value.  | 
private  java.lang.String | 
name
Attribute name or key.  | 
private  java.lang.Object | 
realValue
Real attribute value.  | 
private  java.lang.String | 
role
Attribute value.  | 
private  java.lang.Object | 
value
Attribute value.  | 
private  java.lang.String | 
valueType
Attribute value.  | 
| Constructor Summary | |
XmlAttribute()
Constructor.  | 
|
XmlAttribute(java.lang.String name,
             java.lang.Object value)
Constructor.  | 
|
| Method Summary | |
protected  java.lang.Object | 
computeRealValue()
Compute real value from attributes setting.  | 
 java.lang.String | 
getAttribute()
Another access method for the name property.  | 
 java.lang.String | 
getName()
Access method for the name property.  | 
 java.lang.String | 
getRole()
Access method for the name property.  | 
 java.lang.Object | 
getValue()
Access method for the value property.  | 
 void | 
setAttribute(java.lang.String aName)
Sets the value of the name property.  | 
 void | 
setBody(java.lang.String body)
Sets the value of the value property.  | 
 void | 
setContent(java.lang.Object aValue)
Sets the value of the value property.  | 
 void | 
setDirect(java.lang.String value)
Sets the value of the value property.  | 
 void | 
setName(java.lang.String aName)
 | 
 void | 
setRole(java.lang.String role)
 | 
 void | 
setType(java.lang.String value)
Sets the value of the value property.  | 
 void | 
setValue(java.lang.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 | 
| Field Detail | 
private java.lang.String name
private java.lang.Object value
private java.lang.String direct
private java.lang.String valueType
private java.lang.String role
private java.lang.Object realValue
| Constructor Detail | 
public XmlAttribute()
public XmlAttribute(java.lang.String name,
                    java.lang.Object value)
| Method Detail | 
public java.lang.String getName()
public void setRole(java.lang.String role)
public java.lang.String getRole()
public void setName(java.lang.String aName)
aName - the new value of the name property
public java.lang.String getAttribute()
public void setAttribute(java.lang.String aName)
aName - the new value of the name propertypublic java.lang.Object getValue()
public void setValue(java.lang.Object aValue)
aValue - the new value of the value propertypublic void setContent(java.lang.Object aValue)
aValue - the new value of the value propertypublic void setBody(java.lang.String body)
public void setDirect(java.lang.String value)
public void setType(java.lang.String value)
protected java.lang.Object computeRealValue()
  | 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||