| Constructor and Description |
|---|
TemplateSegment(String text,
MustacheEngine engine) |
public TemplateSegment(String text, MustacheEngine engine)
public void render(Appendable appendable, Map<String,Object> data)
Mustachepublic String render(Map<String,Object> data)
Mustachepublic SegmentType getType()
public String getLiteralBlock()
getLiteralBlock in interface SegmentLambda.InputType.LITERALpublic String getName()
public void performPostProcessing()
SegmentperformPostProcessing in interface Segmentpublic boolean isReadOnly()
true if read only, false otherwisepublic String toString()
protected MustacheEngine getEngine()
public void execute(Appendable appendable, ExecutionContext context)
Segmentpublic void addSegment(Segment segment)
addSegment in interface ContainerSegmentpublic List<Segment> getSegments()
getSegments in interface ContainerSegmentpublic int getSegmentsSize()
getSegmentsSize in interface ContainerSegmentprotected String getContainingLiteralBlock()
protected String getSegmentName()
public String getText()
public Origin getOrigin()
public TemplateSegment getTemplate()
protected Configuration getEngineConfiguration()
protected String getDefaultStartDelimiter()
protected String getDefaultEndDelimiter()
protected void append(Appendable appendable, String text)
protected void checkModificationAllowed()
Copyright © 2013. All Rights Reserved.