org.apache.camel.model.language
Class XPathExpression

java.lang.Object
  extended by org.apache.camel.model.language.ExpressionDefinition
      extended by org.apache.camel.model.language.NamespaceAwareExpression
          extended by org.apache.camel.model.language.XPathExpression
All Implemented Interfaces:
Expression, Predicate, NamespaceAware

public class XPathExpression
extends NamespaceAwareExpression

For XPath expressions and predicates

Version:

Constructor Summary
XPathExpression()
           
XPathExpression(String expression)
           
 
Method Summary
protected  void configureExpression(CamelContext camelContext, Expression expression)
           
protected  void configurePredicate(CamelContext camelContext, Predicate predicate)
           
 Expression createExpression(CamelContext camelContext)
           
 String getLanguage()
           
 Class<?> getResultType()
           
 String getResultTypeName()
           
 void setResultType(Class<?> resultType)
           
 void setResultTypeName(String resultTypeName)
           
 
Methods inherited from class org.apache.camel.model.language.NamespaceAwareExpression
configureNamespaceAware, getNamespaces, setNamespaces
 
Methods inherited from class org.apache.camel.model.language.ExpressionDefinition
assertMatches, createExpression, createPredicate, createPredicate, evaluate, evaluate, getExpression, getExpressionType, getExpressionValue, getId, getLabel, getLabel, getPredicate, matches, setExpression, setExpressionType, setExpressionValue, setId, setProperty, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XPathExpression

public XPathExpression()

XPathExpression

public XPathExpression(String expression)
Method Detail

getLanguage

public String getLanguage()
Overrides:
getLanguage in class ExpressionDefinition

getResultType

public Class<?> getResultType()

setResultType

public void setResultType(Class<?> resultType)

getResultTypeName

public String getResultTypeName()

setResultTypeName

public void setResultTypeName(String resultTypeName)

createExpression

public Expression createExpression(CamelContext camelContext)
Overrides:
createExpression in class ExpressionDefinition

configureExpression

protected void configureExpression(CamelContext camelContext,
                                   Expression expression)
Overrides:
configureExpression in class NamespaceAwareExpression

configurePredicate

protected void configurePredicate(CamelContext camelContext,
                                  Predicate predicate)
Overrides:
configurePredicate in class NamespaceAwareExpression


Apache CAMEL