Berkeley DB XML
version 2.2.13

Uses of Class
com.sleepycat.dbxml.XmlException

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

Uses of XmlException in com.sleepycat.dbxml
 

Methods in com.sleepycat.dbxml that throw XmlException
 int XmlValue.getType()
          Returns the type of the XmlValue, which will be one of the XmlValue class constants.
 boolean XmlValue.isNull()
          Returns true if the XmlValue has no value (type NONE).
 boolean XmlValue.isType(int type)
          Indicates whether the XmlValue is of the specified type.
 boolean XmlValue.isNumber()
          Returns true if the XmlValue is one of the numeric types, such as DOUBLE, FLOAT, etc.
 boolean XmlValue.isString()
          Returns true if the XmlValue is one of type STRING.
 boolean XmlValue.isBoolean()
          Returns true if the XmlValue is one of type BOOLEAN.
 boolean XmlValue.isNode()
          Returns true if the XmlValue is of type NODE -- a DOM node.
 double XmlValue.asNumber()
          Returns the value as a DOUBLE.
 String XmlValue.asString()
          Returns the value as a STRING.
 String XmlValue.asString(String encoding)
          Returns the value as a STRING with the given encoding.
 boolean XmlValue.asBoolean()
          Returns the value as a BOOLEAN.
 XmlDocument XmlValue.asDocument()
          Returns the value as an XmlDocument.
 boolean XmlValue.equals(XmlValue value)
          Determines if two XmlValue objects represent the same value.
 String XmlValue.getNodeName()
          Returns the name of the node contained in this XmlValue.
 String XmlValue.getNodeValue()
          Returns the node's value.
 String XmlValue.getNamespaceURI()
          Returns the URI used for the node's namespace.
 String XmlValue.getPrefix()
          Returns the prefix set for the node's namespace.
 String XmlValue.getLocalName()
          Returns the node's local name.
 short XmlValue.getNodeType()
          Returns the short value for this node's XercesC DOMNode::NodeType.
 XmlValue XmlValue.getParentNode()
          Returns current node's parent.
 XmlValue XmlValue.getFirstChild()
          Returns current node's first child node.
 XmlValue XmlValue.getLastChild()
          Returns current node's last child node.
 XmlValue XmlValue.getPreviousSibling()
          Returns the sibling node immediately preceding this node in the document.
 XmlValue XmlValue.getNextSibling()
          Returns the sibling node immediately following this node in the document.
 XmlResults XmlValue.getAttributes()
          Returns returns a XmlResults that contains all of the attributes appearing on this node.
 XmlValue XmlValue.getOwnerElement()
          If the current node is an attribute node, returns the document element node that contains this attribute node.
static void XmlValue.setValue(XmlValue to, XmlValue from)
          Assigns a new value to an existing one.
 void XmlUpdateContext.setApplyChangesToContainers(boolean applyChanges)
          Controls whether changes made to an XmlValue or XmlDocument are saved to the corresponding XmlContainer.
 boolean XmlUpdateContext.getApplyChangesToContainers()
          Gets whether changes made to an XmlValue or XmlDocument are saved to the corresponding XmlContainer.
 Transaction XmlTransaction.getTransaction()
          Get the transaction handle encapsulated by this object.
 void XmlTransaction.abort()
          Cause an abnormal termination of the transaction.
 void XmlTransaction.commit()
          End the transaction.
 void XmlTransaction.commitSync()
          End the transaction and synchronously flush the log.
 void XmlTransaction.commitNoSync()
          End the transaction without flushing the log.
 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.
 void XmlResults.isNull()
          Return true if this is an uninitialized object
 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.
 XmlValue XmlResults.next()
          Retrieves the next value in the result set.
 XmlValue XmlResults.previous()
          Retrieves the previous value in the result set.
 XmlValue XmlResults.peek()
          Returns the current element in the results set without moving the internal iterator.
 boolean XmlResults.next(XmlDocument document)
          Retrieves the next value in the result set as a document.
 boolean XmlResults.previous(XmlDocument document)
          Retrieves the next value in the result set as a document.
 boolean XmlResults.peek(XmlDocument document)
          Returns the current element in the results set as an XmlDocument without moving the internal iterator.
 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.
 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.
 void XmlResults.add(XmlValue value)
          Adds the specified XmlValue to the end of the results set.
 boolean XmlResolver.resolveCollection(XmlTransaction txn, XmlManager mgr, String uri, XmlResults result)
          When implemented, should resolve a URI to an XmlResults.
 boolean XmlResolver.resolveDocument(XmlTransaction txn, XmlManager mgr, String uri, XmlValue result)
          When implemented, should resolve a URI to an XmlValue.
 XmlInputStream XmlResolver.resolveEntity(XmlTransaction txn, XmlManager mgr, String systemId, String publicId)
          When implemented, should resolve a System ID and Public ID to a new XmlInputStream.
 XmlInputStream XmlResolver.resolveSchema(XmlTransaction txn, XmlManager mgr, String schemaLocation, String nameSpace)
          When implemented, should resolve schema location and namespace information to a new XmlInputStream.
 XmlResults XmlQueryExpression.execute(XmlQueryContext queryContext)
          Evaluates the XQuery expression against the containers and documents identified by the query.
 XmlResults XmlQueryExpression.execute(XmlQueryContext queryContext, XmlDocumentConfig config)
          Evaluates the XQuery expression against the containers and documents identified by the query, with configuration.
 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 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 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.
 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.
 String XmlQueryExpression.getQuery()
          Returns the query as a string.
 String XmlQueryExpression.getQueryPlan()
          Returns the query plan as a string.
 void XmlQueryContext.setNamespace(String prefix, String uri)
          Maps the specified URI to the specified namespace prefix.
 String XmlQueryContext.getNamespace(String prefix)
          Returns the namespace URI for the specified prefix.
 void XmlQueryContext.removeNamespace(String prefix)
          Remove the namespace prefix to URI mapping for the specified prefix.
 void XmlQueryContext.clearNamespaces()
          Remove all namespace mappings from the query context.
 void XmlQueryContext.setDefaultCollection(String uri)
          Sets the default collection for use in fn:collection() with no arguments in an XQuery expression.
 String XmlQueryContext.getDefaultCollection()
          Returns the default collection for use in fn:collection() with no arguments in an XQuery expression.
 void XmlQueryContext.setBaseURI(String baseURI)
          Sets the base URI used for relative paths in query expressions.
 String XmlQueryContext.getBaseURI()
          Returns the base URI set for this XmlQueryContext object.
 void XmlQueryContext.setReturnType(int type)
          Set whether the query should return live or dead document values.
 int XmlQueryContext.getReturnType()
          Retrieve the return type defined for this XmlQueryContext.
 void XmlQueryContext.setEvaluationType(int type)
          Allows the application to set the query evaluation type to "eager" or "lazy".
 int XmlQueryContext.getEvaluationType()
          Returns the evaluation type defined for this XmlQueryContext.
 void XmlQueryContext.setVariableValue(String name, XmlValue value)
          Creates an externally-declared XQuery variable by binding the specified value to the specified variable name.
 void XmlQueryContext.setVariableValue(String name, XmlResults value)
          Creates an externally-declared XQuery sequence variable by binding the specified XmlResults object to the specified variable name.
 XmlValue XmlQueryContext.getVariableValue(String name)
          Returns the value that is bound to the specified variable.
 XmlResults XmlQueryContext.getVariableValues(String name)
          Returns the XmlResults object representing the sequence of values that is bound to the specified variable.
 void XmlModify.addInsertBeforeStep(XmlQueryExpression selectionExpr, int type, String name, String content)
          Inserts the provided data into the document before the selected node, as a previous sibling.
 void XmlModify.addInsertAfterStep(XmlQueryExpression selectionExpr, int type, String name, String content)
          Inserts the provided data into the document after the selected node.
 void XmlModify.addAppendStep(XmlQueryExpression selectionExpr, int type, String name, String content, int location)
          Appends the provided data to the selected node's child notes.
 void XmlModify.addAppendStep(XmlQueryExpression selectionExpr, int type, String name, String content)
          Appends the provided data to the selected node's child notes.
 void XmlModify.addUpdateStep(XmlQueryExpression selectionExpr, String content)
          Replaces the targeted node's content with text.
 void XmlModify.addRemoveStep(XmlQueryExpression selectionExpr)
          Removes the node targeted by the selection expression.
 void XmlModify.addRenameStep(XmlQueryExpression selectionExpr, String newName)
          Renames an element node, attribute node, or processing instruction.
 void XmlModify.setNewEncoding(String newEncoding)
          Sets a new character encoding to be used for documents modified by calls to XmlModify.execute(com.sleepycat.dbxml.XmlValue, com.sleepycat.dbxml.XmlQueryContext, com.sleepycat.dbxml.XmlUpdateContext).
 long XmlModify.execute(XmlValue toModify, XmlQueryContext context, XmlUpdateContext uc)
          Executes one or more document modification operations (or steps) against an XmlValue object.
 long XmlModify.execute(XmlResults toModify, XmlQueryContext context, XmlUpdateContext uc)
          Executes one or more document modification operations (or steps) against an XmlValue object.
 long XmlModify.execute(XmlTransaction txn, XmlValue toModify, XmlQueryContext context, XmlUpdateContext uc)
          Executes one or more document modification operations (or steps) against an XmlValue object.
 long XmlModify.execute(XmlTransaction txn, XmlResults toModify, XmlQueryContext context, XmlUpdateContext uc)
          Executes one or more document modification operations (or steps) against an XmlValue object.
 void XmlMetaDataIterator.reset()
          Sets the iterator to the beginning of the XmlDocument's metadata list.
 XmlMetaData XmlMetaDataIterator.next()
          Returns the next item in the XmlDocument's metadata list.
 String XmlMetaData.get_uri()
          Get the URI used for the metadata item retrieved by this method.
 String XmlMetaData.get_name()
          Get the name 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.
 void XmlManager.close()
          Close the XmlManager instance.
 XmlContainer XmlManager.createContainer(String name)
          Creates and opens a container, returning a handle to an XmlContainer object.
 XmlContainer XmlManager.createContainer(XmlTransaction txn, String name)
          Creates and opens a container in the context of a transaction, returning a handle to an XmlContainer object.
 XmlContainer XmlManager.createContainer(String name, XmlContainerConfig config)
          Creates a container, returning a handle to an XmlContainer object.
 XmlContainer XmlManager.createContainer(XmlTransaction txn, 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, String uri, String name, String index, XmlValue value, int op)
          Returns a XmlIndexLookup object that can be executed to perform and index lookup on a container.
 XmlInputStream XmlManager.createLocalFileInputStream(String filename)
          Returns a XmlInputStream to the file filename.
 XmlInputStream XmlManager.createMemBufInputStream(String buffer, int bufLen, boolean copyBuf)
          Returns a XmlInputStream for the buffer buffer.
 XmlInputStream XmlManager.createInputStream(InputStream is)
          Returns a XmlInputStream that wraps a InputStream.
 XmlModify XmlManager.createModify()
          Instantiate an XmlModify object.
 XmlQueryContext XmlManager.createQueryContext(int rt, int et)
          Creates a new XmlQueryContext.
 XmlQueryContext XmlManager.createQueryContext()
          Creates a new XmlQueryContext.
 XmlQueryContext XmlManager.createQueryContext(int rt)
          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(String baseId, String systemId, String publicId)
          Creates an input stream to the identified URL.
 XmlInputStream XmlManager.createURLInputStream(String baseId, String systemId)
          Creates an input stream to the identified URL.
 void XmlManager.setDefaultContainerConfig(XmlContainerConfig config)
          Sets the default configuration object used for containers opened and created by this XmlManager object.
 XmlContainerConfig XmlManager.getDefaultContainerConfig()
          Gets the default configuration object 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.
 int XmlManager.getDefaultPageSize()
          Gets the size of the pages used to store documents in the database.
 void XmlManager.setDefaultContainerType(int type)
          Sets the default type 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.
 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, com.sleepycat.dbxml.XmlUpdateContext).
 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, com.sleepycat.dbxml.XmlUpdateContext).
 Environment XmlManager.getEnvironment()
          Returns a handle to the underlying database environment.
 String XmlManager.getHome()
          Returns the home directory for the underlying database environment.
 XmlManagerConfig XmlManager.getManagerConfig()
          Gets the configuration object for this XmlManager instance.
 void XmlManager.dumpContainer(String name, String filename)
          Dumps the contents of the specified container to the specified output file.
 int XmlManager.existsContainer(String name)
          See if a container exists.
 void XmlManager.loadContainer(String name, String filename, XmlUpdateContext uc)
          Loads data from the specified file into the container.
 XmlContainer XmlManager.openContainer(String name)
          Opens a container, returning a handle to an XmlContainer object.
 XmlContainer XmlManager.openContainer(XmlTransaction txn, String name)
          Opens a container in the context of a transaction, returning a handle to an XmlContainer object.
 XmlContainer XmlManager.openContainer(String name, XmlContainerConfig config)
          Opens a container, returning a handle to an XmlContainer object.
 XmlContainer XmlManager.openContainer(XmlTransaction txn, String name, XmlContainerConfig config)
          Opens a container, returning a handle to an XmlContainer object.
 XmlQueryExpression XmlManager.prepare(String query, XmlQueryContext context)
          Compile an XQuery expression into an XmlQueryExpression object.
 XmlQueryExpression XmlManager.prepare(XmlTransaction txn, String query, XmlQueryContext context)
          Compile an XQuery expression into an XmlQueryExpression object.
 XmlResults XmlManager.query(String query, XmlQueryContext context, XmlDocumentConfig config)
          Executes a query in the context of the XmlManager object.
 XmlResults XmlManager.query(XmlTransaction txn, String query, XmlQueryContext context, XmlDocumentConfig config)
          Executes a query in the context of the XmlManager object.
 XmlResults XmlManager.query(String query, XmlQueryContext context)
          Executes a query in the context of the XmlManager object.
 XmlResults XmlManager.query(XmlTransaction txn, String query, XmlQueryContext context)
          Executes a query in the context of the XmlManager object.
 void XmlManager.registerResolver(XmlResolver resolver)
          Identifies an XmlResolver object to be used for file resolution.
 void XmlManager.reindexContainer(String name, XmlUpdateContext context, XmlContainerConfig config)
          Reindex a container.
 void XmlManager.reindexContainer(XmlTransaction txn, String name, XmlUpdateContext context, XmlContainerConfig config)
          Reindex a container.
 void XmlManager.removeContainer(String name)
          Removes the underlying file for the container from the file system.
 void XmlManager.removeContainer(XmlTransaction txn, String name)
          Removes the underlying file for the container from the file system in the context of a transaction.
 void XmlManager.renameContainer(String oldName, String newName)
          Renames the container's underlying file.
 void XmlManager.renameContainer(XmlTransaction txn, String oldName, String newName)
          Renames the container's underlying file in the context of a transaction.
 void XmlManager.upgradeContainer(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(String name, 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(String name, 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.
static void XmlManager.setLogLevel(int level, boolean enabled)
          Enable or disable log messages of a given level of importance.
static void XmlManager.setLogCategory(int category, boolean enabled)
          Enable or disable a category of log messages.
 long XmlInputStream.curPos()
          Returns the number of bytes currently read from the beginning of the input stream.
 long XmlInputStream.readBytes(byte[] toFill, long maxToRead)
          Reads maxToRead number of bytes from the input stream and places those bytes in toFill.
 void XmlIndexSpecification.addIndex(String uri, String name, int type, int syntax)
          Identifies an indexing strategy to set for the identified node.
 void XmlIndexSpecification.addIndex(String uri, String name, String index)
          Adds an index to the index specification.
 void XmlIndexSpecification.deleteIndex(String uri, String name, int type, int syntax)
          Deletes a single index strategy from the identified node.
 void XmlIndexSpecification.deleteIndex(String uri, String name, String index)
          Deletes indexing strategies for a named document or metadata node.
 void XmlIndexSpecification.replaceIndex(String uri, String name, int type, int syntax)
          Replaces the indexing strategies for a named document or metadata node.
 void XmlIndexSpecification.replaceIndex(String uri, String name, String index)
          Replaces the indexing strategies for a named document or metadata node.
 void XmlIndexSpecification.addDefaultIndex(int type, int syntax)
          Adds an indexing strategy to the default index specification.
 void XmlIndexSpecification.addDefaultIndex(String index)
          Adds a single indexing strategy to the default index.
 void XmlIndexSpecification.deleteDefaultIndex(int type, int syntax)
          Delete the identified index from the default index specification.
 void XmlIndexSpecification.deleteDefaultIndex(String index)
          Deletes one or more indexing strategies to the default index.
 void XmlIndexSpecification.replaceDefaultIndex(int type, int syntax)
          Replaces the default indexing strategy for the container.
 void XmlIndexSpecification.replaceDefaultIndex(String index)
          Identifies one or more indexing strategies to set for the default index.
 void XmlIndexSpecification.reset()
          Resets the index specification iterator to the beginning of the index list.
 XmlIndexDeclaration XmlIndexSpecification.find(String uri, String name)
          Returns the indexing strategies for a named document or metadata node.
 XmlIndexDeclaration XmlIndexSpecification.next()
          Obtains the next index in the XmlIndexSpecification.
 String XmlIndexSpecification.getDefaultIndex()
          Retrieves the default index.
 String XmlIndexLookup.getIndex()
          Gets the indexing strategy to be used for the index lookup operation.
 void XmlIndexLookup.setIndex(String index)
          Sets the indexing strategy to be used for the index lookup operation.
 String XmlIndexLookup.getNodeURI()
          Gets the uri of the node to be used along with the indexing strategy for the index lookup operation.
 String XmlIndexLookup.getNodeName()
          Gets the name of the node to be used along with the indexing strategy for the index lookup operation.
 void XmlIndexLookup.setNode(String uri, String name)
          Sets the name of the node to be used along with the indexing strategy for the index lookup operation.
 String XmlIndexLookup.getParentURI()
          Gets the uri of the parent node to be used for an edge index lookup operation.
 String XmlIndexLookup.getParentName()
          Gets the name of the parent node to be used for an edge index lookup operation.
 void XmlIndexLookup.setParent(String uri, String name)
          Sets the name of the parent node to be used for an edge index lookup operation.
 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.
 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.
 void XmlIndexLookup.setLowBound(XmlValue value, int op)
          Sets the operation and value to be used for the index lookup operation.
 XmlValue XmlIndexLookup.getHighBoundValue()
          Gets the value to be used for the upper bound for a range index lookup operation.
 int XmlIndexLookup.getHighBoundOperation()
          Gets the operation to be used for the upper bound for a range index lookup operation.
 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.
 XmlContainer XmlIndexLookup.getContainer()
          Gets the container on which the index lookup operation is to be performed.
 void XmlIndexLookup.setContainer(XmlContainer container)
          Sets the container on which the index lookup operation is to be performed.
 XmlResults XmlIndexLookup.execute(XmlQueryContext context)
          Executes the index lookup operation specified by the configuration of the XmlIndexLookup object.
 XmlResults XmlIndexLookup.execute(XmlTransaction txn, XmlQueryContext context)
          Executes the index lookup operation specified by the configuration of the XmlIndexLookup object.
 XmlResults XmlIndexLookup.execute(XmlQueryContext context, XmlDocumentConfig config)
          Executes the index lookup operation specified by the configuration of the XmlIndexLookup object.
 XmlResults XmlIndexLookup.execute(XmlTransaction txn, XmlQueryContext context, XmlDocumentConfig config)
          Executes the index lookup operation specified by the configuration of the XmlIndexLookup object.
 void XmlDocument.setName(String name)
          Set the name of the document.
 String XmlDocument.getName()
          Get the name of the document.
 void XmlDocument.setContent(String content)
          Sets the document's content to the provided string.
 void XmlDocument.setContent(byte[] content)
          Sets the document's content to the provided byte array.
 InputStream XmlDocument.getContentAsInputStream()
          Returns the document's content as an InputStream.
 XmlInputStream XmlDocument.getContentAsXmlInputStream()
          Returns the document's content as an XmlInputStream.
 String XmlDocument.getContentAsString()
          Returns the document's content as a string.
 byte[] XmlDocument.getContent()
          Returns the document's content as a byte array.
 void XmlDocument.setContentAsXmlInputStream(XmlInputStream adopted)
          Sets the document's content to the provided content.
 void XmlDocument.fetchAllData()
          This method causes all document data and metadata to be retrieved.
 void XmlDocument.setMetaData(String uri, String name, XmlValue value)
          Sets the value of the specified document metadata.
 void XmlDocument.setMetaData(String uri, String name, byte[] value)
          Sets the value of the specified binary document metadata.
 boolean XmlDocument.getMetaData(String uri, String name, XmlValue value)
          Returns the value of the specified metadata.
 byte[] XmlDocument.getMetaData(String uri, String name)
          Returns the value of the specified binary metadata.
 void XmlDocument.removeMetaData(String uri, String name)
          Removes the identified metadata from the document.
 XmlMetaDataIterator XmlDocument.getMetaDataIterator()
          Returns an XmlMetaDataIterator.
 void XmlContainer.close()
          Close the container.
 boolean XmlContainer.addAlias(String alias)
          Adds a new named alias for the container.
 void XmlContainer.addDefaultIndex(String index, XmlUpdateContext context)
          Adds a default index to the container.
 void XmlContainer.addDefaultIndex(XmlTransaction txn, String index, XmlUpdateContext context)
          Adds a default index to the container in the scope of a transaction.
 void XmlContainer.addIndex(String uri, String name, String index, XmlUpdateContext context)
          Adds an index of the specified type for the named document node.
 void XmlContainer.addIndex(XmlTransaction txn, String uri, String name, String index, XmlUpdateContext context)
          Adds an index of the specified type for the named document node in the scope of a transaction.
 void XmlContainer.deleteDefaultIndex(String index, XmlUpdateContext context)
          Deletes the default index for the container.
 void XmlContainer.deleteDefaultIndex(XmlTransaction txn, String index, XmlUpdateContext context)
          Deletes the default index for the container in the scope of a transaction.
 void XmlContainer.deleteDocument(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, 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(String uri, String name, String index, XmlUpdateContext context)
          Deletes an index of the specified type for the named document node.
 void XmlContainer.deleteIndex(XmlTransaction txn, String uri, String name, String index, XmlUpdateContext context)
          Deletes an index of the specified type for the named document node in the context of a transaction.
 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.
 XmlContainerConfig XmlContainer.getContainerConfig()
          Returns the configuration object for the container.
 int XmlContainer.getContainerType()
          Returns the container's type.
 XmlDocument XmlContainer.getDocument(String name)
          Returns the XmlDocument with the specified name.
 XmlDocument XmlContainer.getDocument(String name, XmlDocumentConfig config)
          Returns the XmlDocument with the specified name, with configuration options.
 XmlDocument XmlContainer.getDocument(XmlTransaction txn, String name)
          Returns the XmlDocument with the specified name in the scope of a transaction.
 XmlDocument XmlContainer.getDocument(XmlTransaction txn, String name, XmlDocumentConfig config)
          Returns the XmlDocument with the specified name in the scope of a transaction, with configuration options.
 boolean XmlContainer.getIndexNodes()
          Returns whether or not the container is indexing at the node level.
 int XmlContainer.getPageSize()
          Returns the underlying database page size for the container.
 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.
 XmlManager XmlContainer.getManager()
          Returns the XmlManager object for the XmlContainer.
 String XmlContainer.getName()
          Returns the name of the XmlContainer.
 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.
 XmlResults XmlContainer.lookupIndex(XmlQueryContext context, String uri, String name, String index, XmlValue value)
          Deprecated. as of release 2.2. Use XmlManager.createIndexLookup(com.sleepycat.dbxml.XmlContainer, java.lang.String, java.lang.String, java.lang.String, com.sleepycat.dbxml.XmlValue, int) and XmlIndexLookup.execute(com.sleepycat.dbxml.XmlQueryContext) instead.
 XmlResults XmlContainer.lookupIndex(XmlQueryContext context, String uri, String name, String index)
          Deprecated. as of release 2.2. Use XmlManager.createIndexLookup(com.sleepycat.dbxml.XmlContainer, java.lang.String, java.lang.String, java.lang.String, com.sleepycat.dbxml.XmlValue, int) and XmlIndexLookup.execute(com.sleepycat.dbxml.XmlQueryContext) instead.
 XmlResults XmlContainer.lookupIndex(XmlQueryContext context, String uri, String name, String parentUri, String parentName, String index, XmlValue value)
          Deprecated. as of release 2.2. Use XmlManager.createIndexLookup(com.sleepycat.dbxml.XmlContainer, java.lang.String, java.lang.String, java.lang.String, com.sleepycat.dbxml.XmlValue, int) and XmlIndexLookup.execute(com.sleepycat.dbxml.XmlQueryContext) instead.
 XmlResults XmlContainer.lookupIndex(XmlQueryContext context, String uri, String name, String parentUri, String parentName, String index)
          Deprecated. as of release 2.2. Use XmlManager.createIndexLookup(com.sleepycat.dbxml.XmlContainer, java.lang.String, java.lang.String, java.lang.String, com.sleepycat.dbxml.XmlValue, int) and XmlIndexLookup.execute(com.sleepycat.dbxml.XmlQueryContext) instead.
 XmlResults XmlContainer.lookupIndex(XmlTransaction txn, XmlQueryContext context, String uri, String name, String index, XmlValue value)
          Deprecated. as of release 2.2. Use XmlManager.createIndexLookup(com.sleepycat.dbxml.XmlContainer, java.lang.String, java.lang.String, java.lang.String, com.sleepycat.dbxml.XmlValue, int) and XmlIndexLookup.execute(com.sleepycat.dbxml.XmlQueryContext) instead.
 XmlResults XmlContainer.lookupIndex(XmlQueryContext context, String uri, String name, String index, XmlValue value, XmlDocumentConfig config)
          Deprecated. as of release 2.2. Use XmlManager.createIndexLookup(com.sleepycat.dbxml.XmlContainer, java.lang.String, java.lang.String, java.lang.String, com.sleepycat.dbxml.XmlValue, int) and XmlIndexLookup.execute(com.sleepycat.dbxml.XmlQueryContext) instead.
 XmlResults XmlContainer.lookupIndex(XmlTransaction txn, XmlQueryContext context, String uri, String name, String index)
          Deprecated. as of release 2.2. Use XmlManager.createIndexLookup(com.sleepycat.dbxml.XmlContainer, java.lang.String, java.lang.String, java.lang.String, com.sleepycat.dbxml.XmlValue, int) and XmlIndexLookup.execute(com.sleepycat.dbxml.XmlQueryContext) instead.
 XmlResults XmlContainer.lookupIndex(XmlTransaction txn, XmlQueryContext context, String uri, String name, String index, XmlValue value, XmlDocumentConfig config)
          Deprecated. as of release 2.2. Use XmlManager.createIndexLookup(com.sleepycat.dbxml.XmlContainer, java.lang.String, java.lang.String, java.lang.String, com.sleepycat.dbxml.XmlValue, int) and XmlIndexLookup.execute(com.sleepycat.dbxml.XmlQueryContext) instead.
 XmlResults XmlContainer.lookupIndex(XmlQueryContext context, String uri, String name, String parentUri, String parentName, String index, XmlValue value, XmlDocumentConfig config)
          Deprecated. as of release 2.2. Use XmlManager.createIndexLookup(com.sleepycat.dbxml.XmlContainer, java.lang.String, java.lang.String, java.lang.String, com.sleepycat.dbxml.XmlValue, int) and XmlIndexLookup.execute(com.sleepycat.dbxml.XmlQueryContext) instead.
 XmlResults XmlContainer.lookupIndex(XmlTransaction txn, XmlQueryContext context, String uri, String name, String parentUri, String parentName, String index)
          Deprecated. as of release 2.2. Use XmlManager.createIndexLookup(com.sleepycat.dbxml.XmlContainer, java.lang.String, java.lang.String, java.lang.String, com.sleepycat.dbxml.XmlValue, int) and XmlIndexLookup.execute(com.sleepycat.dbxml.XmlQueryContext) instead.
 XmlResults XmlContainer.lookupIndex(XmlTransaction txn, XmlQueryContext context, String uri, String name, String parentUri, String parentName, String index, XmlValue value)
          Deprecated. as of release 2.2. Use XmlManager.createIndexLookup(com.sleepycat.dbxml.XmlContainer, java.lang.String, java.lang.String, java.lang.String, com.sleepycat.dbxml.XmlValue, int) and XmlIndexLookup.execute(com.sleepycat.dbxml.XmlQueryContext) instead.
 XmlResults XmlContainer.lookupIndex(XmlTransaction txn, XmlQueryContext context, String uri, String name, String parentUri, String parentName, String index, XmlValue value, XmlDocumentConfig config)
          Deprecated. as of release 2.2. Use XmlManager.createIndexLookup(com.sleepycat.dbxml.XmlContainer, java.lang.String, java.lang.String, java.lang.String, com.sleepycat.dbxml.XmlValue, int) and XmlIndexLookup.execute(com.sleepycat.dbxml.XmlQueryContext) instead.
 XmlStatistics XmlContainer.lookupStatistics(String uri, String name, String index, XmlValue value)
          Returns an XmlStatistics object for the identified index.
 XmlStatistics XmlContainer.lookupStatistics(String uri, String name, String index)
          Returns an XmlStatistics object for the identified index.
 XmlStatistics XmlContainer.lookupStatistics(XmlTransaction txn, String uri, String name, String index, XmlValue value)
          Returns an XmlStatistics object for the identified index.
 XmlStatistics XmlContainer.lookupStatistics(XmlTransaction txn, String uri, String name, String index)
          Returns an XmlStatistics object for the identified index.
 XmlStatistics XmlContainer.lookupStatistics(String uri, String name, String parentUri, String parentName, String index, XmlValue value)
          Lookup statistics for the identified edge index.
 XmlStatistics XmlContainer.lookupStatistics(String uri, String name, String parentUri, String parentName, String index)
          Lookup statistics for the identified edge index.
 XmlStatistics XmlContainer.lookupStatistics(XmlTransaction txn, String uri, String name, String parentUri, String parentName, String index, XmlValue value)
          Lookup statistics for the identified edge index in the scope of a transaction.
 XmlStatistics XmlContainer.lookupStatistics(XmlTransaction txn, String uri, String name, String parentUri, String parentName, String index)
          Lookup statistics for the identified edge index in the scope of a transaction.
 void XmlContainer.putDocument(XmlDocument document, XmlUpdateContext context)
          Inserts an XmlDocument into the container.
 String XmlContainer.putDocument(String name, String contents, XmlUpdateContext context)
          Inserts a document into the container with a given name and string content.
 String XmlContainer.putDocument(String name, XmlInputStream input, XmlUpdateContext context)
          Inserts a document into the container with a given name and content from a stream.
 void XmlContainer.putDocument(XmlDocument document, XmlUpdateContext context, XmlDocumentConfig config)
          Inserts an XmlDocument into the container, with configuration options.
 void XmlContainer.putDocument(XmlTransaction txn, XmlDocument document, XmlUpdateContext context, XmlDocumentConfig config)
          Inserts an XmlDocument into the container in the scope of a transaction.
 void XmlContainer.putDocument(String name, XmlInputStream input, XmlUpdateContext context, XmlDocumentConfig config)
          Inserts a document with given name and content into the container.
 void XmlContainer.putDocument(XmlTransaction txn, 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(String name, String content, XmlUpdateContext context, XmlDocumentConfig config)
          Inserts a document with given name and string content into the container.
 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, String name, String content, XmlUpdateContext context, XmlDocumentConfig config)
          Inserts a document with given name and string content into the container in the scope of a transaction.
 String XmlContainer.putDocument(XmlTransaction txn, String name, XmlInputStream input, XmlUpdateContext context)
          Inserts a document with given name and content into the container in the scope of a transaction.
 String XmlContainer.putDocument(XmlTransaction txn, String name, String contents, XmlUpdateContext context)
          Inserts a document into the container with a given name and string content in the scope of a transaction.
 boolean XmlContainer.removeAlias(String alias)
          Removes the named alias from the container.
 void XmlContainer.replaceDefaultIndex(String index, XmlUpdateContext context)
          Replaces the container's default index.
 void XmlContainer.replaceDefaultIndex(XmlTransaction txn, String index, XmlUpdateContext context)
          Replaces the container's default index in the scope of a transaction.
 void XmlContainer.replaceIndex(String uri, String name, String index, XmlUpdateContext context)
          Replaces an index of the specified type for the named document node.
 void XmlContainer.replaceIndex(XmlTransaction txn, String uri, String name, 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 XmlContainer.sync()
          Flush database pages for the container to disk.
 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.
 

Constructors in com.sleepycat.dbxml that throw XmlException
XmlValue()
          Public constructor.
XmlValue(XmlValue other)
          Copy constructor.
XmlValue(String v)
          Construct a value from a string.
XmlValue(double v)
          Construct a value from a double.
XmlValue(boolean v)
          Construct a value from a boolean.
XmlValue(XmlDocument document)
          Construct a value from a document.
XmlValue(int type, String v)
          Construct a typed value from a string.
XmlValue(int type, byte[] dbt)
          Construct a typed value from a byte array.
XmlUpdateContext(XmlUpdateContext o)
          Copy constructor.
XmlStatistics(XmlStatistics arg0)
          Copy constructor.
XmlResults(XmlResults results)
          Copy constructor.
XmlQueryExpression(XmlQueryExpression queryExpression)
          Copy constructor.
XmlQueryContext(XmlQueryContext o)
          Copy constructor.
XmlModify(XmlModify o)
          Copy constructor.
XmlMetaDataIterator(XmlMetaDataIterator o)
          Copy constructor.
XmlManager()
          Constructor that uses a private internal database environment.
XmlManager(XmlManagerConfig config)
          Constructor that uses a private internal database environment.
XmlManager(Environment dbenv, XmlManagerConfig config)
          Constructor that uses the provided Environment for the underlying environment.
XmlIndexLookup(XmlIndexLookup o)
          Copy constructor
XmlDocument(XmlDocument o)
          Copy constructor.
 


Berkeley DB XML
version 2.2.13

Copyright (c) 1996-2004 Sleepycat Software, Inc. - All rights reserved.