Berkeley DB XML
version 2.3.10

com.sleepycat.dbxml
Class XmlUpdateContext

java.lang.Object
  extended by com.sleepycat.dbxml.XmlUpdateContext

public class XmlUpdateContext
extends Object

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

XmlUpdateContext

public XmlUpdateContext(XmlUpdateContext o)
                 throws XmlException
Copy constructor.

Throws:
XmlException
Method Detail

delete

public void delete()
Free the native resources associated with this object.


setApplyChangesToContainers

public void setApplyChangesToContainers(boolean applyChanges)
                                 throws XmlException
Controls whether changes made to an XmlValue or XmlDocument are saved to the corresponding XmlContainer.

Parameters:
applyChanges - If true (the default value), changes are written to the container.
Throws:
XmlException

getApplyChangesToContainers

public boolean getApplyChangesToContainers()
                                    throws XmlException
Gets whether changes made to an XmlValue or XmlDocument are saved to the corresponding XmlContainer.

Throws:
XmlException

Berkeley DB XML
version 2.3.10

Copyright 1996,2007 Oracle. All rights reserved.