public class DefaultMustache extends DefaultCode implements Mustache
appended, binding, df, mustache, name, oh, returnThis, tc, type| Constructor and Description |
|---|
DefaultMustache(TemplateContext tc,
DefaultMustacheFactory df,
Code[] codes,
String name) |
| Modifier and Type | Method and Description |
|---|---|
Code[] |
getCodes()
Get the underlying code objects.
|
void |
identity(Writer writer)
Execute the mustache to output itself.
|
void |
init()
Initialize the mustache before executing.
|
Node |
invert(String text)
Invert this mustache given output text.
|
Writer |
run(Writer writer,
Object[] scopes)
Only executes the codes.
|
void |
setCodes(Code[] newcodes)
Change the underlying codes of the mustache implementation.
|
addScope, append, appendText, clone, clone, execute, execute, filterText, get, invert, runIdentity, tagpublic DefaultMustache(TemplateContext tc, DefaultMustacheFactory df, Code[] codes, String name)
public Code[] getCodes()
Mustachepublic Writer run(Writer writer, Object[] scopes)
Mustacherun in interface Mustacherun in class DefaultCodepublic void setCodes(Code[] newcodes)
Mustachepublic void identity(Writer writer)
Mustachepublic void init()
MustacheCopyright © 2014. All Rights Reserved.