Package | Description |
---|---|
com.sleepycat.dbxml |
Berkeley DB XML Java API
[reference guide]. |
Modifier and Type | Method and Description |
---|---|
XmlUpdateContext |
XmlManager.createUpdateContext()
Instantiates a new, default,
XmlUpdateContext object. |
Modifier and Type | Method and Description |
---|---|
void |
XmlContainer.addDefaultIndex(java.lang.String index,
XmlUpdateContext context)
Adds a default index to the container.
|
void |
XmlContainer.addDefaultIndex(XmlTransaction txn,
java.lang.String index,
XmlUpdateContext context)
Adds a default index to the container in the scope of a transaction.
|
void |
XmlContainer.addIndex(java.lang.String uri,
java.lang.String name,
int indexType,
int syntaxType,
XmlUpdateContext context)
Adds an index of the specified type for the named document node.
|
void |
XmlContainer.addIndex(java.lang.String uri,
java.lang.String name,
java.lang.String index,
XmlUpdateContext context)
Adds an index of the specified type for the named document node.
|
void |
XmlContainer.addIndex(XmlTransaction txn,
java.lang.String uri,
java.lang.String name,
int indexType,
int syntaxType,
XmlUpdateContext context)
Adds an index of the specified type for the named document node in the
scope of a transaction.
|
void |
XmlContainer.addIndex(XmlTransaction txn,
java.lang.String uri,
java.lang.String name,
java.lang.String index,
XmlUpdateContext context)
Adds an index of the specified type for the named document node in the
scope of a transaction.
|
void |
XmlManager.compactContainer(java.lang.String name,
XmlUpdateContext uc)
Compacts the content of the container.
|
void |
XmlManager.compactContainer(XmlTransaction txn,
java.lang.String name,
XmlUpdateContext uc)
Compacts the content of the container in the context of a transaction.
|
void |
XmlContainer.deleteDefaultIndex(java.lang.String index,
XmlUpdateContext context)
Deletes the default index for the container.
|
void |
XmlContainer.deleteDefaultIndex(XmlTransaction txn,
java.lang.String index,
XmlUpdateContext context)
Deletes the default index for the container in the scope of a transaction.
|
void |
XmlContainer.deleteDocument(java.lang.String name,
XmlUpdateContext context)
Removes the named document from the container.
|
void |
XmlContainer.deleteDocument(XmlDocument document,
XmlUpdateContext context)
Removes the specified
XmlDocument from the container. |
void |
XmlContainer.deleteDocument(XmlTransaction txn,
java.lang.String name,
XmlUpdateContext context)
Removes the named document from the container in the scope of a
transaction.
|
void |
XmlContainer.deleteDocument(XmlTransaction txn,
XmlDocument document,
XmlUpdateContext context)
Removes the specified
XmlDocument from the container in the scope
of a transaction. |
void |
XmlContainer.deleteIndex(java.lang.String uri,
java.lang.String name,
java.lang.String index,
XmlUpdateContext context)
Deletes an index of the specified type for the named document node.
|
void |
XmlContainer.deleteIndex(XmlTransaction txn,
java.lang.String uri,
java.lang.String name,
java.lang.String index,
XmlUpdateContext context)
Deletes an index of the specified type for the named document node in the
context of a transaction.
|
void |
XmlManager.loadContainer(java.lang.String name,
java.lang.String filename,
XmlUpdateContext uc)
Loads data from the specified file into the container.
|
java.lang.String |
XmlContainer.putDocument(java.lang.String name,
java.lang.String contents,
XmlUpdateContext context)
Inserts a document into the container with a given name and string content.
|
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,
XmlUpdateContext context)
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,
XmlUpdateContext context)
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,
XmlUpdateContext context)
Inserts an
XmlDocument into the container. |
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 contents,
XmlUpdateContext context)
Inserts a document into the container with a given name and string content 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,
XmlUpdateContext context)
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,
XmlUpdateContext context)
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,
XmlUpdateContext context)
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,
XmlUpdateContext context)
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,
XmlUpdateContext context)
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. |
void |
XmlManager.reindexContainer(java.lang.String name,
XmlUpdateContext context,
XmlContainerConfig config)
Reindex a container.
|
void |
XmlManager.reindexContainer(XmlTransaction txn,
java.lang.String name,
XmlUpdateContext context,
XmlContainerConfig config)
Reindex a container.
|
void |
XmlContainer.replaceDefaultIndex(java.lang.String index,
XmlUpdateContext context)
Replaces the container's default index.
|
void |
XmlContainer.replaceDefaultIndex(XmlTransaction txn,
java.lang.String index,
XmlUpdateContext context)
Replaces the container's default index in the scope of a transaction.
|
void |
XmlContainer.replaceIndex(java.lang.String uri,
java.lang.String name,
java.lang.String index,
XmlUpdateContext context)
Replaces an index of the specified type for the named document node.
|
void |
XmlContainer.replaceIndex(XmlTransaction txn,
java.lang.String uri,
java.lang.String name,
java.lang.String index,
XmlUpdateContext context)
Replaces an index of the specified type for the named document node in the scope of a transaction.
|
void |
XmlContainer.setIndexSpecification(XmlIndexSpecification index,
XmlUpdateContext context)
Defines the type of indexing to be maintained for a container of
documents.
|
void |
XmlContainer.setIndexSpecification(XmlTransaction txn,
XmlIndexSpecification index,
XmlUpdateContext context)
Defines the type of indexing to be maintained for a container of
documents in the scope of a transaction.
|
void |
XmlManager.truncateContainer(java.lang.String name,
XmlUpdateContext uc)
Truncates the content of the container.
|
void |
XmlManager.truncateContainer(XmlTransaction txn,
java.lang.String name,
XmlUpdateContext uc)
Truncates the content of the container in the context of a transaction.
|
void |
XmlContainer.updateDocument(XmlDocument document,
XmlUpdateContext context)
Updates an
XmlDocument in the container. |
void |
XmlContainer.updateDocument(XmlTransaction txn,
XmlDocument document,
XmlUpdateContext context)
Updates an
XmlDocument in the container in the scope of a transaction. |
void |
XmlManager.upgradeContainer(java.lang.String name,
XmlUpdateContext context)
Upgrades the container from a previous version of Berkeley DB XML, or Berkeley DB, to
the current version.
|
Constructor and Description |
---|
XmlUpdateContext(XmlUpdateContext o)
Copy constructor.
|
Copyright (c) 2004,2014 Oracle. All rights reserved.