Berkeley DbXML
version 1.2.1

Uses of Class
com.sleepycat.dbxml.XmlException

Uses of XmlException in com.sleepycat.dbxml
 

Methods in com.sleepycat.dbxml that throw XmlException
 XmlValue XmlResults.next()
          The XmlResults.next method retrieves the next value in the result set.
 boolean XmlResults.next(XmlDocument document)
           
 boolean XmlResults.next(XmlDocument document, XmlValue value)
           
 XmlValue XmlResults.next(DbTxn txn)
           
 boolean XmlResults.nextDocument(DbTxn txn, XmlDocument document)
           
 boolean XmlResults.nextDocumentAndValue(DbTxn txn, XmlDocument document, XmlValue value)
           
 void XmlResults.reset()
          If a query was processed with eager evaluation, a call to the XmlResults.reset method resets the result set iterator, so that a subsequent call to XmlResults.next method will return the first value in the result set.
 void XmlResults.add(XmlValue value)
           
 int XmlValue.getType(XmlQueryContext context)
           
 boolean XmlValue.isNumber(XmlQueryContext context)
          Test if the XmlValue is of type Number.
 boolean XmlValue.isString(XmlQueryContext context)
          Test if the XmlValue is of type String.
 boolean XmlValue.isBoolean(XmlQueryContext context)
          Test if the XmlValue is of type Boolean.
 boolean XmlValue.isNode(XmlQueryContext context)
          Test if the XmlValue is of type Node.
 boolean XmlValue.isDocument(XmlQueryContext context)
          Test if the XmlValue is of type Node.
 boolean XmlValue.isVariable(XmlQueryContext context)
          Test if the XmlValue is of type Node.
 boolean XmlValue.isNull()
           
 double XmlValue.asNumber(XmlQueryContext context)
           
 String XmlValue.asString(XmlQueryContext context)
           
 boolean XmlValue.asBoolean(XmlQueryContext context)
           
 XmlDocument XmlValue.asDocument(XmlQueryContext context)
           
 boolean XmlValue.equals(XmlValue value, XmlQueryContext context)
          The equals() method determines if two XmlValue objects represent the same value.
 void XmlQueryContext.setNamespace(String prefix, String uri)
          The XmlQueryContext.setNamespace method maps the specified URI to the specified namespace prefix.
 String XmlQueryContext.getNamespace(String prefix)
          The XmlQueryContext.getNamespace method returns the namespace URI for the specified prefix.
 void XmlQueryContext.removeNamespace(String prefix)
          The XmlQueryContext.removeNamespace method removes the namespace prefix to URI mapping for the specified prefix.
 void XmlQueryContext.clearNamespaces()
          The XmlQueryContext.clearNamespaces method removes all current namespace prefix to URI mappings from the query context.
 void XmlQueryContext.setVariableValue(String name, XmlValue value)
          The XmlQueryContext.setVariableValue method binds the specified value to the specified variable.
 void XmlQueryContext.setReturnType(int type)
          The XmlQueryContext.setReturnType method allows the application to define whether the query should return documents, or values, or both.
 int XmlQueryContext.getReturnType()
          Discover the return type defined for this XmlQueryContext.
 void XmlQueryContext.setEvaluationType(int type)
          The XmlQueryContext.setEvaluationType method allows the application to set the query evaluation type to "eager" or "lazy".
 int XmlQueryContext.getEvaluationType()
          Discover the evaluation type defined for this XmlQueryContext.
 void XmlQueryContext.setWithMetaData(boolean withMetaData)
          The XmlQueryContext.setWithMetaData method allows the application to define whether the document metadata should be materialised as attributes of the root node before a query is performed.
 boolean XmlQueryContext.getWithMetaData()
          Discover whether or not document metadata will be materialised before the query is performed.
 XmlValue XmlQueryContext.getVariableValue(String name)
          The XmlQueryContext.getVariableValue method returns the value that is bound to the specified variable.
 void XmlModify.setNewEncoding(String newEncoding)
          The XmlModify.setNewEncoding method sets a new character encoding to be used for documents modified by calls to XmlContainer.modifyDocument or XmlDocument.modifyDocument.
 int XmlModify.getNumModifications()
          The XmlModify.getNumModifications method returns the number of modification operations performed by a call to either XmlContainer.modifyDocument or XmlDocument.modifyDocument.
 void XmlDocument.setName(String name)
          The XmlDocument.setName method sets the name of the document.
 String XmlDocument.getName()
          The XmlDocument.getName method returns the XmlDocument name.
 void XmlDocument.setContent(byte[] content)
          The XmlDocument.setContent method sets the XmlDocument content.
 void XmlDocument.setContent(String content)
          The XmlDocument.setContent method sets the XmlDocument content.
 void XmlDocument.modifyDocument(XmlModify modify)
          The XmlDocument.modifyDocument method modifies the XmlDocument contents based on the information contained in the XmlModify object.
 String XmlDocument.getContentAsString()
          The getContentAsString() method copies the content of the document into a string .
 void XmlDocument.setMetaData(String uri, String prefix, String name, XmlValue value)
          The XmlDocument.setMetaData method sets the value of the specified metadata attribute.
 boolean XmlDocument.getMetaData(String uri, String name, XmlValue value)
          The XmlDocument.getMetaData method returns the value of the specified metadata attribute.
 XmlResults XmlDocument.queryWithXPath(String query, XmlQueryContext context)
          The XmlDocument.queryWithXPath method executes an XPath expression against the XmlDocument, and returns the results.
 XmlResults XmlDocument.queryWithXPath(XmlQueryExpression query)
          The XmlDocument.queryWithXPath method executes an XPath expression against the XmlDocument, and returns the results.
 void XmlIndexSpecification.addIndex(String uri, String name, String index)
          The XmlIndexSpecification.addIndex method adds indexing strategies for a named document node.
 void XmlIndexSpecification.deleteIndex(String uri, String name, String index)
          The XmlIndexSpecification.deleteIndex method deletes indexing strategies for a named document node.
 void XmlIndexSpecification.replaceIndex(String uri, String name, String index)
          The XmlIndexSpecification.replaceIndex method replaces the indexing strategies for a named document node.
 void XmlIndexSpecification.reset()
          The XmlIndexSpecification.reset and XmlIndexSpecification.next methods comprise the iteration interface.
 void XmlContainer.setPageSize(int pagesize)
          The XmlContainer.setPageSize method sets the size of the pages used to store documents in the database.
 void XmlContainer.open(DbTxn txn, int flags, int mode)
          The XmlContainer.open method opens the XmlContainer for reading and writing.
 boolean XmlContainer.exists(DbTxn txn)
          The XmlContainer.exists method tests if a container exists.
 boolean XmlContainer.isOpen()
          The XmlContainer.isOpen method tests if a container is open.
 void XmlContainer.close(int flags)
          The XmlContainer.close method closes the container.
 void XmlContainer.setIndexSpecification(DbTxn txn, XmlIndexSpecification index)
          The XmlContainer.setIndexSpecification method defines the type of indexing to be maintained for a container of documents.
 void XmlContainer.addIndex(DbTxn txn, String uri, String name, String index)
          The XmlContainer.addindex method adds an index of the specified type for the named document node.
 void XmlContainer.deleteIndex(DbTxn txn, String uri, String name, String index)
          The XmlContainer.deleteindex method deletes an index of the specified type for the named document node.
 void XmlContainer.replaceIndex(DbTxn txn, String uri, String name, String index)
          The XmlContainer.replaceindex method replaces an index of the specified type for the named document node.
 void XmlContainer.upgrade(int flags)
          The XmlContainer.upgrade method upgrades the container from a previous version of Berkeley DB XML, or Berkeley DB, to the current version.
 XmlIndexSpecification XmlContainer.getIndexSpecification(DbTxn txn)
          The XmlContainer.getIndexSpecification method retrieves the current indexing specification for the container.
 String XmlContainer.getName()
          The XmlContainer.getName method returns the name of the XmlContainer.
 void XmlContainer.setName(String name)
          The XmlContainer.setName method sets the name of the XmlContainer.
 void XmlContainer.updateDocument(DbTxn txn, XmlDocument document, XmlUpdateContext context)
          The XmlContainer.updateDocument method updates a XmlDocument in the container.
 void XmlContainer.remove(DbTxn txn, int flags)
          The XmlContainer.remove method removes the underlying file for the container from the file system.
 void XmlContainer.rename(DbTxn txn, String newName, int flags)
          The XmlContainer.rename method renames the container's underlying file.
 void XmlContainer.deleteDocument(DbTxn txn, int id, XmlUpdateContext context, int flags)
          The XmlContainer.deleteDocument method removes the specified XmlDocument from the XmlContainer.
 void XmlContainer.deleteDocument(DbTxn txn, XmlDocument document, XmlUpdateContext context, int flags)
          The XmlContainer.deleteDocument method removes the specified XmlDocument from the XmlContainer.
 void XmlContainer.modifyDocument(DbTxn txn, XmlModify modify, XmlUpdateContext context, int flags)
          The XmlContainer.modifyDocument method performs in-place modification of all XmlDocuments in the XmlContainer according to the state of the XmlModify object, which contains an XPath expression to target document nodes, as well as specification of the modifications to perform.
 XmlDocument XmlContainer.getDocument(DbTxn txn, int id, int flags)
          The XmlContainer.getDocument method returns the XmlDocument corresponding to the specified document ID.
 XmlQueryExpression XmlContainer.parseXPathExpression(DbTxn txn, String query, XmlQueryContext context)
          The XmlContainer.parseXPathExpression returns a pre-parsed XPath expression, which can be used with the XmlContainer.queryWithXPath method.
 XmlResults XmlContainer.queryWithXPath(DbTxn txn, String query, XmlQueryContext context, int flags)
          The XmlContainer.queryWithXPath method executes an XPath expression against the XmlContainer, and returns the results.
 XmlResults XmlContainer.queryWithXPath(DbTxn txn, XmlQueryExpression query, int flags)
          The XmlContainer.queryWithXPath method executes an XPath expression against the XmlContainer, and returns the results.
 void XmlContainer.dump(String filename, int flags)
          The XmlContainer.dump method dumps the container contents to the specified output stream.
 void XmlContainer.load(String filename, int flags)
          The XmlContainer.load methods loads data from the specified stream into the container.
 void XmlContainer.verify(String filename, int flags)
          The XmlContainer.verify method checks that the container data files are not corrupt, and optionally writes the salvaged container data to the specified output stream.
static void XmlContainer.setLogLevel(int level, boolean enabled)
          Berkeley DB XML can be configured to generate a stream of messages to help application debugging.
static void XmlContainer.setLogCategory(int category, boolean enabled)
          Berkeley DB XML can be configured to generate a stream of messages to help application debugging.
static int XmlContainer.get_version_major()
           
static int XmlContainer.get_version_minor()
           
static int XmlContainer.get_version_patch()
           
static String XmlContainer.get_version_string()
           
 XmlQueryContext XmlQueryExpression.getQueryContext()
           
 XmlContainer XmlQueryExpression.getContainer()
           
 String XmlQueryExpression.getXPathQuery()
           
 

Constructors in com.sleepycat.dbxml that throw XmlException
XmlUpdateContext(XmlContainer container)
          The XmlUpdateContext class encapsulates the context within which update operations are performed against an XmlContainer.
XmlResults(XmlQueryContext context, DbTxn txn)
           
XmlValue()
           
XmlValue(XmlDocument v)
          Construct an XmlValue object of value type Document.
XmlValue(double v)
          Construct an XmlValue object of value type Number.
XmlValue(String v)
          Construct an XmlValue object of value type String.
XmlValue(boolean v)
          Construct an XmlValue object of value type Boolean.
XmlValue(int type, String v)
          Construct an XmlValue object of the value type provided, converting the string value to the specified type.
XmlQueryContext(int returnType, int evaluationType)
          The XmlQueryContext class encapsulates the context within which a query is performed against an XmlContainer.
XmlModify(String xpath, int operation, int type, String name, String content, int location, XmlQueryContext context)
           
XmlModify(XmlQueryExpression expression, int operation, int type, String name, String content, int location)
           
XmlDocument()
           
XmlIndexSpecification()
          The XmlIndexSpecification class encapsulates the indexing specification of a container.
XmlContainer(DbEnv dbenv, String name, int flags)
          The XmlContainer constructor creates a new XmlContainer handle within the given environment (if any), and sets the container's name.
XmlQueryExpression(XmlContainer arg0, XmlQueryContext arg1)
           
 


Berkeley DbXML
version 1.2.1

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