| Constructor and Description |
|---|
ValueSegment(String text,
Origin origin,
boolean unescape) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
append(Appendable appendable,
String text) |
void |
execute(Appendable appendable,
ExecutionContext context)
Execute this segment (e.g. write down some variable value).
|
void |
fn(Appendable appendable,
ExecutionContext context) |
protected String |
getDefaultEndDelimiter() |
protected String |
getDefaultStartDelimiter() |
protected List<MustacheTagInfo> |
getDirectChildTags() |
protected MustacheEngine |
getEngine() |
protected Configuration |
getEngineConfiguration() |
String |
getLiteralBlock() |
Origin |
getOrigin() |
protected String |
getSegmentName() |
MustacheTagInfo |
getTagInfo() |
protected String |
getTagLiteral(String content) |
protected MustacheTagType |
getTagType() |
Template |
getTemplate() |
String |
getText() |
SegmentType |
getType() |
protected boolean |
isHandlebarsSupportEnabled() |
boolean |
isUnescape() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetLiteralBlock, getOrigin, getTagInfo, getTextpublic SegmentType getType()
public boolean isUnescape()
public void execute(Appendable appendable, ExecutionContext context)
Segmentpublic void 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 Segmentpublic String getLiteralBlock()
getLiteralBlock in interface SegmentLambda.InputType.LITERALpublic Template getTemplate()
protected MustacheEngine getEngine()
protected Configuration getEngineConfiguration()
protected String getDefaultStartDelimiter()
protected String getDefaultEndDelimiter()
protected boolean isHandlebarsSupportEnabled()
protected void append(Appendable appendable, String text)
protected List<MustacheTagInfo> getDirectChildTags()
Copyright © 2015. All Rights Reserved.