org.openxma.dsl.common.formatter
Class OpenXMAFormatter

java.lang.Object
  extended by org.eclipse.xtext.formatting.impl.AbstractFormatter
      extended by org.eclipse.xtext.formatting.impl.BaseFormatter
          extended by org.openxma.dsl.common.formatter.OpenXMAFormatter
All Implemented Interfaces:
org.eclipse.xtext.formatting.IFormatter

public abstract class OpenXMAFormatter
extends org.eclipse.xtext.formatting.impl.BaseFormatter


Nested Class Summary
 class OpenXMAFormatter.CustomOneWhitespaceFormatterStream
           
 
Field Summary
 
Fields inherited from class org.eclipse.xtext.formatting.impl.BaseFormatter
grammar
 
Constructor Summary
OpenXMAFormatter()
           
 
Method Summary
abstract  void configureFormatting(OpenXMAFormattingConfig c)
           
 org.eclipse.xtext.parsetree.reconstr.ITokenStream createFormatterStream(java.lang.String initalIndentation, org.eclipse.xtext.parsetree.reconstr.ITokenStream outputStream, boolean preserveWhitespaces)
           
protected  org.eclipse.xtext.IGrammarAccess getGrammarAccess()
           
 
Methods inherited from class org.eclipse.xtext.formatting.impl.BaseFormatter
getWSRule
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OpenXMAFormatter

public OpenXMAFormatter()
Method Detail

getGrammarAccess

protected org.eclipse.xtext.IGrammarAccess getGrammarAccess()

configureFormatting

public abstract void configureFormatting(OpenXMAFormattingConfig c)

createFormatterStream

public org.eclipse.xtext.parsetree.reconstr.ITokenStream createFormatterStream(java.lang.String initalIndentation,
                                                                               org.eclipse.xtext.parsetree.reconstr.ITokenStream outputStream,
                                                                               boolean preserveWhitespaces)
Specified by:
createFormatterStream in interface org.eclipse.xtext.formatting.IFormatter
Overrides:
createFormatterStream in class org.eclipse.xtext.formatting.impl.AbstractFormatter


Copyright © 2012. All Rights Reserved.