org.eclipse.uml2.ant.app
Class IDiagnosticReporter.AbstractReporter

java.lang.Object
  extended by org.eclipse.uml2.ant.app.IDiagnosticReporter.AbstractReporter
All Implemented Interfaces:
IDiagnosticReporter
Direct Known Subclasses:
IDiagnosticReporter.PrintStreamReporter
Enclosing interface:
IDiagnosticReporter

public abstract static class IDiagnosticReporter.AbstractReporter
extends java.lang.Object
implements IDiagnosticReporter

Partial implementation of a diagnostic reporter.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.uml2.ant.app.IDiagnosticReporter
IDiagnosticReporter.AbstractReporter, IDiagnosticReporter.PrintStreamReporter
 
Constructor Summary
IDiagnosticReporter.AbstractReporter()
           
 
Method Summary
protected abstract  void doReport(int depth, int severity, java.lang.String message, java.lang.Throwable exception)
           
 void report(org.eclipse.emf.common.util.Diagnostic diagnostic)
           
protected  void report(int depth, org.eclipse.emf.common.util.Diagnostic diagnostic)
           
protected  java.lang.String toSeverityString(int severity)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IDiagnosticReporter.AbstractReporter

public IDiagnosticReporter.AbstractReporter()
Method Detail

report

public void report(org.eclipse.emf.common.util.Diagnostic diagnostic)
Specified by:
report in interface IDiagnosticReporter

report

protected void report(int depth,
                      org.eclipse.emf.common.util.Diagnostic diagnostic)

doReport

protected abstract void doReport(int depth,
                                 int severity,
                                 java.lang.String message,
                                 java.lang.Throwable exception)

toSeverityString

protected java.lang.String toSeverityString(int severity)

Copyright 2003, 2014 IBM Corporation, CEA, and others.
All Rights Reserved.