public class SimpleFunctionExpression extends LiteralExpression
text
token
Constructor and Description |
---|
SimpleFunctionExpression(SimpleToken token) |
Modifier and Type | Method and Description |
---|---|
Expression |
createExpression(String expression)
Creates a Camel
Expression based on this model. |
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)
public Expression createExpression(String expression)
SimpleNode
Expression
based on this model.createExpression
in interface SimpleNode
createExpression
in class LiteralExpression
expression
- the input stringExpression
public Expression createExpression(String expression, boolean strict)
Expression
based on this model.expression
- the input stringstrict
- 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