Constructor and Description |
---|
RootSegment(Origin origin,
List<Segment> segments) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getOrigin, getTagInfo, getText
forEach, spliterator
public SegmentType getType()
public String getLiteralBlock()
Segment
getLiteralBlock
in interface Segment
Lambda.InputType.LITERAL
,
HelperDefinition.getContentLiteralBlock()
public Appendable execute(Appendable appendable, ExecutionContext context)
Segment
public static void flushAsyncAppendable(Appendable appendable)
public List<Segment> getSegments()
getSegments
in interface ContainerSegment
public int getSegmentsSize(boolean recursive)
getSegmentsSize
in interface ContainerSegment
public String getContentLiteralBlock()
getContentLiteralBlock
in interface ContainerSegment
protected String getSegmentName()
protected List<MustacheTagInfo> getDirectChildTags()
public String getText()
public Origin getOrigin()
public MustacheTagInfo getTagInfo()
getTagInfo
in interface Segment
null
if the
segment does not represent a tag (e.g. SegmentType.TEXT
)protected Template getTemplate()
protected MustacheEngine getEngine()
protected Configuration getEngineConfiguration()
protected String getDefaultStartDelimiter()
protected String getDefaultEndDelimiter()
protected boolean isHandlebarsSupportEnabled()
protected Appendable append(Appendable appendable, String text)
protected Appendable appendText(Appendable appendable)
protected MustacheTagType getTagType()
Copyright © 2017. All rights reserved.