| Package | Description |
|---|---|
| org.apache.excalibur.xml.xpath |
XPath processor and implementation.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractProcessorImpl
This class defines base class for the implementations of the
XPathProcessor component. |
class |
JaxenProcessorImpl
This class defines the implementation of the
XPathProcessor
component. |
class |
Saxon8ProcessorImpl
This class defines the implementation of the
XPathProcessor
component. |
class |
XPathProcessorImpl
This class defines the implementation of the
XPathProcessor
component. |
| Modifier and Type | Method and Description |
|---|---|
static org.w3c.dom.Node |
XPathUtil.getSingleNode(XPathProcessor processor,
org.w3c.dom.Node rootNode,
java.lang.String path)
Return the
Node from the DOM Node rootNode
using the XPath expression path. |
static boolean |
XPathUtil.getValueAsBooleanOf(XPathProcessor processor,
org.w3c.dom.Node root,
java.lang.String path)
Get the boolean value of the node specified by the XPath.
|
static boolean |
XPathUtil.getValueAsBooleanOf(XPathProcessor processor,
org.w3c.dom.Node root,
java.lang.String path,
boolean defaultValue)
Get the boolean value of the node specified by the XPath.
|
static java.lang.String |
XPathUtil.getValueOf(XPathProcessor processor,
org.w3c.dom.Node root,
java.lang.String path)
Get the value of the node specified by the XPath.
|
static java.lang.String |
XPathUtil.getValueOf(XPathProcessor processor,
org.w3c.dom.Node root,
java.lang.String path,
java.lang.String defaultValue)
Get the value of the node specified by the XPath.
|
static java.lang.String |
XPathUtil.getValueOfNode(XPathProcessor processor,
org.w3c.dom.Node node)
Get the value of the DOM node.
|
static java.lang.String |
XPathUtil.getValueOfNode(XPathProcessor processor,
org.w3c.dom.Node node,
java.lang.String defaultValue)
Get the value of the node.
|
static org.w3c.dom.NodeList |
XPathUtil.searchNodeList(XPathProcessor processor,
org.w3c.dom.Node contextNode,
java.lang.String str)
Use an XPath string to select a nodelist.
|
static org.w3c.dom.Node |
XPathUtil.searchSingleNode(XPathProcessor processor,
org.w3c.dom.Node contextNode,
java.lang.String str)
Use an XPath string to select a single node.
|