org.apache.camel.model.language
Class SimpleExpression

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

public class SimpleExpression
extends ExpressionDefinition

For expressions and predicates using the simple language

Version:

Constructor Summary
SimpleExpression()
           
SimpleExpression(String expression)
           
 
Method Summary
 Expression createExpression(CamelContext camelContext)
           
 Predicate createPredicate(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.ExpressionDefinition
assertMatches, configureExpression, configurePredicate, createExpression, 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

SimpleExpression

public SimpleExpression()

SimpleExpression

public SimpleExpression(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

createPredicate

public Predicate createPredicate(CamelContext camelContext)
Overrides:
createPredicate in class ExpressionDefinition


Apache CAMEL