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