| Constructor and Description |
|---|
ValueSegment(java.lang.String text,
Origin origin,
boolean unescape) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
append(java.lang.Appendable appendable,
java.lang.String text) |
void |
execute(java.lang.Appendable appendable,
ExecutionContext context)
Execute this segment (e.g. write down some variable value).
|
protected java.lang.String |
getDefaultEndDelimiter() |
protected java.lang.String |
getDefaultStartDelimiter() |
protected MustacheEngine |
getEngine() |
protected Configuration |
getEngineConfiguration() |
java.lang.String |
getLiteralBlock() |
Origin |
getOrigin() |
protected java.lang.String |
getSegmentName() |
protected java.lang.String |
getTagLiteral(java.lang.String content) |
TemplateSegment |
getTemplate() |
java.lang.String |
getText() |
SegmentType |
getType() |
protected void |
checkModificationAllowed() |
protected boolean |
isReadOnly() |
boolean |
isUnescape() |
void |
performPostProcessing()
Perform compilation post processing, e.g. optimization.
|
java.lang.String |
toString() |
public ValueSegment(java.lang.String text,
Origin origin,
boolean unescape)
public SegmentType getType()
public boolean isUnescape()
public void execute(java.lang.Appendable appendable,
ExecutionContext context)
Segmentprotected java.lang.String getSegmentName()
public java.lang.String getText()
public Origin getOrigin()
public java.lang.String getLiteralBlock()
getLiteralBlock in interface SegmentLambda.InputType.LITERALpublic void performPostProcessing()
SegmentperformPostProcessing in interface Segmentpublic java.lang.String toString()
toString in class java.lang.Objectpublic TemplateSegment getTemplate()
protected boolean isReadOnly()
protected MustacheEngine getEngine()
protected Configuration getEngineConfiguration()
protected java.lang.String getDefaultStartDelimiter()
protected java.lang.String getDefaultEndDelimiter()
protected java.lang.String getTagLiteral(java.lang.String content)
protected void append(java.lang.Appendable appendable,
java.lang.String text)
protected void checkModificationAllowed()
Copyright © 2013. All Rights Reserved.