Package org.apache.struts.tiles
Class UntypedAttribute
java.lang.Object
org.apache.struts.tiles.UntypedAttribute
- All Implemented Interfaces:
Serializable
,AttributeDefinition
- Direct Known Subclasses:
DefinitionAttribute
,DefinitionNameAttribute
,DirectStringAttribute
,PathAttribute
Common implementation of attribute definition.
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionUntypedAttribute
(Object value) Constructor.UntypedAttribute
(Object value, String role) Constructor. -
Method Summary
-
Field Details
-
role
Role associated to this attribute. -
value
-
-
Constructor Details
-
UntypedAttribute
Constructor.- Parameters:
value
- Object to store.
-
UntypedAttribute
Constructor.- Parameters:
value
- Object to store.role
- Asociated role.
-
-
Method Details
-
getRole
Get role. -
setRole
Set role.- Specified by:
setRole
in interfaceAttributeDefinition
- Parameters:
role
- Associated role.
-
getValue
Get value.- Specified by:
getValue
in interfaceAttributeDefinition
-
setValue
Set value.- Parameters:
value
- New value.
-
toString
Get String representation of this object.
-