@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.
| Constructor and Description |
|---|
InvertedSectionSegment(String text,
Origin origin,
List<Segment> segments) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetOrigin, getTagInfo, getTextforEach, spliteratorpublic SegmentType getType()
public Appendable execute(Appendable appendable, ExecutionContext context)
Segmentpublic String getLiteralBlock()
SegmentgetLiteralBlock in interface SegmentLambda.InputType.LITERAL,
HelperDefinition.getContentLiteralBlock()public String getContentLiteralBlock()
getContentLiteralBlock in interface ContainerSegmentpublic List<Segment> getSegments()
getSegments in interface ContainerSegmentpublic int getSegmentsSize(boolean recursive)
getSegmentsSize in interface ContainerSegmentprotected String getSegmentName()
protected List<MustacheTagInfo> getDirectChildTags()
public String getText()
public Origin getOrigin()
public MustacheTagInfo getTagInfo()
getTagInfo in interface Segmentpublic Template getTemplate()
protected MustacheEngine getEngine()
protected Configuration getEngineConfiguration()
protected String getDefaultStartDelimiter()
protected String getDefaultEndDelimiter()
protected boolean isHandlebarsSupportEnabled()
protected void append(Appendable appendable, String text)
protected MustacheTagType getTagType()
Copyright © 2015. All rights reserved.