public interface Mustache extends Code
Modifier and Type | Method and Description |
---|---|
void |
append(String text)
Append text to the mustache output.
|
Object |
clone()
Deep clone of the mustache object.
|
Writer |
execute(Writer writer,
Object scope)
Execute the mustache object with a given writer and a single scope context.
|
Writer |
execute(Writer writer,
Object[] scopes)
Execute the mustache with a given writer and an array of scope objects.
|
Code[] |
getCodes()
Get the underlying code objects.
|
void |
identity(Writer writer)
Execute the mustache to output itself.
|
void |
init()
Initialize the mustache before executing.
|
Writer |
run(Writer writer,
Object[] scopes)
Only executes the codes.
|
void |
setCodes(Code[] codes)
Change the underlying codes of the mustache implementation.
|
void append(String text)
Object clone()
Writer execute(Writer writer, Object scope)
Writer execute(Writer writer, Object[] scopes)
Code[] getCodes()
void identity(Writer writer)
void init()
void setCodes(Code[] codes)
Copyright © 2013. All Rights Reserved.