edu.cmu.sei.aadl.modelsupport.errorreporting
Class WriterParseErrorReporter.Factory

java.lang.Object
  extended by edu.cmu.sei.aadl.modelsupport.errorreporting.WriterParseErrorReporter.Factory
All Implemented Interfaces:
ParseErrorReporterFactory
Enclosing class:
WriterParseErrorReporter

public static final class WriterParseErrorReporter.Factory
extends java.lang.Object
implements ParseErrorReporterFactory


Constructor Summary
WriterParseErrorReporter.Factory(java.io.Writer writer)
           
 
Method Summary
 ParseErrorReporter getReporterFor(org.eclipse.core.resources.IResource aadlRsrc)
          The given AADL IResource is allowed to be null.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WriterParseErrorReporter.Factory

public WriterParseErrorReporter.Factory(java.io.Writer writer)
Method Detail

getReporterFor

public ParseErrorReporter getReporterFor(org.eclipse.core.resources.IResource aadlRsrc)
The given AADL IResource is allowed to be null.

Specified by:
getReporterFor in interface ParseErrorReporterFactory
Parameters:
aadlRsrc - The IResource of the aadl text file for which an error reporter should be generated. May be null, but see above.
Returns:
The error reporter to be used for the file. Must not be null.