|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Method Summary | |
void |
commit(boolean deep)
Commits the state of this element. |
NodeContainer |
getParent()
Returns the parent of this node, or null if this is the root node. |
boolean |
isModified(boolean deep)
Returns true if this element has been modified. |
void |
revert(boolean deep)
Reverts the state of this element to the last commit. |
java.lang.String |
serialize(boolean indent)
Serializes this node to a String |
void |
setModified(boolean flag)
Sets the modification status of this node only. |
Method Detail |
public boolean isModified(boolean deep)
deep
- if descendants should be included
public void setModified(boolean flag)
flag
- Whether this node's state is different
from its state immediately after the last commit.public void revert(boolean deep)
deep
- public void commit(boolean deep)
deep
- public NodeContainer getParent()
public java.lang.String serialize(boolean indent)
String
indent
- Whether or not the XML should be indented
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |