Berkeley DB XML
version 2.4.16

Uses of Package
com.sleepycat.dbxml

Packages that use com.sleepycat.dbxml
com.sleepycat.dbxml Berkeley DB XML Java API
[reference guide]
 

Classes in com.sleepycat.dbxml used by com.sleepycat.dbxml
XmlContainer
          The XmlContainer class encapsulates a document container and its related indices and statistics.
XmlContainerConfig
          Configuration settings for an XmlContainer instance.
XmlDocument
          The unit of storage within an XmlContainer.
XmlDocumentConfig
          Used to configure operations that operate on XmlDocument objects.
XmlEventReader
           Used to read XML as events rather than serialized text.
XmlEventWriter
           Used to create XML content as events rather than serialized text.
XmlException
          A represention of an error condition that has occurred within the Berkeley DB XML system.
XmlIndexDeclaration
          An indexing strategy, returned by XmlIndexSpecification.find(java.lang.String, java.lang.String).
XmlIndexLookup
          The XmlIndexLookup class encapsulates the context within which an index lookup operation can be performed on an XmlContainer object.
XmlIndexSpecification
          The encapsulation of the indexing specification of a container.
XmlInputStream
          Used to read and write XML data.
XmlManager
          Provides a high-level object used to manage various aspects of Berkeley DB XML usage.
XmlManagerConfig
          Used to configure an XmlManager instance via its constructors.
XmlMetaData
          Metadata item returned by XmlMetaDataIterator.next().
XmlMetaDataIterator
          Provides an iterator over an XmlDocument's metadata.
XmlModify
          Deprecated. As of release 2.4.x, replaced by direct use of XQuery Update.

The XmlModify object and its methods are deprecated and will be dropped in some future release. XQuery Update syntax should be used for both in-place, and copy-based modifications. It is both simpler and more efficient.

The context within which a set of one or more documents specified by an XQuery query can be modified in place. The modification is performed using an XmlModify object, and a series of methods off that object that identify how the document is to be modified. Using these methods, the modification steps are identified. When the object is executed, these steps are performed in the order that they were specified.

XmlModify objects are created using XmlManager.createModify().

The modification steps are executed against one or more documents using XmlModify.execute(com.sleepycat.dbxml.XmlValue, com.sleepycat.dbxml.XmlQueryContext, com.sleepycat.dbxml.XmlUpdateContext). This method can operate on a single document stored in an XmlValue, or against multiple documents stored in an XmlResults set that was created as the result of a container or document query.

Document modifications are always written back to their respective containers. If this behavior is not desired, it is necessary to copy a document to a temporary location and modify it there.

Documents in containers using node storage are updated partially, and only affected nodes and indexes are modified, if possible. Documents in containers using whole-document storage are entirely rewritten and re-indexed.

During construction, XmlModify objects are not free-threaded. They must be constructed in a thread-safe manner. However, a single XmlModify object, once constructed, can be used simultaneously by multiple threads.

XmlQueryContext
          The XmlQueryContext class encapsulates the context within which a query is performed against an XmlContainer.
XmlQueryExpression
          An XmlQueryExpression represents a parsed XQuery expression, and is created by a call to XmlManager.prepare(java.lang.String, com.sleepycat.dbxml.XmlQueryContext).
XmlResolver
          Provides an unimplemented base class that is used for file resolution policy.
XmlResults
          The XmlResults class encapsulates the results of a query that has been executed.
XmlStatistics
          The XmlStatistics class encapsulates statistical information about the number of keys in existence for a given index.
XmlTransaction
          The XmlTransaction class is the handle for a transaction.
XmlUpdateContext
          The XmlUpdateContext class encapsulates the context within which update operations are performed against an XmlContainer.
XmlValue
          The XmlValue class encapsulates the value of a node in an XML document.
 


Berkeley DB XML
version 2.4.16

Copyright (c) 1996,2007 Oracle. All rights reserved.