|
Berkeley DB XML version 2.3.10 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sleepycat.dbxml.XmlUpdateContext
public class XmlUpdateContext
The XmlUpdateContext class encapsulates the context within which update operations are performed against an XmlContainer.
XmlUpdateContext objects are created using XmlManager.createUpdateContext()
.
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
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.3.10 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |