Home » Struts-1.3.10 » org.apache.struts » tiles » xmlDefinition » [javadoc | source]
org.apache.struts.tiles.xmlDefinition
public class: XmlAttribute [javadoc | source]
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:
 public XmlAttribute() 
 public XmlAttribute(String name,
    Object value) 
    Constructor.
Method from org.apache.struts.tiles.xmlDefinition.XmlAttribute Summary:
computeRealValue,   getAttribute,   getName,   getRole,   getValue,   setAttribute,   setBody,   setContent,   setDirect,   setName,   setRole,   setType,   setValue
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.struts.tiles.xmlDefinition.XmlAttribute Detail:
 protected Object computeRealValue() 
    Compute real value from attributes setting.
 public String getAttribute() 
    Another access method for the name property.
 public String getName() 
    Access method for the name property.
 public String getRole() 
    Access method for the name property.
 public Object getValue() 
    Access method for the value property. Return the value or a QualifiedAttribute containing the value if 'direct' is set.
 public  void setAttribute(String aName) 
    Sets the value of the name property.
 public  void setBody(String body) 
    Sets the value of the value property.
 public  void setContent(Object aValue) 
    Sets the value of the value property.
 public  void setDirect(String value) 
    Sets the value of the value property.
 public  void setName(String aName) 
    Sets the value of the name property.
 public  void setRole(String role) 
    Sets the value of the name property.
 public  void setType(String value) 
    Sets the value of the value property.
 public  void setValue(Object aValue) 
    Sets the value of the value property.