XPathExpression

APIRef

import com.sleepycat.dbxml.*;

public class XPathExpression extends Object { XPathExpression(int flags) throws DbException; ... }

Description

An XPathExpression represents a parsed XPath expression. They are created with XmlContainer.parseXPathExpression and evaluated with XmlContainer.queryWithXPath.

Parsed XPath expressions are useful as the cost of the expression parsing and optimization can be amortized over many evaluations.

Class

XmlContainer, XmlDocument, XmlQueryContext

See Also

XmlContainer.close, XmlContainer.declareIndex, XmlContainer.deleteDocument, XmlContainer.getDocument, XmlContainer.getName, XmlContainer.open, XmlContainer.putDocument and XmlContainer.queryWithXPath.

XmlDocument.getAttributeValue, XmlDocument.getContent, XmlDocument.getID, XmlDocument.getName, XmlDocument.getType, XmlDocument.setContent, XmlDocument.setName, and XmlDocument.setType.

APIRef

Copyright Sleepycat Software