| Constructor and Description |
|---|
ValueSegment(String text,
Origin origin,
boolean unescape) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetLiteralBlock, getOrigin, getTagInfo, getTextpublic SegmentType getType()
public boolean isUnescape()
public Appendable execute(Appendable appendable, ExecutionContext context)
Segmentpublic Appendable fn(Appendable appendable, ExecutionContext context)
Options.fn(),
Options.fn(Appendable)protected String getSegmentName()
protected MustacheTagType getTagType()
public String getText()
public Origin getOrigin()
public MustacheTagInfo getTagInfo()
getTagInfo in interface Segmentnull if the
segment does not represent a tag (e.g. SegmentType.TEXT)public String getLiteralBlock()
SegmentgetLiteralBlock in interface SegmentLambda.InputType.LITERAL,
HelperDefinition.getContentLiteralBlock()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 List<MustacheTagInfo> getDirectChildTags()
Copyright © 2017. All rights reserved.