private static class ChangeSet.AttributeChange extends ChangeSet.Change
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
key |
private java.lang.String |
value |
see
Constructor and Description |
---|
AttributeChange(ChangeSet.See see,
java.lang.String key,
java.lang.String value)
Build a new AttributeChange.
|
Modifier and Type | Method and Description |
---|---|
void |
attachToElement(org.w3c.dom.Element element)
Tack attributes onto the element.
|
boolean |
convertsToElement()
AttributeChanges are tacked onto the final Element, not converted
directly.
|
int |
getPriority()
Gets the sort priority.
|
org.w3c.dom.Element |
toElement(ServerPlayer serverPlayer,
org.w3c.dom.Document doc)
We do not specialize AttributeChanges.
|
java.lang.String |
toString() |
consequences, isNotifiable, isPerhapsNotifiable, matches
public AttributeChange(ChangeSet.See see, java.lang.String key, java.lang.String value)
see
- The visibility of this change.key
- A key String
.value
- The corresponding value as a String
.public int getPriority()
getPriority
in class ChangeSet.Change
public boolean convertsToElement()
convertsToElement
in class ChangeSet.Change
public org.w3c.dom.Element toElement(ServerPlayer serverPlayer, org.w3c.dom.Document doc)
toElement
in class ChangeSet.Change
serverPlayer
- The ServerPlayer
to update.doc
- The owner Document
.public void attachToElement(org.w3c.dom.Element element)
attachToElement
in class ChangeSet.Change
element
- The Element
to attach to.public java.lang.String toString()
toString
in class java.lang.Object