org.apache.camel.language.xpath
Class XPathLanguage
java.lang.Object
org.apache.camel.support.LanguageSupport
org.apache.camel.language.xpath.XPathLanguage
- All Implemented Interfaces:
- CamelContextAware, IsSingleton, Language
public class XPathLanguage
- extends LanguageSupport
XPath language.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XPathLanguage
public XPathLanguage()
createPredicate
public Predicate createPredicate(String expression)
- Description copied from interface:
Language
- Creates a predicate based on the given string input
- Parameters:
expression
- the expression
- Returns:
- the created predicate
createExpression
public Expression createExpression(String expression)
- Description copied from interface:
Language
- Creates an expression based on the given string input
- Parameters:
expression
- the expression as a string input
- Returns:
- the created expression
getResultType
public QName getResultType()
setResultType
public void setResultType(QName resultType)
getXpathFactory
public XPathFactory getXpathFactory()
setXpathFactory
public void setXpathFactory(XPathFactory xpathFactory)
setUseSaxon
public void setUseSaxon(Boolean useSaxon)
getUseSaxon
public Boolean getUseSaxon()
isUseSaxon
public Boolean isUseSaxon()
getObjectModelUri
public String getObjectModelUri()
setObjectModelUri
public void setObjectModelUri(String objectModelUri)
configureBuilder
protected void configureBuilder(XPathBuilder builder)
isSingleton
public boolean isSingleton()
- Description copied from interface:
IsSingleton
- Whether this class supports being singleton or not.
- Specified by:
isSingleton
in interface IsSingleton
- Overrides:
isSingleton
in class LanguageSupport
- Returns:
- true to be a single shared instance, false to create new instances.
Apache Camel