com.sleepycat.dbxml
Class XmlQueryExpression
java.lang.Object
com.sleepycat.dbxml.XmlQueryExpression
- public class XmlQueryExpression
- extends Object
An XmlQueryExpression represents a parsed XPath expression, and is created by a call to the XmlContainer.parseXPathExpression
method. Parsed XPath expressions are useful because they allow the cost of query parsing and optimization to be amortized over many evaluations.
The copy constructor and assignment operator are provided for this class. The class is implemented using a handle-body idiom. When a handle is copied both handles maintain a reference to the same body.
XmlQueryExpression
public XmlQueryExpression(XmlContainer arg0,
XmlQueryContext arg1)
throws XmlException
delete
public void delete()
getQueryContext
public XmlQueryContext getQueryContext()
throws XmlException
- Throws:
XmlException
getContainer
public XmlContainer getContainer()
throws XmlException
- Throws:
XmlException
getXPathQuery
public String getXPathQuery()
throws XmlException
- Returns:
- The XmlQueryExpression.getXPathQuery method returns the XPath query as a string.
- Throws:
XmlException
Copyright (c) 1996-2003 Sleepycat Software, Inc. - All rights reserved.