public abstract class AbstractSegment extends Object implements Segment
| Constructor and Description |
|---|
AbstractSegment(String text,
TemplateSegment template) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
append(Appendable appendable,
String text) |
protected String |
getDefaultEndDelimiter() |
protected String |
getDefaultStartDelimiter() |
protected MustacheEngine |
getEngine() |
protected Configuration |
getEngineConfiguration() |
String |
getLiteralBlock() |
protected String |
getSegmentName() |
protected String |
getTagLiteral(String content) |
TemplateSegment |
getTemplate() |
String |
getText() |
protected void |
checkModificationAllowed() |
protected boolean |
isReadOnly() |
void |
performPostProcessing()
Perform post processing, e.g. optimization.
|
String |
toString() |
public AbstractSegment(String text, TemplateSegment template)
text - template - public String getText()
public TemplateSegment getTemplate()
getTemplate in interface Segmentnull in
case of this segment itself is a templatepublic String getLiteralBlock()
getLiteralBlock in interface SegmentLambda.InputType.LITERALpublic void performPostProcessing()
SegmentperformPostProcessing in interface Segmentprotected boolean isReadOnly()
protected MustacheEngine getEngine()
protected Configuration getEngineConfiguration()
protected String getDefaultStartDelimiter()
protected String getDefaultEndDelimiter()
protected String getSegmentName()
protected void append(Appendable appendable, String text)
protected void checkModificationAllowed()
Copyright © 2013. All Rights Reserved.