edu.cmu.sei.aadl.modelsupport.errorreporting
Class NullParseErrorReporter
java.lang.Object
edu.cmu.sei.aadl.modelsupport.errorreporting.AbstractErrorReporter
edu.cmu.sei.aadl.modelsupport.errorreporting.AbstractParseErrorReporter
edu.cmu.sei.aadl.modelsupport.errorreporting.NullParseErrorReporter
- All Implemented Interfaces:
- ErrorReporter, ParseErrorReporter
public final class NullParseErrorReporter
- extends AbstractParseErrorReporter
An implementation of
edu.cmu.sei.aadl.model.pluginsupport.ParseErrorReporter
that silently
discards all reported errors.
Contains singleton references to a canonical null reporter
and to a factory object
.
- Author:
- aarong
Field Summary |
static edu.cmu.sei.aadl.modelsupport.errorreporting.NullParseErrorReporter.Factory |
factory
Singleton reference to the factory. |
static NullParseErrorReporter |
prototype
Singleton reference to the unique instance. |
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
prototype
public static final NullParseErrorReporter prototype
- Singleton reference to the unique instance.
factory
public static final edu.cmu.sei.aadl.modelsupport.errorreporting.NullParseErrorReporter.Factory factory
- Singleton reference to the factory.
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