Uses of Interface
org.stringtemplate.v4.STWriter
-
Packages that use STWriter Package Description org.stringtemplate.v4 -
-
Uses of STWriter in org.stringtemplate.v4
Classes in org.stringtemplate.v4 that implement STWriter Modifier and Type Class Description class
AutoIndentWriter
Essentially a char filter that knows how to auto-indent output by maintaining a stack of indent levels.class
NoIndentWriter
Just pass through the text.Methods in org.stringtemplate.v4 with parameters of type STWriter Modifier and Type Method Description protected int
Interpreter. _exec(STWriter out, InstanceScope scope)
int
Interpreter. exec(STWriter out, InstanceScope scope)
Execute templateself
and return how many characters it wrote toout
.protected Object
Interpreter. getObjectProperty(STWriter out, InstanceScope scope, Object o, Object property)
protected void
Interpreter. indent(STWriter out, InstanceScope scope, int strIndex)
void
Interpreter. setDefaultArguments(STWriter out, InstanceScope scope)
Set any default argument values that were not set by the invoking template or byST.add(java.lang.String, java.lang.Object)
directly.protected String
Interpreter. toString(STWriter out, InstanceScope scope, Object value)
int
ST. write(STWriter out)
int
ST. write(STWriter out, Locale locale)
int
ST. write(STWriter out, Locale locale, STErrorListener listener)
int
ST. write(STWriter out, STErrorListener listener)
protected int
Interpreter. writeIterator(STWriter out, InstanceScope scope, Object o, String[] options)
protected int
Interpreter. writeObject(STWriter out, InstanceScope scope, Object o, String[] options)
Generic method to emit text for an object.protected int
Interpreter. writeObjectNoOptions(STWriter out, InstanceScope scope, Object o)
Write out an expression result that doesn't use expression options.protected int
Interpreter. writeObjectWithOptions(STWriter out, InstanceScope scope, Object o, Object[] options)
Write out an expression result that uses expression options.protected int
Interpreter. writePOJO(STWriter out, InstanceScope scope, Object o, String[] options)
-