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

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

public static class IDiagnosticReporter.PrintStreamReporter
extends IDiagnosticReporter.AbstractReporter

A diagnostic reporter that prints diagnostics to a stream.


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

Constructor Detail

IDiagnosticReporter.PrintStreamReporter

public IDiagnosticReporter.PrintStreamReporter(java.io.PrintStream stream)
Method Detail

doReport

protected void doReport(int depth,
                        int severity,
                        java.lang.String message,
                        java.lang.Throwable exception)
Specified by:
doReport in class IDiagnosticReporter.AbstractReporter

toSeverityString

protected java.lang.String toSeverityString(int severity)
Overrides:
toSeverityString in class IDiagnosticReporter.AbstractReporter

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