Home | News | Wiki | About StringTemplate | Feedback | Support | Bugs


Latest version is 3.2.
Download now! »

Download
» Home
» Download
» News
»Using StringTemplate
» Documentation
» Wiki
» Articles
» File Sharing
» Code API
» Tech Support
»About StringTemplate
» What is it?
» Showcase
» Testimonials
» Software License
» Changes
»Feedback
»Credits
»Contact


Support StringTemplate, ANTLR Project by making a donation! Terence often pays for things like the antlr.org server, conference travel, and this site design (that alone cost US$1000). Buy him a beer and pizza remotely ;)

Search



NoIndentWriter


org.antlr.stringtemplate
Class NoIndentWriter

java.lang.Object
  extended byorg.antlr.stringtemplate.AutoIndentWriter
      extended byorg.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
NoIndentWriter(java.io.Writer out)
           
 
Method Summary
 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, indent, indent, popAnchorPoint, popIndentation, pushAnchorPoint, pushIndentation, setLineWidth, write, writeSeparator, writeWrapSeparator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoIndentWriter

public NoIndentWriter(java.io.Writer out)
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 interface StringTemplateWriter
Overrides:
write in class AutoIndentWriter
Throws:
java.io.IOException