Berkeley DbXML
version 1.2.1

com.sleepycat.dbxml
Class XmlUpdateContext

java.lang.Object
  extended bycom.sleepycat.dbxml.XmlUpdateContext

public class XmlUpdateContext
extends Object


Constructor Summary
XmlUpdateContext(XmlContainer container)
          The XmlUpdateContext class encapsulates the context within which update operations are performed against an XmlContainer.
 
Method Summary
 void delete()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlUpdateContext

public XmlUpdateContext(XmlContainer container)
                 throws XmlException
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.

A copy constructor and assignment operator are provided for this class. The class is implemented using a handle-body idiom. When a handle is copied both handles maintain a reference to the same body.

Parameters:
container - The XmlContainer that this XmlUpdateContext object is associated with. An XmlUpdateContext object is tied to a particular XmlContainer and may only be used with that XmlContainer.
Throws:
XmlException
Method Detail

delete

public void delete()

Berkeley DbXML
version 1.2.1

Copyright (c) 1996-2003 Sleepycat Software, Inc. - All rights reserved.