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

java.lang.Object
  extended by org.apache.camel.language.simple.ast.BaseSimpleNode
      extended by org.apache.camel.language.simple.ast.CompositeNodes
All Implemented Interfaces:
SimpleNode

public class CompositeNodes
extends BaseSimpleNode

A node which contains other nodes.


Field Summary
 
Fields inherited from class org.apache.camel.language.simple.ast.BaseSimpleNode
token
 
Constructor Summary
CompositeNodes(SimpleToken token)
           
 
Method Summary
 void addChild(SimpleNode child)
           
 Expression createExpression(String expression)
          Creates a Camel Expression based on this model.
 List<SimpleNode> getChildren()
           
 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
 

Constructor Detail

CompositeNodes

public CompositeNodes(SimpleToken token)
Method Detail

toString

public String toString()
Overrides:
toString in class BaseSimpleNode

addChild

public void addChild(SimpleNode child)

getChildren

public List<SimpleNode> getChildren()

createExpression

public Expression createExpression(String expression)
Description copied from interface: SimpleNode
Creates a Camel Expression based on this model.

Parameters:
expression - the input string
Returns:
the created Expression


Apache Camel