public interface XpathQuery extends XpathObjectQuery
Modifier and Type | Method and Description |
---|---|
MetadataElement |
resolveXpath(org.w3c.dom.Document doc,
XPath xpath,
java.lang.String expr)
Executes an Xpath query.
|
createXpathQuery, getMetadataKey, verify
MetadataElement resolveXpath(org.w3c.dom.Document doc, XPath xpath, java.lang.String expr) throws java.lang.Exception
Executes an Xpath query.
resolveXpath
in interface XpathObjectQuery
doc
- The XML documentxpath
- the XPath
object to use to resolve any expressions.expr
- the xpath expressionMetadataElement
with the configured key and the extracted text valuejava.lang.Exception