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,
Object[] scopes)
The default behavior is to run the codes and append the captured text.
|
protected Writer |
execute(Writer writer,
Object resolve,
Object[] scopes) |
protected Writer |
handle(Writer writer,
Object resolved,
Object[] scopes) |
Writer |
next(Writer writer,
Object object,
Object[] scopes) |
handleCallable, handleFunction, invert, writeTemplate
addScope, append, appendText, clone, clone, execute, filterText, 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 IterableCode
writer
- The writer to write the output toscopes
- The scopes to evaluate the embedded names against.protected Writer handle(Writer writer, Object resolved, Object[] scopes)
handle
in class IterableCode
protected Writer execute(Writer writer, Object resolve, Object[] scopes)
execute
in class IterableCode
Copyright © 2014. All Rights Reserved.