public class NotIterableCode extends IterableCode
appended, binding, df, mustache, name, oh, returnThis, tc, type
Constructor and Description |
---|
NotIterableCode(TemplateContext templateContext,
DefaultMustacheFactory df,
Mustache mustache,
String variable) |
Modifier and Type | Method and Description |
---|---|
Writer |
execute(Writer writer,
List<Object> scopes)
The default behavior is to run the codes and append the captured text.
|
protected Writer |
execute(Writer writer,
Object resolve,
List<Object> scopes) |
protected Writer |
handle(Writer writer,
Object resolved,
List<Object> scopes) |
Writer |
next(Writer writer,
Object object,
List<Object> scopes) |
handleCallable, handleFunction, invert, writeTemplate
addScope, append, appendText, clone, clone, filterText, get, getCodes, getName, identity, init, matchAppended, run, runIdentity, setCodes, tag
public NotIterableCode(TemplateContext templateContext, DefaultMustacheFactory df, Mustache mustache, String variable)
public Writer execute(Writer writer, List<Object> scopes)
DefaultCode
execute
in interface Code
execute
in class IterableCode
writer
- The writer to write the output toscopes
- The scopes to evaluate the embedded names against.protected Writer handle(Writer writer, Object resolved, List<Object> scopes)
handle
in class IterableCode
protected Writer execute(Writer writer, Object resolve, List<Object> scopes)
execute
in class IterableCode
Copyright © 2018. All rights reserved.