@Internal public class InvertedSectionSegment extends Object
The content is rendered if there is no object found in the context, or is a
Boolean of value false, or is an empty
Collections, or is an Iterable with no elements, or is an
empty array, or is an empty CharSequence, or is a number of value
0.
| Constructor and Description |
|---|
InvertedSectionSegment(String text,
Origin origin) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetOrigin, getTagInfo, getTextpublic SegmentType getType()
public void execute(Appendable appendable, ExecutionContext context)
Segmentpublic String getLiteralBlock()
getLiteralBlock in interface SegmentLambda.InputType.LITERALprotected String getContainingLiteralBlock()
public void performPostProcessing()
SegmentperformPostProcessing in interface Segmentpublic void addSegment(Segment segment)
addSegment in interface ContainerSegmentpublic List<Segment> getSegments()
getSegments in interface ContainerSegmentpublic int getSegmentsSize()
getSegmentsSize in interface ContainerSegmentprotected String getSegmentName()
public String getText()
public Origin getOrigin()
public MustacheTagInfo getTagInfo()
getTagInfo in interface Segmentpublic TemplateSegment getTemplate()
protected boolean isReadOnly()
protected MustacheEngine getEngine()
protected Configuration getEngineConfiguration()
protected String getDefaultStartDelimiter()
protected String getDefaultEndDelimiter()
protected boolean isHandlebarsSupportEnabled()
protected void append(Appendable appendable, String text)
protected void checkModificationAllowed()
protected MustacheTagType getTagType()
Copyright © 2014. All Rights Reserved.