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

All Superinterfaces:
SimpleNode
All Known Implementing Classes:
LiteralExpression, SimpleFunctionExpression

public interface LiteralNode
extends SimpleNode

Represents a node in the AST which contains literals


Method Summary
 void addText(String text)
          Adds the given text to this model.
 String getText()
          Gets the text
 
Methods inherited from interface org.apache.camel.language.simple.ast.SimpleNode
createExpression, getToken
 

Method Detail

addText

void addText(String text)
Adds the given text to this model.

This operation can be invoked multiple times to add more text.

Parameters:
text - the text to add

getText

String getText()
Gets the text

Returns:
the text, will never be null, but may contain an empty string.


Apache CAMEL