Class NotIterableCode
java.lang.Object
com.github.mustachejava.codes.DefaultCode
com.github.mustachejava.codes.IterableCode
com.github.mustachejava.codes.NotIterableCode
Runs the enclosed template once if the value is falsey.
-
Field Summary
Fields inherited from class DefaultCode
appended, binding, df, mustache, name, oh, returnThis, tc, type -
Constructor Summary
ConstructorsConstructorDescriptionNotIterableCode(TemplateContext templateContext, DefaultMustacheFactory df, Mustache mustache, String variable) -
Method Summary
Methods inherited from class IterableCode
execute, handleCallable, handleFunction, invert, writeTemplateMethods inherited from class DefaultCode
addScope, append, appendText, clone, clone, filterText, get, getCodes, getName, identity, init, matchAppended, run, runIdentity, setCodes, tag
-
Constructor Details
-
NotIterableCode
public NotIterableCode(TemplateContext templateContext, DefaultMustacheFactory df, Mustache mustache, String variable)
-
-
Method Details
-
handle
-
execute
-
next
-