Package | Description |
---|---|
com.sleepycat.dbxml |
Berkeley DB XML Java API
[reference guide]. |
Modifier and Type | Method and Description |
---|---|
void |
XmlDebugListener.error(XmlException error,
XmlStackFrame stack)
This method is called if an error occurs during query evaluation.
|
Modifier and Type | Method and Description |
---|---|
void |
XmlTransaction.abort()
Cause an abnormal termination of the transaction.
|
void |
XmlResults.add(XmlValue value)
Adds the specified
XmlValue to the end of the results set. |
boolean |
XmlContainer.addAlias(java.lang.String alias)
Adds a new named alias for the container.
|
void |
XmlIndexSpecification.addDefaultIndex(int type,
int syntax)
Adds an indexing strategy to the default index specification.
|
void |
XmlIndexSpecification.addDefaultIndex(java.lang.String index)
Adds a single indexing strategy to the default index.
|
void |
XmlContainer.addDefaultIndex(java.lang.String index)
Adds a default index to the container.
|
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)
Adds a default index to the container in the scope of a transaction.
|
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 |
XmlIndexSpecification.addIndex(java.lang.String uri,
java.lang.String name,
int type,
int syntax)
Identifies an indexing strategy to set for the identified node.
|
void |
XmlContainer.addIndex(java.lang.String uri,
java.lang.String name,
int indexType,
int syntaxType)
Adds an index of the specified type for the named document node.
|
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 |
XmlIndexSpecification.addIndex(java.lang.String uri,
java.lang.String name,
java.lang.String index)
Adds an index to the index specification.
|
void |
XmlContainer.addIndex(java.lang.String uri,
java.lang.String name,
java.lang.String index)
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)
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,
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)
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 |
XmlData.adoptBuffer(XmlData src)
Takes control of the buffer in src, leaving src empty.
|
void |
XmlData.append(byte[] data)
Copies data onto the end of the existing data in the buffer.
|
byte[] |
XmlValue.asBinary()
Returns the value as a byte array.
|
boolean |
XmlValue.asBoolean()
Returns the value as a
XmlValue.BOOLEAN . |
XmlDocument |
XmlValue.asDocument()
Returns the value as an
XmlDocument . |
XmlEventReader |
XmlValue.asEventReader()
Returns the value as an
XmlEventReader . |
XmlEventWriter |
XmlResults.asEventWriter()
Returns an instance of
XmlEventWriter that can be used to write events to construct
content in the XmlResults object. |
double |
XmlValue.asNumber()
Returns the value as a
XmlValue.DOUBLE . |
java.lang.String |
XmlValue.asString()
Returns the value as a
XmlValue.STRING . |
void |
XmlQueryContext.clearNamespaces()
Remove all namespace mappings from the query context.
|
void |
XmlExternalFunction.close()
This method is called when the query has finished using the object.
|
void |
XmlEventReader.close()
Free the resources associated with this object.
|
void |
XmlManager.close()
Close the XmlManager instance.
|
void |
XmlEventWriter.close()
Complete the
XmlContainer.putDocumentAsEventWriter(com.sleepycat.dbxml.XmlDocument) operation,
and free the resources associated with this object. |
void |
XmlContainer.close()
This is a synonym for
XmlContainer.delete() |
void |
XmlTransaction.commit()
End the transaction.
|
void |
XmlTransaction.commitNoSync()
End the transaction without flushing the log.
|
void |
XmlTransaction.commitSync()
End the transaction and synchronously flush the log.
|
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.
|
boolean |
XmlCompression.compress(XmlTransaction txn,
XmlData source,
XmlData dest)
This method is called to compress the source into the destination.
|
void |
XmlResults.concatResults(XmlResults from)
Concatenates the
XmlValue objects from one XmlResults instance
into another. |
XmlResults |
XmlResults.copyResults()
Returns a copy of the
XmlResults object. |
XmlContainer |
XmlManager.createContainer(java.lang.String name)
Creates and opens a container, returning a handle to an
XmlContainer object. |
XmlContainer |
XmlManager.createContainer(java.lang.String name,
XmlContainerConfig config)
Creates a container, returning a handle to an
XmlContainer object. |
XmlContainer |
XmlManager.createContainer(XmlTransaction txn,
java.lang.String name)
Creates and opens a container in the context of a transaction, returning a handle to an
XmlContainer object. |
XmlContainer |
XmlManager.createContainer(XmlTransaction txn,
java.lang.String name,
XmlContainerConfig config)
Creates a container in the scope of a transaction, returning a handle to an
XmlContainer object. |
XmlDocument |
XmlManager.createDocument()
Instantiate a
XmlDocument object. |
XmlIndexLookup |
XmlManager.createIndexLookup(XmlContainer container,
java.lang.String uri,
java.lang.String name,
java.lang.String index)
Returns a
XmlIndexLookup object that can be executed to perform
and index lookup on a container. |
XmlIndexLookup |
XmlManager.createIndexLookup(XmlContainer container,
java.lang.String uri,
java.lang.String name,
java.lang.String index,
XmlValue value)
Returns a
XmlIndexLookup object that can be executed to perform
and index lookup on a container. |
XmlIndexLookup |
XmlManager.createIndexLookup(XmlContainer container,
java.lang.String uri,
java.lang.String name,
java.lang.String index,
XmlValue value,
int op)
Returns a
XmlIndexLookup object that can be executed to perform
and index lookup on a container. |
XmlInputStream |
XmlManager.createInputStream(java.io.InputStream is)
Returns a
XmlInputStream that wraps a InputStream . |
XmlInputStream |
XmlManager.createLocalFileInputStream(java.lang.String filename)
Returns a
XmlInputStream to the file filename . |
XmlInputStream |
XmlManager.createMemBufInputStream(java.lang.String buffer,
int bufLen,
boolean copyBuf)
Returns a
XmlInputStream for the buffer buffer . |
XmlQueryContext |
XmlManager.createQueryContext()
Creates a new
XmlQueryContext . |
XmlQueryContext |
XmlManager.createQueryContext(int rt)
Creates a new
XmlQueryContext . |
XmlQueryContext |
XmlManager.createQueryContext(int rt,
int et)
Creates a new
XmlQueryContext . |
XmlResults |
XmlManager.createResults()
Instantiates an new, empty
XmlResults object. |
XmlInputStream |
XmlManager.createStdInInputStream()
Returns an
XmlInputStream to the console. |
XmlTransaction |
XmlManager.createTransaction()
Creates a new
XmlTransaction object by calling Environment.beginTransaction(com.sleepycat.db.Transaction, com.sleepycat.db.TransactionConfig) . |
XmlTransaction |
XmlManager.createTransaction(Transaction toUse)
Creates a new
XmlTransaction object by adopting the provided transaction handle. |
XmlTransaction |
XmlManager.createTransaction(Transaction parent,
TransactionConfig config)
Creates a new
XmlTransaction object by calling Environment.beginTransaction(com.sleepycat.db.Transaction, com.sleepycat.db.TransactionConfig) with the supplied parent transaction. |
XmlUpdateContext |
XmlManager.createUpdateContext()
Instantiates a new, default,
XmlUpdateContext object. |
XmlInputStream |
XmlManager.createURLInputStream(java.lang.String baseId,
java.lang.String systemId)
Creates an input stream to the identified URL.
|
XmlInputStream |
XmlManager.createURLInputStream(java.lang.String baseId,
java.lang.String systemId,
java.lang.String publicId)
Creates an input stream to the identified URL.
|
long |
XmlInputStream.curPos()
Returns the number of bytes currently read from the beginning of the
input stream.
|
boolean |
XmlCompression.decompress(XmlTransaction txn,
XmlData source,
XmlData dest)
This method is called to decompress the source into the destination.
|
void |
XmlIndexSpecification.deleteDefaultIndex(int type,
int syntax)
Delete the identified index from the default index specification.
|
void |
XmlIndexSpecification.deleteDefaultIndex(java.lang.String index)
Deletes one or more indexing strategies to the default index.
|
void |
XmlContainer.deleteDefaultIndex(java.lang.String index)
Deletes the default index for the container.
|
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)
Deletes the default index for the container in the scope of a transaction.
|
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)
Removes the named document from the container.
|
void |
XmlContainer.deleteDocument(java.lang.String name,
XmlUpdateContext context)
Removes the named document from the container.
|
void |
XmlContainer.deleteDocument(XmlDocument document)
Removes the specified
XmlDocument 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)
Removes the named document from the container in the scope of a
transaction.
|
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)
Removes the specified
XmlDocument 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 |
XmlIndexSpecification.deleteIndex(java.lang.String uri,
java.lang.String name,
int type,
int syntax)
Deletes a single index strategy from the identified node.
|
void |
XmlIndexSpecification.deleteIndex(java.lang.String uri,
java.lang.String name,
java.lang.String index)
Deletes indexing strategies for a named document or metadata node.
|
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.dumpContainer(java.lang.String name,
java.lang.String filename)
Dumps the contents of the specified container to the specified output
file.
|
boolean |
XmlEventReader.encodingSet()
Return whether the encoding is explicitly set in the XML
declaration for the document.
|
void |
XmlDebugListener.end(XmlStackFrame stack)
This method is called when BDB XML ends evaluation of a sub-expression.
|
void |
XmlDebugListener.enter(XmlStackFrame stack)
This method is called when BDB XML requests results from a sub-expression.
|
boolean |
XmlDocument.equals(XmlDocument other)
Compares two XmlDocuments.
|
boolean |
XmlValue.equals(XmlValue value)
Determines if two
XmlValue objects represent the same value. |
void |
XmlDebugListener.error(XmlException error,
XmlStackFrame stack)
This method is called if an error occurs during query evaluation.
|
XmlResults |
XmlQueryExpression.execute(XmlQueryContext queryContext)
Evaluates the XQuery expression against the containers and documents
identified by the query.
|
XmlResults |
XmlIndexLookup.execute(XmlQueryContext context)
Executes the index lookup operation specified by the configuration
of the
XmlIndexLookup object. |
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 |
XmlExternalFunction.execute(XmlTransaction txn,
XmlManager mgr,
XmlArguments args)
This method is called from within a query to execute the function for
which the instance was implemented.
|
XmlResults |
XmlQueryExpression.execute(XmlTransaction txn,
XmlQueryContext queryContext)
Evaluates the XQuery expression against the containers and documents
identified by the query, from within the scope of the provided
XmlTransaction object. |
XmlResults |
XmlIndexLookup.execute(XmlTransaction txn,
XmlQueryContext context)
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)
Evaluates the XQuery expression against the provided context item in the given query context, from within the scope of the provided
XmlTransaction 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)
Evaluates the XQuery expression against the provided context item in the given query context.
|
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.
|
int |
XmlManager.existsContainer(java.lang.String name)
See if a container exists.
|
void |
XmlDebugListener.exit(XmlStackFrame stack)
This method is called when a sub-expression has finished calculating the results
requested.
|
void |
XmlDocument.fetchAllData()
This method causes all document data and metadata to be retrieved.
|
XmlIndexDeclaration |
XmlIndexSpecification.find(java.lang.String uri,
java.lang.String name)
Returns the indexing strategies for a named document or metadata node.
|
java.lang.String |
XmlMetaData.get_name()
Get the name used for the metadata item retrieved by this method.
|
int |
XmlData.get_size()
Returns the number of bytes of the data in the buffer.
|
java.lang.String |
XmlMetaData.get_uri()
Get the URI used for the metadata item retrieved by this method.
|
XmlValue |
XmlMetaData.get_value()
Contains the
XmlValue contained by the metadata item retrieved by this method. |
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. |
XmlResults |
XmlArguments.getArgument(int index)
Gets the argument at the specified index.
|
int |
XmlEventReader.getAttributeCount()
Return the number of attributes for a StartElement event.
|
java.lang.String |
XmlEventReader.getAttributeLocalName(int index)
Return the local name of the attribute specified by the index parameter.
|
java.lang.String |
XmlEventReader.getAttributeNamespaceURI(int index)
Return the namespace URI of the attribute specified by the index parameter.
|
java.lang.String |
XmlEventReader.getAttributePrefix(int index)
Return the prefix of the attribute specified by the index parameter.
|
XmlResults |
XmlValue.getAttributes()
Returns returns a
XmlResults that contains all of the attributes
appearing on this node. |
java.lang.String |
XmlEventReader.getAttributeValue(int index)
Return the text value of the attribute specified by the index parameter.
|
boolean |
XmlContainer.getAutoIndexing()
Retrieves the current state of automatic indexing for the container.
|
boolean |
XmlContainer.getAutoIndexing(XmlTransaction txn)
Retrieves the current state of automatic indexing for the container in the scope of a transaction.
|
java.lang.String |
XmlQueryContext.getBaseURI()
Returns the base URI set for this XmlQueryContext object.
|
XmlContainer |
XmlIndexLookup.getContainer()
Gets the container on which the index lookup operation is to be
performed.
|
XmlContainerConfig |
XmlContainer.getContainerConfig()
Returns a copy of the configuration object for the container.
|
int |
XmlContainer.getContainerType()
Returns the container's type.
|
byte[] |
XmlDocument.getContent()
Returns the document's content as a byte array.
|
XmlEventReader |
XmlDocument.getContentAsEventReader()
Returns the document's content as an
XmlEventReader . |
void |
XmlDocument.getContentAsEventWriter(XmlEventWriter writer)
Writes the document's content as events to the specified
XmlEventWriter , then calls XmlEventWriter.close() to
release resources. |
java.io.InputStream |
XmlDocument.getContentAsInputStream()
Returns the document's content as an
InputStream . |
java.lang.String |
XmlDocument.getContentAsString()
Returns the document's content as a string.
|
XmlInputStream |
XmlDocument.getContentAsXmlInputStream()
Returns the document's content as an
XmlInputStream . |
XmlDebugListener |
XmlQueryContext.getDebugListener()
Gets the
XmlDebugListener associated with this query context. |
java.lang.String |
XmlQueryContext.getDefaultCollection()
Returns the default collection for use in fn:collection() with no
arguments in an XQuery expression.
|
XmlContainerConfig |
XmlManager.getDefaultContainerConfig()
Gets the default configuration object used for containers opened and created by this
XmlManager object.
|
int |
XmlManager.getDefaultContainerType()
Returns the default type used for containers opened and created by this
XmlManager object.
|
java.lang.String |
XmlIndexSpecification.getDefaultIndex()
Retrieves the default index.
|
int |
XmlManager.getDefaultPageSize()
Gets the size of the pages used to store documents in the database.
|
int |
XmlManager.getDefaultSequenceIncrement()
Returns the integer increment to be used when pre-allocating document ids for new documents created by
XmlContainer.putDocument(com.sleepycat.dbxml.XmlDocument) . |
XmlDocument |
XmlContainer.getDocument(java.lang.String name)
Returns the
XmlDocument with the specified name. |
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)
Returns the
XmlDocument with the specified name in the scope of a
transaction. |
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. |
java.lang.String |
XmlEventReader.getEncoding()
Return the character encoding.
|
Environment |
XmlManager.getEnvironment()
Returns a handle to the underlying database environment.
|
int |
XmlQueryContext.getEvaluationType()
Returns the evaluation type defined for this
XmlQueryContext . |
int |
XmlResults.getEvaluationType()
Gets the evaluation type of the
XmlResults object. |
int |
XmlEventReader.getEventType()
Return the event type of the current position.
|
boolean |
XmlEventReader.getExpandEntities()
Determine whether you will read events that are
part of an expanded entity reference.
|
XmlValue |
XmlValue.getFirstChild()
Returns current node's first child node.
|
int |
XmlIndexLookup.getHighBoundOperation()
Gets the operation to be used for the upper bound for a
range index lookup operation.
|
XmlValue |
XmlIndexLookup.getHighBoundValue()
Gets the value to be used for the upper bound for a
range index lookup operation.
|
java.lang.String |
XmlManager.getHome()
Returns the home directory for the underlying database environment.
|
int |
XmlManager.getImplicitTimezone()
Gets the implicit timezone to be used for XQuery expressions,
in offset in minutes from GMT.
|
java.lang.String |
XmlIndexLookup.getIndex()
Gets the indexing strategy to be used for the index lookup operation.
|
boolean |
XmlContainer.getIndexNodes()
Returns whether or not the container is indexing at the node level.
|
XmlIndexSpecification |
XmlContainer.getIndexSpecification()
Retrieves the current index specification for the container.
|
XmlIndexSpecification |
XmlContainer.getIndexSpecification(XmlTransaction txn)
Retrieves the current index specification for the container in the scope of a transaction.
|
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. |
XmlValue |
XmlValue.getLastChild()
Returns current node's last child node.
|
java.lang.String |
XmlEventReader.getLocalName()
Return the local name of the event at the current
position.
|
java.lang.String |
XmlValue.getLocalName()
Returns the node's local name.
|
int |
XmlIndexLookup.getLowBoundOperation()
Gets the operation to be used for the lower bound for a
range index lookup operation, or the single operation for
a simple inequality lookup.
|
XmlValue |
XmlIndexLookup.getLowBoundValue()
Gets the value to be used for the lower bound for a
range index lookup operation, or the single operation for
a simple inequality lookup.
|
XmlManager |
XmlContainer.getManager()
Returns the
XmlManager object for the XmlContainer. |
XmlManagerConfig |
XmlManager.getManagerConfig()
Gets the configuration object for this XmlManager instance.
|
byte[] |
XmlDocument.getMetaData(java.lang.String uri,
java.lang.String name)
Returns the value of the specified binary metadata.
|
boolean |
XmlDocument.getMetaData(java.lang.String uri,
java.lang.String name,
XmlValue value)
Returns the value of the specified metadata.
|
XmlMetaDataIterator |
XmlDocument.getMetaDataIterator()
Returns an
XmlMetaDataIterator . |
java.lang.String |
XmlDocument.getName()
Get the name of the document.
|
java.lang.String |
XmlContainer.getName()
Returns the name of the XmlContainer.
|
java.lang.String |
XmlQueryContext.getNamespace(java.lang.String prefix)
Returns the namespace URI for the specified prefix.
|
java.lang.String |
XmlEventReader.getNamespaceURI()
Return the namespace URI of the event at the current
position.
|
java.lang.String |
XmlValue.getNamespaceURI()
Returns the URI used for the node's namespace.
|
XmlValue |
XmlValue.getNextSibling()
Returns the sibling node immediately following this node in the
document.
|
XmlResults |
XmlContainer.getNode(java.lang.String handle)
Returns the
XmlResults which contains the object associated with the specified handle. |
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. |
java.lang.String |
XmlValue.getNodeHandle()
Returns a String handle that can be used to directly reference
nodes within a document by using
XmlContainer.getNode(java.lang.String) |
java.lang.String |
XmlIndexLookup.getNodeName()
Gets the name of the node to be used along with the indexing strategy
for the index lookup operation.
|
java.lang.String |
XmlValue.getNodeName()
Returns the name of the node contained in this XmlValue.
|
short |
XmlValue.getNodeType()
Returns the short value for this node's node type (e.g.
|
java.lang.String |
XmlIndexLookup.getNodeURI()
Gets the uri of the node to be used along with the indexing strategy
for the index lookup operation.
|
java.lang.String |
XmlValue.getNodeValue()
Returns the node's value.
|
long |
XmlArguments.getNumberOfArgs()
Gets the number of arguments available in the object.
|
double |
XmlStatistics.getNumberOfIndexedKeys()
Returns the total number of keys contained by the index for which
statistics are being reported.
|
double |
XmlStatistics.getNumberOfUniqueKeys()
Returns the number of unique keys contained in the index for which
statistics are being reported.
|
int |
XmlContainer.getNumDocuments()
Returns the number of
XmlDocument objects in the container. |
int |
XmlContainer.getNumDocuments(XmlTransaction txn)
Returns the number of
XmlDocument objects in the container,
in the context of a transaction. |
XmlValue |
XmlValue.getOwnerElement()
If the current node is an attribute node, returns the document element
node that contains this attribute node.
|
int |
XmlContainer.getPageSize()
Returns the underlying database page size for the container.
|
java.lang.String |
XmlIndexLookup.getParentName()
Gets the name of the parent node to be used for an edge index
lookup operation.
|
XmlValue |
XmlValue.getParentNode()
Returns current node's parent.
|
java.lang.String |
XmlIndexLookup.getParentURI()
Gets the uri of the parent node to be used for an edge index
lookup operation.
|
java.lang.String |
XmlEventReader.getPrefix()
Return the namespace prefix of the event at the current
position.
|
java.lang.String |
XmlValue.getPrefix()
Returns the prefix set for the node's namespace.
|
XmlValue |
XmlValue.getPreviousSibling()
Returns the sibling node immediately preceding this node in the
document.
|
XmlStackFrame |
XmlStackFrame.getPreviousStackFrame()
Returns the previous stack frame or null if this is the first stack frame.
|
java.lang.String |
XmlQueryExpression.getQuery()
Returns the query as a string.
|
int |
XmlStackFrame.getQueryColumn()
Returns the column number of the position in the query represented by this stack frame.
|
java.lang.String |
XmlStackFrame.getQueryFile()
Returns the URI of the query represented by this stack frame.
|
int |
XmlStackFrame.getQueryLine()
Returns the line number of the position in the query represented by this stack frame.
|
java.lang.String |
XmlQueryExpression.getQueryPlan()
Returns the query plan as a string.
|
java.lang.String |
XmlStackFrame.getQueryPlan()
Returns the query plan of the sub-expression represented by this stack frame.
|
int |
XmlQueryContext.getQueryTimeoutSeconds()
Returns the query timeout value set in
XmlQueryContext.setQueryTimeoutSeconds(int) . |
boolean |
XmlEventReader.getReportEntityInfo()
Determine whether you will read events indicating the
start and end of entity references and expansion.
|
int |
XmlData.getReservedSize()
Returns the size of the buffer in bytes.
|
int |
XmlQueryContext.getReturnType()
Retrieve the return type defined for this
XmlQueryContext . |
double |
XmlStatistics.getSumKeyValueSize()
Returns the sum of the key/value size, which is a measure of
the size of the index.
|
java.lang.String |
XmlEventReader.getSystemId()
Return the system ID of the document, if available.
|
Transaction |
XmlTransaction.getTransaction()
Get the transaction handle encapsulated by this object.
|
int |
XmlValue.getType()
|
java.lang.String |
XmlValue.getTypeName()
Returns the type name of the
XmlValue |
java.lang.String |
XmlValue.getTypeURI()
Returns the type URI of the
XmlValue |
java.lang.String |
XmlEventReader.getValue()
Return the text value of the current event.
|
static int |
XmlIndexSpecification.getValueType(java.lang.String index)
Gets the
XmlValue type specified in the given index string. |
XmlValue |
XmlQueryContext.getVariableValue(java.lang.String name)
Returns the value that is bound to the specified variable.
|
XmlResults |
XmlQueryContext.getVariableValues(java.lang.String name)
Returns the
XmlResults object representing the sequence of
values that is bound to the specified variable. |
java.lang.String |
XmlEventReader.getVersion()
Return the XML version string.
|
boolean |
XmlEventReader.hasEmptyElementInfo()
Return whether the implementation keeps track of empty elements.
|
boolean |
XmlEventReader.hasEntityEscapeInfo()
Return whether the object is able to accurately determine if
a given text value may require escaping of entities.
|
boolean |
XmlEventReader.hasNext()
Return true if there is another valid event remaining
|
boolean |
XmlResults.hasNext()
Returns true if there is another element in the results set.
|
boolean |
XmlResults.hasPrevious()
Returns true if there is a previous element in the results set.
|
void |
XmlQueryContext.interruptQuery()
Interrupt the in-progress query using this
XmlQueryContext . |
boolean |
XmlEventReader.isAttributeSpecified(int index)
Return whether the attribute specified by the index is specified
in the document (vs defaulted).
|
boolean |
XmlValue.isBoolean()
Returns true if the
XmlValue is one of type XmlValue.BOOLEAN . |
boolean |
XmlEventReader.isEmptyElement()
Return whether the current event is StartElement with an empty element.
|
boolean |
XmlValue.isNode()
Returns true if the
XmlValue is of type XmlValue.NODE . |
void |
XmlResults.isNull()
Return true if this is an uninitialized object
|
boolean |
XmlValue.isNull()
Returns true if the
XmlValue has no value (type XmlValue.NONE ). |
boolean |
XmlValue.isNumber()
Returns true if the
XmlValue is one of the numeric types,
such as XmlValue.DOUBLE , XmlValue.FLOAT , etc. |
boolean |
XmlEventReader.isStandalone()
Return whether the document is standalone.
|
boolean |
XmlValue.isString()
Returns true if the
XmlValue is one of type XmlValue.STRING . |
boolean |
XmlValue.isType(int type)
Indicates whether the
XmlValue is of the specified type. |
boolean |
XmlQueryExpression.isUpdateExpression()
Returns true if the query is an updating expression.
|
boolean |
XmlEventReader.isWhiteSpace()
Return whether the current text value is entirely white space.
|
void |
XmlManager.loadContainer(java.lang.String name,
java.lang.String filename,
XmlUpdateContext uc)
Loads data from the specified file into the container.
|
XmlResults |
XmlContainer.lookupIndex(XmlQueryContext context,
java.lang.String uri,
java.lang.String name,
java.lang.String index)
|
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)
|
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)
|
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)
|
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 index)
|
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)
|
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)
|
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)
|
XmlResults |
XmlContainer.lookupIndex(XmlTransaction txn,
XmlQueryContext context,
java.lang.String uri,
java.lang.String name,
java.lang.String index,
XmlValue value,
XmlDocumentConfig config)
|
XmlStatistics |
XmlContainer.lookupStatistics(java.lang.String uri,
java.lang.String name,
java.lang.String index)
Returns an
XmlStatistics object for the identified index. |
XmlStatistics |
XmlContainer.lookupStatistics(java.lang.String uri,
java.lang.String name,
java.lang.String parentUri,
java.lang.String parentName,
java.lang.String index)
Lookup statistics for the identified edge index.
|
XmlStatistics |
XmlContainer.lookupStatistics(java.lang.String uri,
java.lang.String name,
java.lang.String parentUri,
java.lang.String parentName,
java.lang.String index,
XmlValue value)
Lookup statistics for the identified edge index.
|
XmlStatistics |
XmlContainer.lookupStatistics(java.lang.String uri,
java.lang.String name,
java.lang.String index,
XmlValue value)
Returns an
XmlStatistics object for the identified index. |
XmlStatistics |
XmlContainer.lookupStatistics(XmlTransaction txn,
java.lang.String uri,
java.lang.String name,
java.lang.String index)
Returns an
XmlStatistics object for the identified index. |
XmlStatistics |
XmlContainer.lookupStatistics(XmlTransaction txn,
java.lang.String uri,
java.lang.String name,
java.lang.String parentUri,
java.lang.String parentName,
java.lang.String index)
Lookup statistics for the identified edge index in the scope of a transaction.
|
XmlStatistics |
XmlContainer.lookupStatistics(XmlTransaction txn,
java.lang.String uri,
java.lang.String name,
java.lang.String parentUri,
java.lang.String parentName,
java.lang.String index,
XmlValue value)
Lookup statistics for the identified edge index in the scope of a transaction.
|
XmlStatistics |
XmlContainer.lookupStatistics(XmlTransaction txn,
java.lang.String uri,
java.lang.String name,
java.lang.String index,
XmlValue value)
Returns an
XmlStatistics object for the identified index. |
boolean |
XmlEventReader.needsEntityEscape()
Return whether the text value of the current event requires escaping.
|
boolean |
XmlEventReader.needsEntityEscape(int index)
Return whether the text value of the attribute specified by the index parameter
requires escaping.
|
XmlMetaData |
XmlMetaDataIterator.next()
Returns the next item in the
XmlDocument 's metadata list. |
int |
XmlEventReader.next()
Move to the next event, returning its type.
|
XmlIndexDeclaration |
XmlIndexSpecification.next()
Obtains the next index in the
XmlIndexSpecification . |
XmlValue |
XmlResults.next()
Retrieves the next value in the result set.
|
boolean |
XmlResults.next(XmlDocument document)
Retrieves the next value in the result set as a document.
|
int |
XmlEventReader.nextTag()
Move to the next event that is of type StartElement, EndElement, returning its type.
|
XmlContainer |
XmlManager.openContainer(java.lang.String name)
Opens a container, returning a handle to an
XmlContainer object. |
XmlContainer |
XmlManager.openContainer(java.lang.String name,
XmlContainerConfig config)
Opens a container, returning a handle to an
XmlContainer object. |
XmlContainer |
XmlManager.openContainer(XmlTransaction txn,
java.lang.String name)
Opens a container in the context of a transaction, returning a handle to an
XmlContainer object. |
XmlContainer |
XmlManager.openContainer(XmlTransaction txn,
java.lang.String name,
XmlContainerConfig config)
Opens a container, returning a handle to an
XmlContainer object. |
XmlValue |
XmlResults.peek()
Returns the current element in the results set without moving the internal iterator.
|
boolean |
XmlResults.peek(XmlDocument document)
Returns the current element in the results set as an XmlDocument without moving the internal iterator.
|
XmlQueryExpression |
XmlManager.prepare(java.lang.String query,
XmlQueryContext context)
Compile an XQuery expression into an
XmlQueryExpression object. |
XmlQueryExpression |
XmlManager.prepare(XmlTransaction txn,
java.lang.String query,
XmlQueryContext context)
Compile an XQuery expression into an
XmlQueryExpression object. |
XmlValue |
XmlResults.previous()
Retrieves the previous value in the result set.
|
boolean |
XmlResults.previous(XmlDocument document)
Retrieves the next value in the result set as a document.
|
java.lang.String |
XmlContainer.putDocument(java.lang.String name,
java.lang.String contents)
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,
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 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)
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,
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)
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)
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,
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)
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)
Inserts an
XmlDocument into the container, with configuration options. |
void |
XmlContainer.putDocument(XmlDocument document,
XmlDocumentConfig config)
Inserts an
XmlDocument into the container, with configuration options. |
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 content)
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,
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 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)
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,
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)
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)
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,
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)
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)
Inserts an
XmlDocument 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)
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)
Prepares to insert an
XmlDocument into the container, using
the returned XmlEventWriter . |
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)
Prepares to insert an
XmlDocument into the container, using
the returned XmlEventWriter . |
XmlEventWriter |
XmlContainer.putDocumentAsEventWriter(XmlTransaction txn,
XmlDocument document)
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,
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)
Prepares to insert an
XmlDocument into the container, using
the returned XmlEventWriter , in the scope of a transaction. |
XmlResults |
XmlStackFrame.query(java.lang.String queryString)
Prepares and executes the query given in the dynamic context of the stack frame.
|
XmlResults |
XmlManager.query(java.lang.String query,
XmlQueryContext context)
Executes a query in the context of the XmlManager object.
|
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)
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.
|
long |
XmlInputStream.readBytes(byte[] toFill,
long maxToRead)
Reads
maxToRead number of bytes from the input stream and
places those bytes in toFill . |
void |
XmlManager.registerCompression(java.lang.String name,
XmlCompression compression)
Identifies by name an
XmlCompression object to be used for compression. |
void |
XmlManager.registerResolver(XmlResolver resolver)
Identifies an
XmlResolver object to be used for file resolution. |
void |
XmlManager.reindexContainer(java.lang.String name,
XmlContainerConfig config)
Reindex a container.
|
void |
XmlManager.reindexContainer(java.lang.String name,
XmlUpdateContext context,
XmlContainerConfig config)
Reindex a container.
|
void |
XmlManager.reindexContainer(XmlTransaction txn,
java.lang.String name,
XmlContainerConfig config)
Reindex a container.
|
void |
XmlManager.reindexContainer(XmlTransaction txn,
java.lang.String name,
XmlUpdateContext context,
XmlContainerConfig config)
Reindex a container.
|
boolean |
XmlContainer.removeAlias(java.lang.String alias)
Removes the named alias from the container.
|
void |
XmlManager.removeContainer(java.lang.String name)
Removes the underlying file for the container from the file system.
|
void |
XmlManager.removeContainer(XmlTransaction txn,
java.lang.String name)
Removes the underlying file for the container from the file system in the context of a transaction.
|
void |
XmlDocument.removeMetaData(java.lang.String uri,
java.lang.String name)
Removes the identified metadata from the document.
|
void |
XmlQueryContext.removeNamespace(java.lang.String prefix)
Remove the namespace prefix to URI mapping for the specified prefix.
|
void |
XmlManager.renameContainer(java.lang.String oldName,
java.lang.String newName)
Renames the container's underlying file.
|
void |
XmlManager.renameContainer(XmlTransaction txn,
java.lang.String oldName,
java.lang.String newName)
Renames the container's underlying file in the context of a transaction.
|
void |
XmlIndexSpecification.replaceDefaultIndex(int type,
int syntax)
Replaces the default indexing strategy for the container.
|
void |
XmlIndexSpecification.replaceDefaultIndex(java.lang.String index)
Identifies one or more indexing strategies to set for the default index.
|
void |
XmlContainer.replaceDefaultIndex(java.lang.String index)
Replaces the container's default index.
|
void |
XmlContainer.replaceDefaultIndex(java.lang.String index,
XmlUpdateContext context)
Replaces the container's default index.
|
void |
XmlContainer.replaceDefaultIndex(XmlTransaction txn,
java.lang.String index)
Replaces the container's default index in the scope of a transaction.
|
void |
XmlContainer.replaceDefaultIndex(XmlTransaction txn,
java.lang.String index,
XmlUpdateContext context)
Replaces the container's default index in the scope of a transaction.
|
void |
XmlIndexSpecification.replaceIndex(java.lang.String uri,
java.lang.String name,
int type,
int syntax)
Replaces the indexing strategies for a named document or metadata node.
|
void |
XmlIndexSpecification.replaceIndex(java.lang.String uri,
java.lang.String name,
java.lang.String index)
Replaces the indexing strategies for a named document or metadata node.
|
void |
XmlContainer.replaceIndex(java.lang.String uri,
java.lang.String name,
java.lang.String index)
Replaces an index of the specified type for the named document node.
|
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)
Replaces an index of the specified type for the named document node in the scope of a transaction.
|
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 |
XmlData.reserve(int size)
Allocates a buffer of size bytes.
|
void |
XmlMetaDataIterator.reset()
Sets the iterator to the beginning of the
XmlDocument 's metadata list. |
void |
XmlIndexSpecification.reset()
Resets the index specification iterator to the beginning of the index
list.
|
void |
XmlResults.reset()
A call to this method resets the result set iterator, so that a subsequent call to
XmlResults.next() method will return the first value in the result set. |
boolean |
XmlResolver.resolveCollection(XmlTransaction txn,
XmlManager mgr,
java.lang.String uri,
XmlResults result)
When implemented, should resolve a URI to an
XmlResults . |
boolean |
XmlResolver.resolveDocument(XmlTransaction txn,
XmlManager mgr,
java.lang.String uri,
XmlValue result)
When implemented, should resolve a URI to an
XmlValue . |
XmlInputStream |
XmlResolver.resolveEntity(XmlTransaction txn,
XmlManager mgr,
java.lang.String systemId,
java.lang.String publicId)
When implemented, should resolve a System ID and Public ID to a new
XmlInputStream . |
XmlExternalFunction |
XmlResolver.resolveExternalFunction(XmlTransaction txn,
XmlManager mgr,
java.lang.String uri,
java.lang.String name,
int numberOfArgs)
When implemented this method resolves a unigue combination of function URI,
function name and number of arguments into an instance of
XmlExternalFunction
used to implement an XQuery extension function. |
XmlInputStream |
XmlResolver.resolveModule(XmlTransaction txn,
XmlManager mgr,
java.lang.String moduleLocation,
java.lang.String namespace)
When implemented, should resolve a module location and namespace to a new
XmlInputStream . |
boolean |
XmlResolver.resolveModuleLocation(XmlTransaction txn,
XmlManager mgr,
java.lang.String nameSpace,
XmlResults result)
When implemented, should resolve a module namespace to list
of strings that are locations for the files that comprise the
module.
|
XmlInputStream |
XmlResolver.resolveSchema(XmlTransaction txn,
XmlManager mgr,
java.lang.String schemaLocation,
java.lang.String nameSpace)
When implemented, should resolve schema location and namespace
information to a new
XmlInputStream . |
void |
XmlData.set_size(int size)
Sets the size of the data in the buffer in bytes.
|
void |
XmlData.set(byte[] data)
Copies data into the buffer.
|
void |
XmlContainer.setAutoIndexing(boolean value)
Sets the current state of automatic indexing for the container.
|
void |
XmlContainer.setAutoIndexing(XmlTransaction txn,
boolean value)
Sets the current state of automatic indexing for the container in the scope of a transaction.
|
void |
XmlQueryContext.setBaseURI(java.lang.String baseURI)
Sets the base URI used for relative paths in query expressions.
|
void |
XmlIndexLookup.setContainer(XmlContainer container)
Sets the container on which the index lookup operation is to be
performed.
|
void |
XmlDocument.setContent(byte[] content)
Sets the document's content to the provided byte array.
|
void |
XmlDocument.setContent(java.lang.String content)
Sets the document's content to the provided string.
|
void |
XmlDocument.setContentAsEventReader(XmlEventReader reader)
Sets the document's content to the provided
XmlEventReader . |
void |
XmlDocument.setContentAsXmlInputStream(XmlInputStream adopted)
Sets the document's content to the provided content.
|
void |
XmlQueryContext.setDebugListener(XmlDebugListener listener)
Associates an
XmlDebugListener instance with the query context in order
to debug queries. |
void |
XmlQueryContext.setDefaultCollection(java.lang.String uri)
Sets the default collection for use in fn:collection() with no
arguments in an XQuery expression.
|
void |
XmlManager.setDefaultContainerConfig(XmlContainerConfig config)
Sets the default configuration object used for containers opened and created by this
XmlManager object.
|
void |
XmlManager.setDefaultContainerType(int type)
Sets the default type used for containers opened and created by this
XmlManager object.
|
void |
XmlManager.setDefaultPageSize(int pageSize)
Sets the size of the pages
used to store documents in the database.
|
void |
XmlManager.setDefaultSequenceIncrement(int incr)
Sets the integer increment to be used when pre-allocating document ids for new documents created by
XmlContainer.putDocument(com.sleepycat.dbxml.XmlDocument) . |
void |
XmlQueryContext.setEvaluationType(int type)
Allows the application to set the query evaluation type to "eager" or
"lazy".
|
void |
XmlEventReader.setExpandEntities(boolean value)
Tell the object whether you want to read events that are
part of an expanded entity reference.
|
void |
XmlIndexLookup.setHighBound(XmlValue value,
int op)
Sets the operation and value to be used for the upper bound for a
range index lookup operation.
|
void |
XmlManager.setImplicitTimezone(int tz)
Sets the implicit timezone to be used for XQuery expressions
|
void |
XmlIndexLookup.setIndex(java.lang.String index)
Sets the indexing strategy to be used for the index lookup operation.
|
void |
XmlContainer.setIndexSpecification(XmlIndexSpecification index)
Defines the type of indexing to be maintained for a container of
documents.
|
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)
Defines the type of indexing to be maintained for a container of
documents in the scope of a transaction.
|
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.
|
static void |
XmlManager.setLogCategory(int category,
boolean enabled)
Enable or disable a category of log messages.
|
static void |
XmlManager.setLogLevel(int level,
boolean enabled)
Enable or disable log messages of a given level of importance.
|
void |
XmlIndexLookup.setLowBound(XmlValue value,
int op)
Sets the operation and value to be used for the index lookup operation.
|
void |
XmlDocument.setMetaData(java.lang.String uri,
java.lang.String name,
byte[] value)
Sets the value of the specified binary document metadata.
|
void |
XmlDocument.setMetaData(java.lang.String uri,
java.lang.String name,
XmlValue value)
Sets the value of the specified document metadata.
|
void |
XmlDocument.setName(java.lang.String name)
Set the name of the document.
|
void |
XmlQueryContext.setNamespace(java.lang.String prefix,
java.lang.String uri)
Maps the specified URI to the specified namespace prefix.
|
void |
XmlIndexLookup.setNode(java.lang.String uri,
java.lang.String name)
Sets the name of the node to be used along with the indexing strategy
for the index lookup operation.
|
void |
XmlIndexLookup.setParent(java.lang.String uri,
java.lang.String name)
Sets the name of the parent node to be used for an edge index
lookup operation.
|
void |
XmlQueryContext.setQueryTimeoutSeconds(int seconds)
Sets the query timeout value for queries using this
XmlQueryContext . |
void |
XmlEventReader.setReportEntityInfo(boolean value)
Tell the object whether you want to read events indicating the
start and end of entity references and expansion.
|
void |
XmlQueryContext.setReturnType(int type)
Sets the return type of the query.
|
static void |
XmlValue.setValue(XmlValue to,
XmlValue from)
Assigns a new value to an existing one.
|
void |
XmlQueryContext.setVariableValue(java.lang.String name,
XmlResults value)
Creates an externally-declared XQuery sequence variable by binding
the specified
XmlResults object to the specified variable name. |
void |
XmlQueryContext.setVariableValue(java.lang.String name,
XmlValue value)
Creates an externally-declared XQuery variable by binding the specified
value to the specified variable name.
|
int |
XmlResults.size()
If a query was processed with eager evaluation, a call to this method returns the number of values in the result set.
|
boolean |
XmlEventReader.standaloneSet()
Return whether the standalone is set in the XML declaration for the document
|
void |
XmlEventReaderToWriter.start()
Perform the operation.
|
void |
XmlDebugListener.start(XmlStackFrame stack)
This method is called when BDB XML starts evaluation of a sub-expression.
|
void |
XmlContainer.sync()
Flush database pages for the container to disk.
|
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)
Updates an
XmlDocument in the container. |
void |
XmlContainer.updateDocument(XmlDocument document,
XmlUpdateContext context)
Updates an
XmlDocument in the container. |
void |
XmlContainer.updateDocument(XmlTransaction txn,
XmlDocument document)
Updates an
XmlDocument in the container in the scope of a transaction. |
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.
|
void |
XmlManager.verifyContainer(java.lang.String name,
java.lang.String filename)
Checks that the container data files are not corrupt, and optionally
writes the salvaged container data to the specified output stream.
|
void |
XmlManager.verifyContainer(java.lang.String name,
java.lang.String filename,
VerifyConfig config)
Checks that the container data files are not corrupt, and optionally
writes the salvaged container data to the specified output stream.
|
void |
XmlEventWriter.writeAttribute(java.lang.String localName,
java.lang.String prefix,
java.lang.String uri,
java.lang.String value,
boolean isSpecified)
Write an attribute to the event stream.
|
void |
XmlEventWriter.writeDTD(java.lang.String dtd)
Write a DTD (internal subset).
|
void |
XmlEventWriter.writeDTD(java.lang.String dtd,
int length)
Write a DTD (internal subset).
|
void |
XmlEventWriter.writeEndDocument()
Write the EndDocument event.
|
void |
XmlEventWriter.writeEndElement(java.lang.String localName,
java.lang.String prefix,
java.lang.String uri)
Write an EndElement event.
|
void |
XmlEventWriter.writeEndEntity(java.lang.String name)
Write an event indicating the end of content expanded
by an entity reference.
|
void |
XmlEventWriter.writeProcessingInstruction(java.lang.String target,
java.lang.String data)
Write a ProcessingInstruction event.
|
void |
XmlEventWriter.writeStartDocument(java.lang.String version,
java.lang.String encoding,
java.lang.String standalone)
Write the StartDocument event.
|
void |
XmlEventWriter.writeStartElement(java.lang.String localName,
java.lang.String prefix,
java.lang.String uri,
int numAttributes,
boolean isEmpty)
Write a StartElement event.
|
void |
XmlEventWriter.writeStartEntity(java.lang.String name,
boolean expandedInfoFollows)
Write an event indicating the start of an entity reference.
|
void |
XmlEventWriter.writeText(int type,
java.lang.String text)
Write a text event.
|
void |
XmlEventWriter.writeText(int type,
java.lang.String text,
int length)
Write a text event.
|
Constructor and Description |
---|
XmlContainer(XmlContainer o)
Copy constructor.
|
XmlDocument(XmlDocument o)
Copy constructor.
|
XmlEventReaderToWriter(XmlEventReader reader,
XmlEventWriter writer,
boolean ownsReader)
Construct an
XmlEventReaderToWriter instance from the parameters. |
XmlEventReaderToWriter(XmlEventReader reader,
XmlEventWriter writer,
boolean ownsReader,
boolean ownsWriter)
Construct an
XmlEventReaderToWriter instance from the parameters. |
XmlIndexLookup(XmlIndexLookup o)
Copy constructor
|
XmlManager()
Constructor that uses a private internal database environment.
|
XmlManager(Environment dbenv,
XmlManagerConfig config)
Constructor that uses the provided
Environment for the
underlying environment. |
XmlManager(XmlManagerConfig config)
Constructor that uses a private internal database environment.
|
XmlMetaDataIterator(XmlMetaDataIterator o)
Copy constructor.
|
XmlQueryContext(XmlQueryContext o)
Copy constructor.
|
XmlQueryExpression(XmlQueryExpression queryExpression)
Copy constructor.
|
XmlResults(XmlResults results)
Copy constructor.
|
XmlStatistics(XmlStatistics arg0)
Copy constructor.
|
XmlUpdateContext(XmlUpdateContext o)
Copy constructor.
|
XmlValue()
Public constructor.
|
XmlValue(boolean v)
Construct a value from a boolean.
|
XmlValue(double v)
Construct a value from a double.
|
XmlValue(int type,
byte[] dbt)
Construct a typed value from a byte array.
|
XmlValue(int type,
java.lang.String v)
Construct a typed value from a string.
|
XmlValue(java.lang.String v)
Construct a value from a string.
|
XmlValue(java.lang.String typeURI,
java.lang.String typeName,
java.lang.String v)
Construct a typed value, where the type is defined by a URI and name, from a string.
|
XmlValue(XmlDocument document)
Construct a value from a document.
|
XmlValue(XmlValue other)
Copy constructor.
|
Copyright (c) 2004,2014 Oracle. All rights reserved.