Berkeley DB XML
version 2.3.10

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
 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(String alias)
          Adds a new named alias for the container.
 void XmlModify.addAppendStep(XmlQueryExpression selectionExpr, int type, String name, String content)
          Appends the provided data to the selected node's child nodes.
 void XmlModify.addAppendStep(XmlQueryExpression selectionExpr, int type, String name, String content, int location)
          Appends the provided data to the selected node's child nodes.
 void XmlModify.addAppendStep(XmlQueryExpression selectionExpr, int type, String name, XmlResults resultContent, int location)
          Appends the provided data to the selected node's child nodes, using an XmlResults object as content.
 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 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 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 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 XmlModify.addInsertAfterStep(XmlQueryExpression selectionExpr, int type, String name, String content)
          Inserts the provided data into the document after the selected node.
 void XmlModify.addInsertAfterStep(XmlQueryExpression selectionExpr, int type, String name, XmlResults resultContent)
          Inserts the provided data into the document after the selected node using the specified XmlResults object as content.
 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.addInsertBeforeStep(XmlQueryExpression selectionExpr, int type, String name, XmlResults resultContent)
          Inserts the provided data into the document before the selected node, as a previous sibling using an XmlResults object as content If the operation's target is an attribute node or the document root node, an exception is thrown at modification execution time.
 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.addUpdateStep(XmlQueryExpression selectionExpr, String content)
          Replaces the targeted node's content with text.
 boolean XmlValue.asBoolean()
          Returns the value as a BOOLEAN.
 XmlDocument XmlValue.asDocument()
          Returns the value as an XmlDocument.
 XmlEventReader XmlValue.asEventReader()
          Returns the value as an XmlEventReader.
 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.
 void XmlQueryContext.clearNamespaces()
          Remove all namespace mappings from the query context.
 void XmlContainer.close()
          Close the container.
 void XmlEventReader.close()
          Free the resources associated with this object.
 void XmlManager.close()
          Close the XmlManager instance.
 void XmlEventWriter.close(boolean fail)
          Complete the XmlContainer.putDocumentAsEventWriter(com.sleepycat.dbxml.XmlDocument, com.sleepycat.dbxml.XmlUpdateContext, com.sleepycat.dbxml.XmlDocumentConfig) operation, and free the resources associated with this object.
 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(String name)
          Compacts the content of the container.
 void XmlManager.compactContainer(XmlTransaction txn, String name)
          Compacts the content of the container in the context of a transaction.
 XmlContainer XmlManager.createContainer(String name)
          Creates and opens a container, 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)
          Creates and opens a container in the context of a transaction, 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.createInputStream(InputStream is)
          Returns a XmlInputStream that wraps a InputStream.
 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.
 XmlModify XmlManager.createModify()
          Instantiate an XmlModify object.
 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(String baseId, String systemId)
          Creates an input stream to the identified URL.
 XmlInputStream XmlManager.createURLInputStream(String baseId, String systemId, 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.
 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 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 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 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.
 void XmlManager.dumpContainer(String name, 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.
 boolean XmlValue.equals(XmlValue value)
          Determines if two XmlValue objects represent the same value.
 XmlResults XmlIndexLookup.execute(XmlQueryContext context)
          Executes the index lookup operation specified by the configuration of the XmlIndexLookup object.
 XmlResults XmlQueryExpression.execute(XmlQueryContext queryContext)
          Evaluates the XQuery expression against the containers and documents identified by the query.
 XmlResults XmlIndexLookup.execute(XmlQueryContext context, XmlDocumentConfig config)
          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.
 long XmlModify.execute(XmlResults toModify, XmlQueryContext context, XmlUpdateContext uc)
          Executes one or more document modification operations (or steps) against an XmlValue 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)
          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, XmlDocumentConfig config)
          Executes the index lookup operation specified by the configuration of the XmlIndexLookup object.
 XmlResults XmlQueryExpression.execute(XmlTransaction txn, XmlQueryContext queryContext, XmlDocumentConfig config)
          Evaluates the XQuery expression against the containers and documents identified by the query, from within the scope of the provided XmlTransaction object, with configuration.
 long XmlModify.execute(XmlTransaction txn, XmlResults toModify, XmlQueryContext context, XmlUpdateContext uc)
          Executes one or more document modification operations (or steps) against an XmlValue 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.
 long XmlModify.execute(XmlTransaction txn, XmlValue toModify, XmlQueryContext context, XmlUpdateContext uc)
          Executes one or more document modification operations (or steps) against an XmlValue 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.
 long XmlModify.execute(XmlValue toModify, XmlQueryContext context, XmlUpdateContext uc)
          Executes one or more document modification operations (or steps) against an XmlValue object.
 int XmlManager.existsContainer(String name)
          See if a container exists.
 void XmlDocument.fetchAllData()
          This method causes all document data and metadata to be retrieved.
 XmlIndexDeclaration XmlIndexSpecification.find(String uri, String name)
          Returns the indexing strategies for a named document or metadata node.
 String XmlMetaData.get_name()
          Get the name used for the metadata item retrieved by this method.
 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.
 boolean XmlUpdateContext.getApplyChangesToContainers()
          Gets whether changes made to an XmlValue or XmlDocument are saved to the corresponding XmlContainer.
 int XmlEventReader.getAttributeCount()
          Return the number of attributes for a StartElement event.
 String XmlEventReader.getAttributeLocalName(int index)
          Return the local name of the attribute specified by the index parameter.
 String XmlEventReader.getAttributeNamespaceURI(int index)
          Return the namespace URI of the attribute specified by the index parameter.
 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.
 String XmlEventReader.getAttributeValue(int index)
          Return the text value of the attribute specified by the index parameter.
 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 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(boolean) to release resources.
 InputStream XmlDocument.getContentAsInputStream()
          Returns the document's content as an InputStream.
 String XmlDocument.getContentAsString()
          Returns the document's content as a string.
 XmlInputStream XmlDocument.getContentAsXmlInputStream()
          Returns the document's content as an XmlInputStream.
 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.
 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, com.sleepycat.dbxml.XmlUpdateContext).
 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.
 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.
 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.
 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.
 String XmlEventReader.getLocalName()
          Return the local name of the StartElement event at the current position.
 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(String uri, String name)
          Returns the value of the specified binary metadata.
 boolean XmlDocument.getMetaData(String uri, String name, XmlValue value)
          Returns the value of the specified metadata.
 XmlMetaDataIterator XmlDocument.getMetaDataIterator()
          Returns an XmlMetaDataIterator.
 String XmlContainer.getName()
          Returns the name of the XmlContainer.
 String XmlDocument.getName()
          Get the name of the document.
 String XmlQueryContext.getNamespace(String prefix)
          Returns the namespace URI for the specified prefix.
 String XmlEventReader.getNamespaceURI()
          Return the namespace URI of the StartElement event at the current position.
 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.
 XmlValue XmlContainer.getNode(String handle)
          Returns the XmlValue object associated with the specified handle.
 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)
 String XmlIndexLookup.getNodeName()
          Gets the name of the node to be used along with the indexing strategy for the index lookup operation.
 String XmlValue.getNodeName()
          Returns the name of the node contained in this XmlValue.
 short XmlValue.getNodeType()
          Returns the short value for this node's XercesC DOMNode::NodeType.
 String XmlIndexLookup.getNodeURI()
          Gets the uri of the node to be used along with the indexing strategy for the index lookup operation.
 String XmlValue.getNodeValue()
          Returns the node's value.
 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.
 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.
 String XmlIndexLookup.getParentURI()
          Gets the uri of the parent node to be used for an edge index lookup operation.
 String XmlEventReader.getPrefix()
          Return the namespace prefix of the StartElement event at the current position.
 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.
 String XmlQueryExpression.getQuery()
          Returns the query as a string.
 String XmlQueryExpression.getQueryPlan()
          Returns the query plan as a string.
 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 XmlQueryContext.getReturnType()
          Retrieve the return type defined for this XmlQueryContext.
 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()
          Returns the type of the XmlValue, which will be one of the XmlValue class constants.
 String XmlValue.getTypeName()
          Returns the type name of the XmlValue
 String XmlValue.getTypeURI()
          Returns the type URI of the XmlValue
 String XmlEventReader.getValue()
          Return the text value of the current event.
 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.
 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 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 NODE -- a DOM node.
 void XmlResults.isNull()
          Return true if this is an uninitialized object
 boolean XmlValue.isNull()
          Returns true if the XmlValue has no value (type NONE).
 boolean XmlValue.isNumber()
          Returns true if the XmlValue is one of the numeric types, such as DOUBLE, FLOAT, etc.
 boolean XmlEventReader.isStandalone()
          Return whether the document is standalone.
 boolean XmlValue.isString()
          Returns true if the XmlValue is one of type STRING.
 boolean XmlValue.isType(int type)
          Indicates whether the XmlValue is of the specified type.
 boolean XmlEventReader.isWhiteSpace()
          Return whether the current text value is entirely white space.
 void XmlManager.loadContainer(String name, String filename, XmlUpdateContext uc)
          Loads data from the specified file into the container.
 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)
          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, 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 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 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.
 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(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.
 XmlStatistics XmlContainer.lookupStatistics(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)
          Lookup statistics for the identified edge 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 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(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.
 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 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.
 int XmlEventReader.next()
          Move to the next event, returning its type.
 XmlIndexDeclaration XmlIndexSpecification.next()
          Obtains the next index in the XmlIndexSpecification.
 XmlMetaData XmlMetaDataIterator.next()
          Returns the next item in the XmlDocument's metadata list.
 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(String name)
          Opens a container, 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)
          Opens a container in the context of a transaction, 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.
 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(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.
 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.
 String XmlContainer.putDocument(String name, String contents, XmlUpdateContext context)
          Inserts a document into the container with a given name and string content.
 void XmlContainer.putDocument(String name, String content, XmlUpdateContext context, XmlDocumentConfig config)
          Inserts a document with given name and string content into the container.
 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(String name, XmlInputStream input, XmlUpdateContext context, XmlDocumentConfig config)
          Inserts a document with given name and content into the container.
 void XmlContainer.putDocument(XmlDocument document, XmlUpdateContext context)
          Inserts an XmlDocument into the container.
 void XmlContainer.putDocument(XmlDocument document, XmlUpdateContext context, XmlDocumentConfig config)
          Inserts an XmlDocument into the container, with configuration options.
 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.
 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.
 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(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.
 XmlResults XmlManager.query(String query, XmlQueryContext context)
          Executes a query in the context of the XmlManager 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)
          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.
 long XmlInputStream.readBytes(byte[] toFill, long maxToRead)
          Reads maxToRead number of bytes from the input stream and places those bytes in toFill.
 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.
 boolean XmlContainer.removeAlias(String alias)
          Removes the named alias from the 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 XmlDocument.removeMetaData(String uri, String name)
          Removes the identified metadata from the document.
 void XmlQueryContext.removeNamespace(String prefix)
          Remove the namespace prefix to URI mapping for the specified prefix.
 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 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 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 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 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 XmlIndexSpecification.reset()
          Resets the index specification iterator to the beginning of the index list.
 void XmlMetaDataIterator.reset()
          Sets the iterator to the beginning of the XmlDocument's metadata 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, 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.resolveModule(XmlTransaction txn, XmlManager mgr, String moduleLocation, String namespace)
          When implemented, should resolve a module location and namespace to a new XmlInputStream.
 boolean XmlResolver.resolveModuleLocation(XmlTransaction txn, XmlManager mgr, 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, String schemaLocation, String nameSpace)
          When implemented, should resolve schema location and namespace information to a new XmlInputStream.
 void XmlUpdateContext.setApplyChangesToContainers(boolean applyChanges)
          Controls whether changes made to an XmlValue or XmlDocument are saved to the corresponding XmlContainer.
 void XmlQueryContext.setBaseURI(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(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.setDefaultCollection(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, com.sleepycat.dbxml.XmlUpdateContext).
 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(String index)
          Sets the indexing strategy to be used for the index lookup operation.
 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.
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(String uri, String name, byte[] value)
          Sets the value of the specified binary document metadata.
 void XmlDocument.setMetaData(String uri, String name, XmlValue value)
          Sets the value of the specified document metadata.
 void XmlDocument.setName(String name)
          Set the name of the document.
 void XmlQueryContext.setNamespace(String prefix, String uri)
          Maps the specified URI to the specified namespace prefix.
 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).
 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.
 void XmlIndexLookup.setParent(String uri, 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)
          Set whether the query should return live or dead document values.
static void XmlValue.setValue(XmlValue to, XmlValue from)
          Assigns a new value to an existing one.
 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.
 void XmlQueryContext.setVariableValue(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 XmlContainer.sync()
          Flush database pages for the container to disk.
 void XmlManager.truncateContainer(String name)
          Truncates the content of the container.
 void XmlManager.truncateContainer(XmlTransaction txn, String name)
          Truncates the content of the container in the context of a transaction.
 void XmlContainer.updateDocument(XmlDocument document, XmlUpdateContext context)
          Updates an XmlDocument in the container.
 void XmlContainer.updateDocument(XmlTransaction txn, XmlDocument document, XmlUpdateContext context)
          Updates an XmlDocument in the container in the scope of a transaction.
 void XmlManager.upgradeContainer(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.
 void XmlEventWriter.writeAttribute(String localName, String prefix, String uri, String value, boolean isSpecified)
          Write an attribute to the event stream.
 void XmlEventWriter.writeDTD(String dtd, int length)
          Write a DTD (internal subset).
 void XmlEventWriter.writeEndDocument()
          Write the EndDocument event.
 void XmlEventWriter.writeEndElement(String localName, String prefix, String uri)
          Write an EndElement event.
 void XmlEventWriter.writeEndEntity(String name)
          Write an event indicating the end of content expanded by an entity reference.
 void XmlEventWriter.writeProcessingInstruction(String target, String data)
          Write a ProcessingInstruction event.
 void XmlEventWriter.writeStartDocument(String version, String encoding, String standalone)
          Write the StartDocument event.
 void XmlEventWriter.writeStartElement(String localName, String prefix, String uri, int numAttributes, boolean isEmpty)
          Write a StartElement event.
 void XmlEventWriter.writeStartEntity(String name, boolean expandedInfoFollows)
          Write an event indicating the start of an entity reference.
 void XmlEventWriter.writeText(int type, String text, int length)
          Write a text event.
 

Constructors in com.sleepycat.dbxml that throw XmlException
XmlDocument(XmlDocument o)
          Copy constructor.
XmlEventReaderToWriter(XmlEventReader reader, XmlEventWriter writer, boolean ownsReader)
          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.
XmlModify(XmlModify 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, String v)
          Construct a typed value from a string.
XmlValue(String v)
          Construct a value from a string.
XmlValue(XmlDocument document)
          Construct a value from a document.
XmlValue(XmlValue other)
          Copy constructor.
 


Berkeley DB XML
version 2.3.10

Copyright 1996,2007 Oracle. All rights reserved.