public class SectionSegment extends AbstractSectionSegment
The content is not rendered if there is no object found in the context, or the found object is:
The content is rendered one or more times if there is an object found in the context. If the found object is:
Lambda,
InvertedSectionSegmentsegments| Constructor and Description |
|---|
SectionSegment(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).
|
SegmentType |
getType() |
getContainingLiteralBlock, getLiteralBlock, performPostProcessingaddSegment, getSegmentName, getSegments, getSegmentsSize, iteratorappend, getDefaultEndDelimiter, getDefaultStartDelimiter, getEngine, getEngineConfiguration, getTagLiteral, getTemplate, getText, checkModificationAllowed, isReadOnly, toStringpublic SectionSegment(String text, TemplateSegment template)
public SegmentType getType()
public void execute(Appendable appendable, ExecutionContext context)
Segmentexecute in interface Segmentexecute in class AbstractContainerSegmentCopyright © 2013. All Rights Reserved.