public class CommentSegment extends AbstractSegment
{{! My comment}}
| Constructor and Description |
|---|
CommentSegment(String text,
TemplateSegment template) |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(Appendable appendable,
ExecutionContext context)
Execute this segment (e.g. write down some variable value).
|
String |
getLiteralBlock() |
SegmentType |
getType() |
append, getDefaultEndDelimiter, getDefaultStartDelimiter, getEngine, getEngineConfiguration, getSegmentName, getTagLiteral, getTemplate, getText, checkModificationAllowed, isReadOnly, performPostProcessing, toStringpublic CommentSegment(String text, TemplateSegment template)
public SegmentType getType()
public void execute(Appendable appendable, ExecutionContext context)
Segmentpublic String getLiteralBlock()
getLiteralBlock in interface SegmentgetLiteralBlock in class AbstractSegmentLambda.InputType.LITERALCopyright © 2013. All Rights Reserved.