|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.struts.tiles.UntypedAttribute
public class UntypedAttribute
Common implementation of attribute definition.
| Field Summary | |
|---|---|
protected String |
role
Role associated to this attribute. |
protected Object |
value
|
| Constructor Summary | |
|---|---|
UntypedAttribute(Object value)
Constructor. |
|
UntypedAttribute(Object value,
String role)
Constructor. |
|
| Method Summary | |
|---|---|
String |
getRole()
Get role. |
Object |
getValue()
Get value. |
void |
setRole(String role)
Set role. |
void |
setValue(Object value)
Set value. |
String |
toString()
Get String representation of this object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected String role
protected Object value
| Constructor Detail |
|---|
public UntypedAttribute(Object value)
value - Object to store.
public UntypedAttribute(Object value,
String role)
value - Object to store.role - Asociated role.| Method Detail |
|---|
public String getRole()
public void setRole(String role)
setRole in interface AttributeDefinitionrole - Associated role.public Object getValue()
getValue in interface AttributeDefinitionpublic void setValue(Object value)
value - New value.public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||