Class SaxonXPath
- java.lang.Object
-
- org.apache.xmlbeans.impl.xpath.saxon.SaxonXPath
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description XPathEngineexecute(Cur c, XmlOptions options)ListselectNodes(Object node)Select all nodes that are selectable by this XPath expression.ListselectPath(Object node)
-
-
-
Method Detail
-
execute
public XPathEngine execute(Cur c, XmlOptions options)
-
selectNodes
public List selectNodes(Object node)
Select all nodes that are selectable by this XPath expression. If multiple nodes match, multiple nodes will be returned.NOTE: In most cases, nodes will be returned in document-order, as defined by the XML Canonicalization specification. The exception occurs when using XPath expressions involving the
unionoperator (denoted with the pipe '|' character).NOTE: Param node must be a DOM node which will be used during the xpath execution and iteration through the results. A call of node.dispose() must be done after reading all results.
- Parameters:
node- The node, nodeset or Context object for evaluation. This value can be null.- Returns:
- The
Listof all items selected by this XPath expression.
-
-