public class ConfiguredXpathNodeQuery extends ConfiguredXpathQueryImpl implements XpathObjectQuery
XpathObjectQuery
implementation that returns a Node
XpathObjectMetadataService
In the adapter configuration file this class is aliased as configured-xpath-node-query which is the preferred alternative to the fully qualified classname when building your configuration.
logR
Constructor and Description |
---|
ConfiguredXpathNodeQuery() |
ConfiguredXpathNodeQuery(java.lang.String metadataKey,
java.lang.String xpath) |
Modifier and Type | Method and Description |
---|---|
org.w3c.dom.Node |
resolveXpath(org.w3c.dom.Document doc,
XPath xpath,
java.lang.String expression)
Executes an Xpath query.
|
createXpathQuery, getXpathQuery, setXpathQuery, verify
allowEmptyResults, getAllowEmptyResults, getMetadataKey, setAllowEmptyResults, setMetadataKey
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createXpathQuery, getMetadataKey, verify
public ConfiguredXpathNodeQuery()
public ConfiguredXpathNodeQuery(java.lang.String metadataKey, java.lang.String xpath)
public org.w3c.dom.Node resolveXpath(org.w3c.dom.Document doc, XPath xpath, java.lang.String expression) throws java.lang.Exception
XpathObjectQuery
Executes an Xpath query.
resolveXpath
in interface XpathObjectQuery
doc
- The XML documentxpath
- the Xpathexpression
- the expression.java.lang.Exception