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

java.lang.Object
  extended by edu.cmu.sei.aadl.modelsupport.errorreporting.AbstractErrorReporter
      extended by edu.cmu.sei.aadl.modelsupport.errorreporting.AbstractAnalysisErrorReporter
          extended by edu.cmu.sei.aadl.modelsupport.errorreporting.StringBufferAnalysisErrorReporter
All Implemented Interfaces:
AnalysisErrorReporter, ErrorReporter

public final class StringBufferAnalysisErrorReporter
extends AbstractAnalysisErrorReporter


Nested Class Summary
static class StringBufferAnalysisErrorReporter.Factory
          Creates analysis error reporters that all report to the same given string buffer.
 
Field Summary
 
Fields inherited from class edu.cmu.sei.aadl.modelsupport.errorreporting.AbstractAnalysisErrorReporter
resource
 
Method Summary
protected  void deleteMessagesImpl()
           
protected  void errorImpl(Element where, java.lang.String message, java.lang.String[] attrs, java.lang.Object[] values)
          Actual implementation of the error method.
protected  void infoImpl(Element where, java.lang.String message, java.lang.String[] attrs, java.lang.Object[] values)
          Actual implementation of the info method.
protected  void warningImpl(Element where, java.lang.String message, java.lang.String[] attrs, java.lang.Object[] values)
          Actual implementation of the warning method.
 
Methods inherited from class edu.cmu.sei.aadl.modelsupport.errorreporting.AbstractAnalysisErrorReporter
error, info, 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
 

Method Detail

errorImpl

protected void errorImpl(Element where,
                         java.lang.String message,
                         java.lang.String[] attrs,
                         java.lang.Object[] values)
Description copied from class: AbstractAnalysisErrorReporter
Actual implementation of the error method. It is guaranteed that

warningImpl

protected void warningImpl(Element where,
                           java.lang.String message,
                           java.lang.String[] attrs,
                           java.lang.Object[] values)
Description copied from class: AbstractAnalysisErrorReporter
Actual implementation of the warning method. It is guaranteed that

infoImpl

protected void infoImpl(Element where,
                        java.lang.String message,
                        java.lang.String[] attrs,
                        java.lang.Object[] values)
Description copied from class: AbstractAnalysisErrorReporter
Actual implementation of the info method. It is guaranteed that

deleteMessagesImpl

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