|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.myfaces.trinidad.change.AttributeDocumentChange
public class AttributeDocumentChange
Change specialization for change in attributes. While applying this Change, the specified attribute state is restored.
| Constructor Summary | |
|---|---|
AttributeDocumentChange(String attributeName,
String attributeValueString)
Constructs an AttributeChange with the given attributeName and attributeValue. |
|
| Method Summary | |
|---|---|
void |
changeDocument(Node componentNode)
Apply this change to the specied root DOM Node of the component |
String |
getAttributeName()
Returns the name of the attribute that represents this Change. |
Object |
getAttributeStringValue()
Returns the value of the attribute corresponding to this AttributeChange. |
boolean |
getForcesDocumentReload()
Returns true if adding the DocumentChange should force the JSP Document to reload |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AttributeDocumentChange(String attributeName,
String attributeValueString)
attributeName - The name of the attribute for which the value needs
to be restored.attributeValueString - The value of the attribute that needs to be restored.
IllegalArgumentException - if specified attributeName were to be null.
=-= bts TODO Figure out what to do about non String values| Method Detail |
|---|
public String getAttributeName()
public Object getAttributeStringValue()
public void changeDocument(Node componentNode)
changeDocument in interface DocumentChangecomponentNode - DOM node of the component to apply the change topublic boolean getForcesDocumentReload()
getForcesDocumentReload in interface DocumentChange
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||