org.eclipse.xpand2.output
Class BlankLineSkippingOutput

java.lang.Object
  extended by org.eclipse.xpand2.output.OutputImpl
      extended by org.eclipse.xpand2.output.BlankLineSkippingOutput
All Implemented Interfaces:
Output

public class BlankLineSkippingOutput
extends OutputImpl

This output implementation avoids writing of unnecessary blank lines.


Field Summary
 
Fields inherited from class org.eclipse.xpand2.output.OutputImpl
fileHandles
 
Constructor Summary
BlankLineSkippingOutput()
           
 
Method Summary
 void closeFile()
           
 void pushStatement(SyntaxElement stmt, XpandExecutionContext ctx)
           
 void write(java.lang.String bytes)
           
 
Methods inherited from class org.eclipse.xpand2.output.OutputImpl
addOutlet, current__testONLY, current, getOutlet, openFile, popStatement, removeWSAfterLastNewline, resolveOutlet, setAutomaticHyphens, trimUntilNewline
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlankLineSkippingOutput

public BlankLineSkippingOutput()
Method Detail

write

public void write(java.lang.String bytes)
Specified by:
write in interface Output
Overrides:
write in class OutputImpl

closeFile

public void closeFile()
Specified by:
closeFile in interface Output
Overrides:
closeFile in class OutputImpl

pushStatement

public void pushStatement(SyntaxElement stmt,
                          XpandExecutionContext ctx)
Specified by:
pushStatement in interface Output
Overrides:
pushStatement in class OutputImpl

Copyright 2007 committers of openArchitectureWare and others.
All Rights Reserved.