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