org.eclipse.xtext.formatting.impl
Class AbstractFormatter

java.lang.Object
  extended by org.eclipse.xtext.formatting.impl.AbstractFormatter
All Implemented Interfaces:
IFormatter
Direct Known Subclasses:
BaseFormatter, NullFormatter

public abstract class AbstractFormatter
extends java.lang.Object
implements IFormatter

Author:
Moritz Eysholdt - Initial contribution and API

Constructor Summary
AbstractFormatter()
           
 
Method Summary
 ITokenStream createFormatterStream(java.lang.String initalIndentation, ITokenStream outputStream, boolean preserveWhitespaces)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractFormatter

public AbstractFormatter()
Method Detail

createFormatterStream

public ITokenStream createFormatterStream(java.lang.String initalIndentation,
                                          ITokenStream outputStream,
                                          boolean preserveWhitespaces)
Specified by:
createFormatterStream in interface IFormatter