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