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