Package org.stringtemplate.v4
Class NoIndentWriter
- java.lang.Object
-
- org.stringtemplate.v4.AutoIndentWriter
-
- org.stringtemplate.v4.NoIndentWriter
-
- All Implemented Interfaces:
STWriter
public class NoIndentWriter extends AutoIndentWriter
Just pass through the text.
-
-
Field Summary
-
Fields inherited from class org.stringtemplate.v4.AutoIndentWriter
anchors, anchors_sp, atStartOfLine, charIndex, charPosition, indents, lineWidth, newline, out
-
-
Constructor Summary
Constructors Constructor Description NoIndentWriter(Writer out)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
write(String str)
Write out a string literal or attribute expression or expression element.-
Methods inherited from class org.stringtemplate.v4.AutoIndentWriter
indent, index, popAnchorPoint, popIndentation, pushAnchorPoint, pushIndentation, setLineWidth, write, writeSeparator, writeWrap
-
-
-
-
Constructor Detail
-
NoIndentWriter
public NoIndentWriter(Writer out)
-
-
Method Detail
-
write
public int write(String str) throws IOException
Description copied from class:AutoIndentWriter
Write out a string literal or attribute expression or expression element.- Specified by:
write
in interfaceSTWriter
- Overrides:
write
in classAutoIndentWriter
- Throws:
IOException
-
-