public class SimpleFunctionExpression extends LiteralExpression
text
token
Constructor and Description |
---|
SimpleFunctionExpression(SimpleToken token)
Deprecated.
|
SimpleFunctionExpression(SimpleToken token,
LRUCache<String,Expression> cacheExpression) |
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
@Deprecated public SimpleFunctionExpression(SimpleToken token)
public SimpleFunctionExpression(SimpleToken token, LRUCache<String,Expression> cacheExpression)
public Expression createExpression(String expression)
Expression
based on this model.createExpression
in interface SimpleNode
createExpression
in class LiteralExpression
expression
- not in useExpression
public 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