public class DynamicPartialCode extends DefaultCode
Constructor and Description |
---|
DynamicPartialCode(TemplateContext tc,
DefaultMustacheFactory df,
String name) |
Modifier and Type | Method and Description |
---|---|
Writer |
execute(Writer writer,
List<Object> scopes)
The default behavior is to run the codes and append the captured text.
|
addScope, append, appendText, clone, clone, filterText, get, getCodes, getName, identity, init, invert, matchAppended, run, runIdentity, setCodes, tag
public DynamicPartialCode(TemplateContext tc, DefaultMustacheFactory df, String name)
public Writer execute(Writer writer, List<Object> scopes)
DefaultCode
execute
in interface Code
execute
in class DefaultCode
writer
- The writer to write the output toscopes
- The scopes to evaluate the embedded names against.Copyright © 2024. All rights reserved.