| Constructor and Description |
|---|
TemplateSegment(String text,
MustacheEngine engine) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetOrigin, getTagInfo, getTextpublic TemplateSegment(String text, MustacheEngine engine)
public void render(Appendable appendable, Object data)
Mustachepublic String render(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 MustacheTagInfo getTagInfo()
getTagInfo in interface Segmentpublic TemplateSegment getTemplate()
protected Configuration getEngineConfiguration()
protected String getDefaultStartDelimiter()
protected String getDefaultEndDelimiter()
protected boolean isHandlebarsSupportEnabled()
protected void append(Appendable appendable, String text)
protected void checkModificationAllowed()
protected MustacheTagType getTagType()
Copyright © 2014. All Rights Reserved.