|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
org.apache.struts.tiles Class UntypedAttribute
java.lang.Object | +--org.apache.struts.tiles.UntypedAttribute
- All Implemented Interfaces:
- AttributeDefinition, java.io.Serializable
- Direct Known Subclasses:
- DefinitionAttribute, DefinitionNameAttribute, DirectStringAttribute, PathAttribute
- public class UntypedAttribute
- extends java.lang.Object
- implements AttributeDefinition
Common implementation of attribute definition.
- See Also:
- Serialized Form
Field Summary | |
protected java.lang.String |
role
Role associated to this attribute. |
protected java.lang.Object |
value
|
Constructor Summary | |
UntypedAttribute(java.lang.Object value)
Constructor. |
|
UntypedAttribute(java.lang.Object value,
java.lang.String role)
Constructor. |
Method Summary | |
java.lang.String |
getRole()
Get role. |
java.lang.Object |
getValue()
Get value. |
void |
setRole(java.lang.String role)
Set role. |
void |
setValue(java.lang.Object value)
Set value. |
java.lang.String |
toString()
Get String representation of this object. |
Methods inherited from class java.lang.Object |
|
Field Detail |
role
protected java.lang.String role
- Role associated to this attribute.
value
protected java.lang.Object value
Constructor Detail |
UntypedAttribute
public UntypedAttribute(java.lang.Object value)
- Constructor.
- Parameters:
value
- Object to store.
UntypedAttribute
public UntypedAttribute(java.lang.Object value, java.lang.String role)
- Constructor.
- Parameters:
value
- Object to store.role
- Asociated role.
Method Detail |
getRole
public java.lang.String getRole()
- Get role.
setRole
public void setRole(java.lang.String role)
- Set role.
- Specified by:
setRole
in interfaceAttributeDefinition
- Parameters:
role
- Associated role.
getValue
public java.lang.Object getValue()
- Get value.
- Specified by:
getValue
in interfaceAttributeDefinition
setValue
public void setValue(java.lang.Object value)
- Set value.
- Parameters:
value
- New value.
toString
public java.lang.String toString()
- Get String representation of this object.
- Overrides:
toString
in classjava.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2000-2005 - The Apache Software Foundation