public class NotIterableCode extends DefaultCode implements Iteration
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,
Object[] scopes)
The default behavior is to run the codes and append the captured text.
|
Writer |
next(Writer writer,
Object object,
Object[] scopes) |
addScope, append, appendText, clone, clone, execute, get, getCodes, identity, init, run, runIdentity, setCodes, tag
public NotIterableCode(TemplateContext templateContext, DefaultMustacheFactory df, Mustache mustache, String variable)
public Writer execute(Writer writer, Object[] scopes)
DefaultCode
execute
in interface Code
execute
in class DefaultCode
writer
- The writer to write the output toscopes
- The scopes to evaluate the embedded names against.Copyright © 2013. All Rights Reserved.