|
Berkeley DB XML version 2.0.7 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sleepycat.dbxml.XmlUpdateContext
The XmlUpdateContext class encapsulates the context within which update operations are performed against an XmlContainer. Use of this class is optional, but passing an object of this class through the XmlContainer interface methods can provide performance benefits, as the context contains objects that can be reused multiple times.
Constructor Summary | |
XmlUpdateContext(XmlUpdateContext o)
Copy constructor. |
Method Summary | |
void |
delete()
Free the native resources associated with this object. |
boolean |
getApplyChangesToContainers()
Gets whether changes made to an XmlValue or XmlDocument are
saved to the corresponding XmlContainer . |
void |
setApplyChangesToContainers(boolean applyChanges)
Controls whether changes made to an XmlValue or
XmlDocument are saved to the corresponding XmlContainer . |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public XmlUpdateContext(XmlUpdateContext o) throws XmlException
Method Detail |
public void delete()
public void setApplyChangesToContainers(boolean applyChanges) throws XmlException
XmlValue
or
XmlDocument
are saved to the corresponding XmlContainer
.
applyChanges
- If true
(the default value), changes are
written to the container.
XmlException
public boolean getApplyChangesToContainers() throws XmlException
XmlValue
or XmlDocument
are
saved to the corresponding XmlContainer
.
XmlException
|
Berkeley DB XML version 2.0.7 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |