|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.xmlbeans.impl.xpath.saxon.XBeansXPath
public class XBeansXPath
| Constructor Summary | |
|---|---|
XBeansXPath(java.lang.String path,
java.lang.String contextVar,
java.util.Map namespaceMap,
java.lang.String defaultNS)
Construct given an XPath expression string. |
|
| Method Summary | |
|---|---|
java.util.List |
selectNodes(java.lang.Object node)
Select all nodes that are selectable by this XPath expression. |
java.util.List |
selectPath(java.lang.Object node)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XBeansXPath(java.lang.String path,
java.lang.String contextVar,
java.util.Map namespaceMap,
java.lang.String defaultNS)
path - The XPath expressioncontextVar - The name of the context variablenamespaceMap - a map of prefix/uri bindings for NS supportdefaultNS - the uri for the default element NS, if any| Method Detail |
|---|
public java.util.List selectNodes(java.lang.Object node)
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.
node - The node, nodeset or Context object for evaluation.
This value can be null.
List of all items selected
by this XPath expression.public java.util.List selectPath(java.lang.Object node)
selectPath in interface PathDelegate.SelectPathInterface
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||