Package net.carcdr.ycrdt
Class YXmlElementChange
java.lang.Object
net.carcdr.ycrdt.YChange
net.carcdr.ycrdt.YXmlElementChange
Represents an attribute change to a YXmlElement instance.
-
Nested Class Summary
Nested classes/interfaces inherited from class net.carcdr.ycrdt.YChange
YChange.Type -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedProtected constructor for subclasses. -
Method Summary
-
Constructor Details
-
YXmlElementChange
protected YXmlElementChange()Protected constructor for subclasses.
-
-
Method Details
-
getAttributeName
Returns the name of the changed attribute.- Returns:
- the attribute name
-
getNewValue
Returns the new value of the attribute.- Returns:
- the new value, or null if the attribute was removed
-
getOldValue
Returns the previous value of the attribute.- Returns:
- the old value, or null if the attribute was newly added
-