public class StaxXMLReporterWrapper extends Object implements XMLReporter
| Constructor and Description |
|---|
StaxXMLReporterWrapper(XMLReporter reporter)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static XMLReporter |
fromXMLReporter(XMLReporter reporter)
Static method to wrap an XMLReporter
|
void |
report(String message,
String errorType,
Object relatedInformation,
ILocation location)
Report the desired message in an application specific format.
|
public StaxXMLReporterWrapper(XMLReporter reporter)
reporter - The Reporter object to be wrapped.public void report(String message, String errorType, Object relatedInformation, ILocation location) throws Exception
report in interface XMLReportermessage - the error messageerrorType - an implementation defined error typerelatedInformation - information related to the error, if availablelocation - the location of the error, if availableXMLStreamExceptionExceptionpublic static XMLReporter fromXMLReporter(XMLReporter reporter)
reporter - Copyright © 2012. All Rights Reserved.