com.sleepycat.dbxml
Class XmlUpdateContext
java.lang.Object
com.sleepycat.dbxml.XmlUpdateContext
- public class XmlUpdateContext
- extends Object
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
delete
public void delete()
Copyright (c) 1996-2003 Sleepycat Software, Inc. - All rights reserved.