org.apache.camel.language.simple.ast
Class SimpleFunctionStart
java.lang.Object
org.apache.camel.language.simple.ast.BaseSimpleNode
org.apache.camel.language.simple.ast.SimpleFunctionStart
- All Implemented Interfaces:
- Block, BlockStart, SimpleNode
public class SimpleFunctionStart
- extends BaseSimpleNode
- implements BlockStart
Starts a function
SimpleFunctionStart
public SimpleFunctionStart(SimpleToken token)
toString
public String toString()
- Overrides:
toString in class BaseSimpleNode
createExpression
public Expression createExpression(String expression)
- Description copied from interface:
SimpleNode
- Creates a Camel
Expression based on this model.
- Specified by:
createExpression in interface SimpleNode
- Parameters:
expression - the input string
- Returns:
- the created
Expression
acceptAndAddNode
public boolean acceptAndAddNode(SimpleNode node)
- Description copied from interface:
Block
- Whether to accept and add the given node in this block.
- Specified by:
acceptAndAddNode in interface Block
- Parameters:
node - the other node.
- Returns:
- true to accept and add to this block, false to end this block.
Apache Camel