Package | Description |
---|---|
com.sleepycat.dbxml |
Berkeley DB XML Java API
[reference guide]. |
Modifier and Type | Field and Description |
---|---|
static XmlDocumentConfig |
XmlDocumentConfig.DEFAULT
The default settings.
|
Modifier and Type | Method and Description |
---|---|
XmlDocumentConfig |
XmlDocumentConfig.setAutoCommit(boolean value)
Sets whether the operation will auto-commit if no transaction is provided.
|
XmlDocumentConfig |
XmlDocumentConfig.setCacheDocuments(boolean value)
Sets whether a cache mechanism is enabled.
|
XmlDocumentConfig |
XmlDocumentConfig.setDocumentProjection(boolean value)
Sets whether to use document projection on document parsing
operations performed.
|
XmlDocumentConfig |
XmlDocumentConfig.setDocumentsOnly(boolean value)
Sets whether index lookups will return documents or nodes for
containers with node indexes.
|
XmlDocumentConfig |
XmlDocumentConfig.setGenerateName(boolean value)
Sets whether to automatically generate a name for the document.
|
XmlDocumentConfig |
XmlDocumentConfig.setLazyDocs(boolean value)
Sets whether to retrieve the document lazily.
|
XmlDocumentConfig |
XmlDocumentConfig.setLockMode(LockMode lmode)
Set the lock mode for the operation.
|
XmlDocumentConfig |
XmlDocumentConfig.setReverseOrder(boolean value)
Sets whether to sort index lookups in reverse order
|
XmlDocumentConfig |
XmlDocumentConfig.setWellFormedOnly(boolean value)
Sets whether operations that may parse a document use only
a well-formed scanner, avoiding the expense of reading
any referenced schema or DTD.
|
Modifier and Type | Method and Description |
---|---|
XmlResults |
XmlQueryExpression.execute(XmlQueryContext queryContext,
XmlDocumentConfig config)
Evaluates the XQuery expression against the containers and documents
identified by the query, with configuration.
|
XmlResults |
XmlIndexLookup.execute(XmlQueryContext context,
XmlDocumentConfig config)
Executes the index lookup operation specified by the configuration
of the
XmlIndexLookup object. |
XmlResults |
XmlQueryExpression.execute(XmlTransaction txn,
XmlQueryContext queryContext,
XmlDocumentConfig config)
Evaluates the XQuery expression against the containers and documents
identified by the query, from within the scope of the provided
XmlTransaction object, with configuration. |
XmlResults |
XmlIndexLookup.execute(XmlTransaction txn,
XmlQueryContext context,
XmlDocumentConfig config)
Executes the index lookup operation specified by the configuration
of the
XmlIndexLookup object. |
XmlResults |
XmlQueryExpression.execute(XmlTransaction txn,
XmlValue contextItem,
XmlQueryContext queryContext,
XmlDocumentConfig config)
Evaluates the XQuery expression against the provided context item, from within the scope of the provided
XmlTransaction object. |
XmlResults |
XmlQueryExpression.execute(XmlValue contextItem,
XmlQueryContext queryContext,
XmlDocumentConfig config)
Evaluates the XQuery expression against the provided context item in the given query context with configuration.
|
XmlResults |
XmlContainer.getAllDocuments(XmlDocumentConfig config)
Returns all
XmlDocument objects in the container,
with configuration options. |
XmlResults |
XmlContainer.getAllDocuments(XmlTransaction txn,
XmlDocumentConfig config)
Returns all
XmlDocument objects in the container,
with configuration options, in the context of a transaction. |
XmlDocument |
XmlContainer.getDocument(java.lang.String name,
XmlDocumentConfig config)
Returns the
XmlDocument with the specified name, with
configuration options. |
XmlDocument |
XmlContainer.getDocument(XmlTransaction txn,
java.lang.String name,
XmlDocumentConfig config)
Returns the
XmlDocument with the specified name in the scope of a transaction, with configuration options. |
XmlIndexSpecification |
XmlContainer.getIndexSpecification(XmlTransaction txn,
XmlDocumentConfig config)
Retrieves the current index specification for the container in the scope of a
transaction using the specified
XmlDocumentConfig object. |
XmlResults |
XmlContainer.getNode(XmlTransaction txn,
java.lang.String handle,
XmlDocumentConfig config)
Returns the
XmlResults which contains the object associated with the specified handle in the scope of a transaction. |
XmlResults |
XmlContainer.lookupIndex(XmlQueryContext context,
java.lang.String uri,
java.lang.String name,
java.lang.String parentUri,
java.lang.String parentName,
java.lang.String index,
XmlValue value,
XmlDocumentConfig config)
|
XmlResults |
XmlContainer.lookupIndex(XmlQueryContext context,
java.lang.String uri,
java.lang.String name,
java.lang.String index,
XmlValue value,
XmlDocumentConfig config)
|
XmlResults |
XmlContainer.lookupIndex(XmlTransaction txn,
XmlQueryContext context,
java.lang.String uri,
java.lang.String name,
java.lang.String parentUri,
java.lang.String parentName,
java.lang.String index,
XmlValue value,
XmlDocumentConfig config)
|
XmlResults |
XmlContainer.lookupIndex(XmlTransaction txn,
XmlQueryContext context,
java.lang.String uri,
java.lang.String name,
java.lang.String index,
XmlValue value,
XmlDocumentConfig config)
|
java.lang.String |
XmlContainer.putDocument(java.lang.String name,
java.lang.String content,
XmlDocumentConfig config)
Inserts a document with given name and string content into the container.
|
java.lang.String |
XmlContainer.putDocument(java.lang.String name,
java.lang.String content,
XmlUpdateContext context,
XmlDocumentConfig config)
Inserts a document with given name and string content into the container.
|
java.lang.String |
XmlContainer.putDocument(java.lang.String name,
XmlEventReader reader,
XmlDocumentConfig config)
Inserts a document with given name into the container, using the content retrieved from
the given
XmlEventReader as content. |
java.lang.String |
XmlContainer.putDocument(java.lang.String name,
XmlEventReader reader,
XmlUpdateContext context,
XmlDocumentConfig config)
Inserts a document with given name into the container, using the content retrieved from
the given
XmlEventReader as content. |
java.lang.String |
XmlContainer.putDocument(java.lang.String name,
XmlInputStream input,
XmlDocumentConfig config)
Inserts a document into the container with a given name and content from a stream.
|
java.lang.String |
XmlContainer.putDocument(java.lang.String name,
XmlInputStream input,
XmlUpdateContext context,
XmlDocumentConfig config)
Inserts a document with given name and content into the container.
|
void |
XmlContainer.putDocument(XmlDocument document,
XmlDocumentConfig config)
Inserts an
XmlDocument into the container, with configuration options. |
void |
XmlContainer.putDocument(XmlDocument document,
XmlUpdateContext context,
XmlDocumentConfig config)
Inserts an
XmlDocument into the container, with configuration options. |
java.lang.String |
XmlContainer.putDocument(XmlTransaction txn,
java.lang.String name,
java.lang.String content,
XmlDocumentConfig config)
Inserts a document with given name and string content into the container in the scope of a transaction.
|
java.lang.String |
XmlContainer.putDocument(XmlTransaction txn,
java.lang.String name,
java.lang.String content,
XmlUpdateContext context,
XmlDocumentConfig config)
Inserts a document with given name and string content into the container in the scope of a transaction.
|
java.lang.String |
XmlContainer.putDocument(XmlTransaction txn,
java.lang.String name,
XmlEventReader reader,
XmlDocumentConfig config)
Inserts a document with given name into the container, using the content retrieved from
the given
XmlEventReader as content, within a transaction. |
java.lang.String |
XmlContainer.putDocument(XmlTransaction txn,
java.lang.String name,
XmlEventReader reader,
XmlUpdateContext context,
XmlDocumentConfig config)
Inserts a document with given name into the container, using the content retrieved from
the given
XmlEventReader as content, within a transaction. |
java.lang.String |
XmlContainer.putDocument(XmlTransaction txn,
java.lang.String name,
XmlInputStream input,
XmlDocumentConfig config)
Inserts a document with given name and content into the container in the scope of a transaction.
|
java.lang.String |
XmlContainer.putDocument(XmlTransaction txn,
java.lang.String name,
XmlInputStream input,
XmlUpdateContext context,
XmlDocumentConfig config)
Inserts a document with given name and content into the container in the scope of a transaction.
|
void |
XmlContainer.putDocument(XmlTransaction txn,
XmlDocument document,
XmlDocumentConfig config)
Inserts an
XmlDocument into the container in the scope of a transaction. |
void |
XmlContainer.putDocument(XmlTransaction txn,
XmlDocument document,
XmlUpdateContext context,
XmlDocumentConfig config)
Inserts an
XmlDocument into the container in the scope of a transaction. |
XmlEventWriter |
XmlContainer.putDocumentAsEventWriter(XmlDocument document,
XmlDocumentConfig config)
Prepares to insert an
XmlDocument into the container, using
the returned XmlEventWriter . |
XmlEventWriter |
XmlContainer.putDocumentAsEventWriter(XmlDocument document,
XmlUpdateContext context,
XmlDocumentConfig config)
Prepares to insert an
XmlDocument into the container, using
the returned XmlEventWriter . |
XmlEventWriter |
XmlContainer.putDocumentAsEventWriter(XmlTransaction txn,
XmlDocument document,
XmlDocumentConfig config)
Prepares to insert an
XmlDocument into the container, using
the returned XmlEventWriter , in the scope of a transaction. |
XmlEventWriter |
XmlContainer.putDocumentAsEventWriter(XmlTransaction txn,
XmlDocument document,
XmlUpdateContext context,
XmlDocumentConfig config)
Prepares to insert an
XmlDocument into the container, using
the returned XmlEventWriter , in the scope of a transaction. |
XmlResults |
XmlManager.query(java.lang.String query,
XmlQueryContext context,
XmlDocumentConfig config)
Executes a query in the context of the XmlManager object.
|
XmlResults |
XmlManager.query(XmlTransaction txn,
java.lang.String query,
XmlQueryContext context,
XmlDocumentConfig config)
Executes a query in the context of the XmlManager object.
|
Copyright (c) 2004,2014 Oracle. All rights reserved.