public abstract class AbstractContainerSegment extends AbstractSegment implements Iterable<Segment>
| Constructor and Description |
|---|
AbstractContainerSegment(String name,
TemplateSegment template) |
| Modifier and Type | Method and Description |
|---|---|
void |
addSegment(Segment segment) |
void |
execute(Appendable appendable,
ExecutionContext context)
Execute this segment (e.g. write down some variable value).
|
protected String |
getContainingLiteralBlock() |
protected String |
getSegmentName() |
List<Segment> |
getSegments() |
int |
getSegmentsSize() |
Iterator<Segment> |
iterator() |
void |
performPostProcessing()
Perform post processing, e.g. optimization.
|
append, getDefaultEndDelimiter, getDefaultStartDelimiter, getEngine, getEngineConfiguration, getLiteralBlock, getTagLiteral, getTemplate, getText, checkModificationAllowed, isReadOnly, toStringpublic AbstractContainerSegment(String name, TemplateSegment template)
name - template - public void execute(Appendable appendable, ExecutionContext context)
Segmentpublic void performPostProcessing()
SegmentperformPostProcessing in interface SegmentperformPostProcessing in class AbstractSegmentpublic void addSegment(Segment segment)
segment - public int getSegmentsSize()
protected String getContainingLiteralBlock()
protected String getSegmentName()
getSegmentName in class AbstractSegmentCopyright © 2013. All Rights Reserved.