org.apache.camel.language.simple.ast
Class SimpleFunctionStart

java.lang.Object
  extended by org.apache.camel.language.simple.ast.BaseSimpleNode
      extended by org.apache.camel.language.simple.ast.SimpleFunctionStart
All Implemented Interfaces:
Block, BlockStart, SimpleNode

public class SimpleFunctionStart
extends BaseSimpleNode
implements BlockStart

Starts a function


Field Summary
 
Fields inherited from class org.apache.camel.language.simple.ast.BaseSimpleNode
token
 
Constructor Summary
SimpleFunctionStart(SimpleToken token)
           
 
Method Summary
 boolean acceptAndAddNode(SimpleNode node)
          Whether to accept and add the given node in this block.
 Expression createExpression(String expression)
          Creates a Camel Expression based on this model.
 String toString()
           
 
Methods inherited from class org.apache.camel.language.simple.ast.BaseSimpleNode
getToken
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.camel.language.simple.ast.SimpleNode
getToken
 

Constructor Detail

SimpleFunctionStart

public SimpleFunctionStart(SimpleToken token)
Method Detail

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