public class ExtendCode extends PartialCode
extension, partialappended, binding, mustache, name, oh, returnThis, tc, type| Constructor and Description |
|---|
ExtendCode(TemplateContext tc,
DefaultMustacheFactory mf,
Mustache codes,
java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
java.io.Writer |
execute(java.io.Writer writer,
java.lang.Object[] scopes)
The default behavior is to run the codes and append the captured text.
|
void |
init() |
getCodes, identity, partialName, setCodesaddScope, append, appendText, clone, execute, get, runCodes, runIdentity, tagpublic ExtendCode(TemplateContext tc, DefaultMustacheFactory mf, Mustache codes, java.lang.String name) throws MustacheException
MustacheExceptionpublic java.io.Writer execute(java.io.Writer writer,
java.lang.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.