|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use STWriter | |
|---|---|
| org.stringtemplate.v4 | |
| Uses of STWriter in org.stringtemplate.v4 |
|---|
| Classes in org.stringtemplate.v4 that implement STWriter | |
|---|---|
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 | |
|---|---|
protected int |
Interpreter._exec(STWriter out,
ST self)
|
int |
Interpreter.exec(STWriter out,
ST self)
Execute template self and return how many characters it wrote to out |
protected java.lang.Object |
Interpreter.getObjectProperty(STWriter out,
ST self,
java.lang.Object o,
java.lang.Object property)
|
protected void |
Interpreter.indent(STWriter out,
ST self,
int strIndex)
|
void |
Interpreter.setDefaultArguments(STWriter out,
ST invokedST)
Set any default argument values that were not set by the invoking template or by setAttribute directly. |
protected java.lang.String |
Interpreter.toString(STWriter out,
ST self,
java.lang.Object value)
|
int |
ST.write(STWriter out)
|
int |
ST.write(STWriter out,
java.util.Locale locale)
|
int |
ST.write(STWriter out,
java.util.Locale locale,
STErrorListener listener)
|
int |
ST.write(STWriter out,
STErrorListener listener)
|
protected int |
Interpreter.writeIterator(STWriter out,
ST self,
java.lang.Object o,
java.lang.String[] options)
|
protected int |
Interpreter.writeObject(STWriter out,
ST self,
java.lang.Object o,
java.lang.String[] options)
Generic method to emit text for an object. |
protected int |
Interpreter.writeObjectNoOptions(STWriter out,
ST self,
java.lang.Object o)
Write out an expression result that doesn't use expression options. |
protected int |
Interpreter.writeObjectWithOptions(STWriter out,
ST self,
java.lang.Object o,
java.lang.Object[] options)
Write out an expression result that uses expression options. |
protected int |
Interpreter.writePOJO(STWriter out,
java.lang.Object o,
java.lang.String[] options)
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||