|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.freecol.server.control.ChangeSet.Change
net.sf.freecol.server.control.ChangeSet.AttributeChange
private static class ChangeSet.AttributeChange
Encapsulate an attribute change.
| Field Summary | |
|---|---|
private java.lang.String |
key
|
private java.lang.String |
value
|
| Fields inherited from class net.sf.freecol.server.control.ChangeSet.Change |
|---|
see |
| Constructor Summary | |
|---|---|
ChangeSet.AttributeChange(ChangeSet.See see,
java.lang.String key,
java.lang.String value)
Build a new AttributeChange. |
|
| Method Summary | |
|---|---|
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 |
sortPriority()
The sort priority. |
org.w3c.dom.Element |
toElement(ServerPlayer serverPlayer,
org.w3c.dom.Document doc)
We do not specialize AttributeChanges. |
| Methods inherited from class net.sf.freecol.server.control.ChangeSet.Change |
|---|
consequences, isNotifiable, isPerhapsNotifiable |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private java.lang.String key
private java.lang.String value
| Constructor Detail |
|---|
ChangeSet.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.| Method Detail |
|---|
public int sortPriority()
sortPriority in class ChangeSet.Changepublic boolean convertsToElement()
convertsToElement in class ChangeSet.Change
public org.w3c.dom.Element toElement(ServerPlayer serverPlayer,
org.w3c.dom.Document doc)
toElement in class ChangeSet.ChangeserverPlayer - The ServerPlayer to update.doc - The owner Document.
public void attachToElement(org.w3c.dom.Element element)
attachToElement in class ChangeSet.Changeelement - The Element to attach to.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||