Berkeley DB XML: Java Interface

SectionClass/MethodDescription
DbXML OperationsXmlContainerCreate a XML container handle

XmlContainer.closeClose a XML container

XmlContainer.declareIndexDeclare an index

XmlContainer.deleteDocumentDelete a document from a container

XmlContainer.getDocumentRetrieve a document from a container

XmlContainer.getNameReturn a container name

XmlContainer.openOpen a XML container

XmlContainer.parseXPathExpressionParse an XPath 1.0 expression

XmlContainer.putDocumentStore a document in a container

XmlContainer.queryWithXPathQuery a container using XPath 1.0

XmlDocumentCreate a XML document handle

XmlDocument.getAttributeValueGet the document annotation attributes

XmlDocument.getContentGet the document content

XmlDocument.getContentLengthReturn the document's length

XmlDocument.getDOMReturn the document as a DOM

XmlDocument.getEncodingReturn the document's encoding

XmlDocument.getIDGet the document ID

XmlDocument.getNameGet the document name

XmlDocument.getTypeGet the document type

XmlDocument.setAttributeValueSet the document annotation attributes

XmlDocument.setContentSet the document content

XmlDocument.setNameSet the document name

XmlDocument.setTypeSet the document type

XmlQueryContextCreate a XPath query context

XmlQueryContext.clearNamespacesDelete all namespace mappings

XmlQueryContext.getNamespaceReturn the namespace URI

XmlQueryContext.getVariableValueReturn the value bound to a variable

XmlQueryContext.removeNamespaceDelete the namespace URI

XmlQueryContext.setEvaluationTypeSet the query evaluation type

XmlQueryContext.setNamespaceSet the namespace URI

XmlQueryContext.setReturnTypeSet the query return type

XmlQueryContext.setVariableValueBind a value to a variable

XmlResultsEncapsulate XPath query results

XmlResults.nextReturn the next result

XmlResults.resetReset the results iterator

XmlValueEncapsulate the value of a document node

XPathExpressionEncapsulate a parsed XPath expression

XPathExpression.getXPathQueryReturn the XPath query

Copyright Sleepycat Software