public class XPathEngine extends Object
| Modifier and Type | Method and Description |
|---|---|
static XPathEngine |
getInstance()
Return the
XPathEngine singleton. |
NodeList |
selectNodes(Node contextNode,
String[] xPathFragments)
Execute the XPath statement relative to the context node.
|
Node |
selectSingleNode(Node contextNode,
String[] xPathFragments)
Execute the XPath statement relative to the context node.
|
public static XPathEngine getInstance()
XPathEngine singleton.public Node selectSingleNode(Node contextNode, String[] xPathFragments)
contextNode - the node relative to which the XPath statement will be executedXMLPlatformExceptionpublic NodeList selectNodes(Node contextNode, String[] xPathFragments)
contextNode - the node relative to which the XPath statement will be executedXMLPlatformExceptionCopyright © 2007–2021 Eclipse.org - EclipseLink Project. All rights reserved.