public class ExtendCode extends PartialCode
extension, partialappended, binding, mustache, name, oh, returnThis, tc, type| Constructor and Description |
|---|
ExtendCode(TemplateContext tc,
DefaultMustacheFactory mf,
Mustache codes,
String name) |
| 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.
|
void |
init() |
getCodes, identity, partialName, setCodesaddScope, append, appendText, clone, clone, execute, get, run, runIdentity, tagpublic ExtendCode(TemplateContext tc, DefaultMustacheFactory mf, Mustache codes, String name) throws MustacheException
MustacheExceptionpublic Writer execute(Writer writer, Object[] scopes) throws MustacheException
DefaultCodeexecute in interface Codeexecute in class PartialCodewriter - The writer to write the output toscopes - The scopes to evaluate the embedded names against.MustacheExceptionpublic void init()
init in interface Codeinit in class PartialCodeCopyright © 2012. All Rights Reserved.