public abstract class XpathQueryImpl extends java.lang.Object implements XpathMetadataQuery
Modifier and Type | Field and Description |
---|---|
protected org.slf4j.Logger |
logR |
Constructor and Description |
---|
XpathQueryImpl() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
allowEmptyResults() |
java.lang.Boolean |
getAllowEmptyResults() |
java.lang.String |
getMetadataKey()
Get the key that this Xpath query will be associated with.
|
void |
setAllowEmptyResults(java.lang.Boolean b)
Specify whether or not an xpath that does not resolve should throw an exception.
|
void |
setMetadataKey(java.lang.String key)
Set the metadata key that will be associated with the resolved xpath expression.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createXpathQuery, verify
public java.lang.String getMetadataKey()
XpathMetadataQuery
getMetadataKey
in interface XpathMetadataQuery
public void setMetadataKey(java.lang.String key)
key
- the key.public java.lang.Boolean getAllowEmptyResults()
public void setAllowEmptyResults(java.lang.Boolean b)
b
- true to allow no results (which may result in an empty string being added as metadata), default false.protected boolean allowEmptyResults()