public class MetadataXpathNodeQuery extends MetadataXpathQueryImpl implements XpathObjectQuery
Node
from an xpath derived from metadata.XpathObjectMetadataService
In the adapter configuration file this class is aliased as metadata-xpath-node-query which is the preferred alternative to the fully qualified classname when building your configuration.
logR
Constructor and Description |
---|
MetadataXpathNodeQuery() |
MetadataXpathNodeQuery(java.lang.String metadataKey,
java.lang.String xpathMetadataKey) |
Modifier and Type | Method and Description |
---|---|
org.w3c.dom.Node |
resolveXpath(org.w3c.dom.Document doc,
XPath xpath,
java.lang.String expr)
Executes an Xpath query.
|
createXpathQuery, getXpathMetadataKey, setXpathMetadataKey, verify
allowEmptyResults, getAllowEmptyResults, getMetadataKey, setAllowEmptyResults, setMetadataKey
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createXpathQuery, getMetadataKey, verify
public MetadataXpathNodeQuery()
public MetadataXpathNodeQuery(java.lang.String metadataKey, java.lang.String xpathMetadataKey)
public org.w3c.dom.Node resolveXpath(org.w3c.dom.Document doc, XPath xpath, java.lang.String expr) throws CoreException
XpathObjectQuery
Executes an Xpath query.
resolveXpath
in interface XpathObjectQuery
doc
- The XML documentxpath
- the Xpathexpr
- the expression.CoreException