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 |
getThreadSafety() |
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 |
setThreadSafety(Boolean threadSafety) |
void |
setUseSaxon(Boolean useSaxon) |
void |
setXpathFactory(XPathFactory xpathFactory) |
getCamelContext, loadResource, setCamelContext
public XPathLanguage()
public Predicate createPredicate(String expression)
Language
expression
- the expressionpublic Expression createExpression(String expression)
Language
expression
- 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)
public Boolean getThreadSafety()
public void setThreadSafety(Boolean threadSafety)
protected void configureBuilder(XPathBuilder builder)
public boolean isSingleton()
IsSingleton
isSingleton
in interface IsSingleton
isSingleton
in class LanguageSupport
Apache Camel