org.apache.camel.language.simple.ast
Interface SimpleNode

All Known Subinterfaces:
Block, BlockStart, LiteralNode
All Known Implementing Classes:
BaseSimpleNode, BinaryExpression, CompositeNodes, DoubleQuoteEnd, DoubleQuoteStart, LiteralExpression, LogicalExpression, NullExpression, SimpleFunctionEnd, SimpleFunctionExpression, SimpleFunctionStart, SingleQuoteEnd, SingleQuoteStart, UnaryExpression

public interface SimpleNode

Represents a node in the Simple AST


Method Summary
 Expression createExpression(String expression)
          Creates a Camel Expression based on this model.
 SimpleToken getToken()
          Gets the token by which this model was based upon
 

Method Detail

getToken

SimpleToken getToken()
Gets the token by which this model was based upon

Returns:
the token

createExpression

Expression createExpression(String expression)
                            throws SimpleParserException
Creates a Camel Expression based on this model.

Parameters:
expression - the input string
Returns:
the created Expression
Throws:
SimpleParserException - should be thrown if error parsing the model


Apache CAMEL