public class LiteralExpression extends BaseSimpleNode implements LiteralNode
| Modifier and Type | Field and Description |
|---|---|
protected StringBuilder |
text |
token| Constructor and Description |
|---|
LiteralExpression(SimpleToken token) |
| Modifier and Type | Method and Description |
|---|---|
void |
addText(String text)
Adds the given text to this model.
|
Expression |
createExpression(String expression)
Creates a Camel
Expression based on this model. |
String |
getText()
Gets the text
|
boolean |
quoteEmbeddedNodes()
Whether to quote embedded nodes.
|
String |
toString() |
getTokenclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetTokenprotected StringBuilder text
public LiteralExpression(SimpleToken token)
public String toString()
toString in class BaseSimpleNodepublic void addText(String text)
LiteralNodeaddText in interface LiteralNodetext - the text to addpublic String getText()
LiteralNodegetText in interface LiteralNodepublic boolean quoteEmbeddedNodes()
LiteralNodequoteEmbeddedNodes in interface LiteralNodepublic Expression createExpression(String expression)
SimpleNodeExpression based on this model.createExpression in interface SimpleNodeexpression - the input stringExpressionApache Camel