public class Jaxp13XpathEngine extends java.lang.Object implements XpathEngine
| Constructor and Description |
|---|
Jaxp13XpathEngine() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
evaluate(java.lang.String select,
org.w3c.dom.Document document)
Evaluate the result of executing the specified xpath syntax
select expression on the specified document |
org.w3c.dom.NodeList |
getMatchingNodes(java.lang.String select,
org.w3c.dom.Document document)
Execute the specified xpath syntax
select expression
on the specified document and return the list of nodes (could have
length zero) that match |
void |
setNamespaceContext(NamespaceContext ctx)
Establish a namespace context.
|
public Jaxp13XpathEngine()
throws ConfigurationException
ConfigurationExceptionpublic org.w3c.dom.NodeList getMatchingNodes(java.lang.String select,
org.w3c.dom.Document document)
throws XpathException
select expression
on the specified document and return the list of nodes (could have
length zero) that matchgetMatchingNodes in interface XpathEngineselect - document - XpathExceptionpublic java.lang.String evaluate(java.lang.String select,
org.w3c.dom.Document document)
throws XpathException
select expression on the specified documentevaluate in interface XpathEngineselect - document - TransformerExceptionTransformerConfigurationExceptionXpathExceptionpublic void setNamespaceContext(NamespaceContext ctx)
XpathEnginesetNamespaceContext in interface XpathEngine