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, tag
public DefaultMustache(TemplateContext tc, MustacheFactory cf, Code[] codes, java.lang.String name)
public Code[] getCodes()
Mustache
public java.io.Writer run(java.io.Writer writer, java.lang.Object[] scopes)
Mustache
run
in interface Mustache
run
in class DefaultCode
public void setCodes(Code[] newcodes)
Mustache
public void identity(java.io.Writer writer)
Mustache
public void init()
Mustache
Copyright © 2012. All Rights Reserved.