public class XPathLanguage extends LanguageSupport
RESOURCE| Constructor and Description |
|---|
XPathLanguage() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
configureBuilder(XPathBuilder builder) |
Expression |
createExpression(String expression)
Creates an expression based on the given string input
|
Predicate |
createPredicate(String expression)
Creates a predicate based on the given string input
|
String |
getObjectModelUri() |
QName |
getResultType() |
Boolean |
getUseSaxon() |
XPathFactory |
getXpathFactory() |
boolean |
isSingleton()
Whether this class supports being singleton or not.
|
Boolean |
isUseSaxon() |
void |
setObjectModelUri(String objectModelUri) |
void |
setResultType(QName resultType) |
void |
setUseSaxon(Boolean useSaxon) |
void |
setXpathFactory(XPathFactory xpathFactory) |
getCamelContext, loadResource, setCamelContextpublic XPathLanguage()
public Predicate createPredicate(String expression)
Languageexpression - the expressionpublic Expression createExpression(String expression)
Languageexpression - the expression as a string inputpublic QName getResultType()
public void setResultType(QName resultType)
public XPathFactory getXpathFactory()
public void setXpathFactory(XPathFactory xpathFactory)
public void setUseSaxon(Boolean useSaxon)
public Boolean getUseSaxon()
public Boolean isUseSaxon()
public String getObjectModelUri()
public void setObjectModelUri(String objectModelUri)
protected void configureBuilder(XPathBuilder builder)
public boolean isSingleton()
IsSingletonisSingleton in interface IsSingletonisSingleton in class LanguageSupportApache Camel