public interface ConfigElement
Modifier and Type | Method and Description |
---|---|
boolean |
hasBeenModified()
Return
true if this instance has been modified. |
void |
resetModified()
Reset the modified flag for this instance such that
hasBeenModified()
will return false . |
org.w3c.dom.Element |
toXML(org.w3c.dom.Node parent)
Create an XML representation for this instance under the passed
Node . |
boolean hasBeenModified()
true
if this instance has been modified.
The instance is considered to have been modified if a change was made
that affects the persistent representation since:
resetModified()
was last calledtrue
or false
resetModified()
void resetModified()
hasBeenModified()
will return false
.hasBeenModified()
org.w3c.dom.Element toXML(org.w3c.dom.Node parent)
Node
.
Note that the act of creating an XML representation does not reset this instance's
modified flag. It must be reset by calling resetModified()
.parent
- Node
under which to construct XML representation.Element
hasBeenModified()
,
resetModified()