public class NotIterableCode extends DefaultCode implements Iteration
appended, binding, mustache, name, oh, returnThis, tc, type
Constructor and Description |
---|
NotIterableCode(TemplateContext templateContext,
DefaultMustacheFactory cf,
Mustache mustache,
java.lang.String variable) |
Modifier and Type | Method and Description |
---|---|
java.io.Writer |
execute(java.io.Writer writer,
java.lang.Object[] scopes)
The default behavior is to run the codes and append the captured text.
|
java.io.Writer |
next(java.io.Writer writer,
java.lang.Object object,
java.lang.Object[] scopes) |
addScope, append, appendText, clone, execute, get, getCodes, identity, init, run, runIdentity, setCodes, tag
public NotIterableCode(TemplateContext templateContext, DefaultMustacheFactory cf, Mustache mustache, java.lang.String variable)
public java.io.Writer execute(java.io.Writer writer, java.lang.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 © 2012. All Rights Reserved.