Home » xmlbeans-2.5.0-src » org.apache.xmlbeans.impl.xpath » saxon » [javadoc | source]
public class: XBeansXPath [javadoc | source]

All Implemented Interfaces:

 public XBeansXPath(String path,
    String contextVar,
    Map namespaceMap,
    String defaultNS) 
    Construct given an XPath expression string.
    path - The XPath expression
    contextVar - The name of the context variable
    namespaceMap - a map of prefix/uri bindings for NS support
    defaultNS - the uri for the default element NS, if any
Method from org.apache.xmlbeans.impl.xpath.saxon.XBeansXPath Summary:
selectNodes,   selectPath
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.xmlbeans.impl.xpath.saxon.XBeansXPath Detail:
 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 union operator (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.

 public List selectPath(Object node)