# Berkeley DB XML: Java Interface

Section | Class/Method | Description
--- | --- | ---
DbXML Operations | XmlContainer | Create a XML container handle
| XmlContainer.close | Close a XML container
| XmlContainer.declareIndex | Declare an index
| XmlContainer.deleteDocument | Delete a document from a container
| XmlContainer.getDocument | Retrieve a document from a container
| XmlContainer.getName | Return a container name
| XmlContainer.open | Open a XML container
| XmlContainer.parseXPathExpression | Parse an XPath 1.0 expression
| XmlContainer.putDocument | Store a document in a container
| XmlContainer.queryWithXPath | Query a container using XPath 1.0
| XmlDocument | Create a XML document handle
| XmlDocument.getAttributeValue | Get the document annotation attributes
| XmlDocument.getContent | Get the document content
| XmlDocument.getContentLength | Return the document's length
| XmlDocument.getDOM | Return the document as a DOM
| XmlDocument.getEncoding | Return the document's encoding
| XmlDocument.getID | Get the document ID
| XmlDocument.getName | Get the document name
| XmlDocument.getType | Get the document type
| XmlDocument.setAttributeValue | Set the document annotation attributes
| XmlDocument.setContent | Set the document content
| XmlDocument.setName | Set the document name
| XmlDocument.setType | Set the document type
| XmlQueryContext | Create a XPath query context
| XmlQueryContext.clearNamespaces | Delete all namespace mappings
| XmlQueryContext.getNamespace | Return the namespace URI
| XmlQueryContext.getVariableValue | Return the value bound to a variable
| XmlQueryContext.removeNamespace | Delete the namespace URI
| XmlQueryContext.setEvaluationType | Set the query evaluation type
| XmlQueryContext.setNamespace | Set the namespace URI
| XmlQueryContext.setReturnType | Set the query return type
| XmlQueryContext.setVariableValue | Bind a value to a variable
| XmlResults | Encapsulate XPath query results
| XmlResults.next | Return the next result
| XmlResults.reset | Reset the results iterator
| XmlValue | Encapsulate the value of a document node
| XPathExpression | Encapsulate a parsed XPath expression
| XPathExpression.getXPathQuery | Return the XPath query

Copyright Sleepycat Software