public class SimpleFunctionExpression extends LiteralExpression
text
token
Constructor and Description |
---|
SimpleFunctionExpression(SimpleToken token,
Map<String,org.apache.camel.Expression> cacheExpression) |
Modifier and Type | Method and Description |
---|---|
org.apache.camel.Expression |
createExpression(String expression)
Creates a Camel
Expression based on this model. |
org.apache.camel.Expression |
createExpression(String expression,
boolean strict)
Creates a Camel
Expression based on this model. |
addText, getText, quoteEmbeddedNodes, toString
getToken
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getToken
public SimpleFunctionExpression(SimpleToken token, Map<String,org.apache.camel.Expression> cacheExpression)
public org.apache.camel.Expression createExpression(String expression)
Expression
based on this model.createExpression
in interface SimpleNode
createExpression
in class LiteralExpression
expression
- not in useExpression
public org.apache.camel.Expression createExpression(String expression, boolean strict)
Expression
based on this model.expression
- not in usestrict
- whether to throw exception if the expression was not a function,
otherwise null is returnedExpression
SimpleParserException
- should be thrown if error parsing the modelApache Camel