public class AttributeDocumentChange extends Object implements DocumentChange
| Constructor and Description |
|---|
AttributeDocumentChange(String attributeName,
String attributeValueString)
Constructs an AttributeChange with the given attributeName and
attributeValue.
|
| Modifier and Type | Method and Description |
|---|---|
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
|
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 valuespublic 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 DocumentChangeCopyright © 2001-2016 The Apache Software Foundation. All Rights Reserved.