Package com.github.mustachejava.codes
Class WriteCode
- java.lang.Object
-
- com.github.mustachejava.codes.DefaultCode
-
- com.github.mustachejava.codes.WriteCode
-
- All Implemented Interfaces:
Code,java.lang.Cloneable
public class WriteCode extends DefaultCode
Write template text.
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.regex.PatterncompiledAppended-
Fields inherited from class com.github.mustachejava.codes.DefaultCode
appended, binding, df, mustache, name, oh, returnThis, tc, type
-
-
Constructor Summary
Constructors Constructor Description WriteCode(TemplateContext tc, DefaultMustacheFactory df, java.lang.String text)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voididentity(java.io.Writer writer)Nodeinvert(Node node, java.lang.String text, java.util.concurrent.atomic.AtomicInteger position)-
Methods inherited from class com.github.mustachejava.codes.DefaultCode
addScope, append, appendText, clone, clone, execute, filterText, get, getCodes, getName, init, matchAppended, run, runIdentity, setCodes, tag
-
-
-
-
Constructor Detail
-
WriteCode
public WriteCode(TemplateContext tc, DefaultMustacheFactory df, java.lang.String text)
-
-
Method Detail
-
identity
public void identity(java.io.Writer writer)
- Specified by:
identityin interfaceCode- Overrides:
identityin classDefaultCode
-
-