edu.cmu.sei.aadl.modelsupport.errorreporting
Class LogParseErrorReporter

java.lang.Object
  extended by edu.cmu.sei.aadl.modelsupport.errorreporting.AbstractErrorReporter
      extended by edu.cmu.sei.aadl.modelsupport.errorreporting.AbstractParseErrorReporter
          extended by edu.cmu.sei.aadl.modelsupport.errorreporting.LogParseErrorReporter
All Implemented Interfaces:
ErrorReporter, ParseErrorReporter

public final class LogParseErrorReporter
extends AbstractParseErrorReporter

An implementation of edu.cmu.sei.aadl.model.pluginsupport.ParseErrorReporter that reports errors to the Eclipse "error" log.

The class defines a nested class LogParseErrorReporter.Factory that implements a factory.

Author:
aarong

Nested Class Summary
static class LogParseErrorReporter.Factory
           
 
Field Summary
static ParseErrorReporterFactory factory
          TODO compatibility for Topcased 0.7: it uses the 01162006 interface
 
Constructor Summary
LogParseErrorReporter(org.osgi.framework.Bundle bundle)
           
 
Method Summary
protected  void deleteMessagesImpl()
           
protected  void errorImpl(java.lang.String filename, int line, java.lang.String message)
           
protected  void infoImpl(java.lang.String filename, int line, java.lang.String message)
           
protected  void warningImpl(java.lang.String filename, int line, java.lang.String message)
           
 
Methods inherited from class edu.cmu.sei.aadl.modelsupport.errorreporting.AbstractParseErrorReporter
error, error, info, info, warning, warning
 
Methods inherited from class edu.cmu.sei.aadl.modelsupport.errorreporting.AbstractErrorReporter
deleteMessages, getNumErrors, getNumInfos, getNumMessages, getNumWarnings, incError, incInfo, incWarning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface edu.cmu.sei.aadl.modelsupport.errorreporting.ErrorReporter
deleteMessages, getNumErrors, getNumInfos, getNumMessages, getNumWarnings
 

Field Detail

factory

public static ParseErrorReporterFactory factory
TODO compatibility for Topcased 0.7: it uses the 01162006 interface

Constructor Detail

LogParseErrorReporter

public LogParseErrorReporter(org.osgi.framework.Bundle bundle)
Method Detail

errorImpl

protected void errorImpl(java.lang.String filename,
                         int line,
                         java.lang.String message)
Specified by:
errorImpl in class AbstractParseErrorReporter

warningImpl

protected void warningImpl(java.lang.String filename,
                           int line,
                           java.lang.String message)
Specified by:
warningImpl in class AbstractParseErrorReporter

infoImpl

protected void infoImpl(java.lang.String filename,
                        int line,
                        java.lang.String message)
Specified by:
infoImpl in class AbstractParseErrorReporter

deleteMessagesImpl

protected void deleteMessagesImpl()
Specified by:
deleteMessagesImpl in class AbstractErrorReporter