public interface Segment
| Modifier and Type | Method and Description |
|---|---|
void |
execute(Appendable appendable,
ExecutionContext context)
Execute this segment (e.g. write down some variable value).
|
String |
getLiteralBlock() |
TemplateSegment |
getTemplate() |
String |
getText() |
SegmentType |
getType() |
void |
performPostProcessing()
Perform post processing, e.g. optimization.
|
SegmentType getType()
String getText()
TemplateSegment getTemplate()
null in
case of this segment itself is a templateString getLiteralBlock()
Lambda.InputType.LITERALvoid execute(Appendable appendable, ExecutionContext context)
appendable - context - void performPostProcessing()
Copyright © 2013. All Rights Reserved.