public class JadexXMLReporterWrapper extends Object implements XMLReporter
Constructor and Description |
---|
JadexXMLReporterWrapper(XMLReporter reporter)
Constructor
|
Modifier and Type | Method and Description |
---|---|
static XMLReporter |
fromXMLReporter(XMLReporter reporter)
Wraps a reporter object.
|
void |
report(String message,
String errorType,
Object relatedInformation,
Location location)
Report the desired message in an application specific format.
|
public JadexXMLReporterWrapper(XMLReporter reporter)
reporter
- The reporter to be wrapped.public void report(String message, String errorType, Object relatedInformation, Location location) throws XMLStreamException
report
in interface XMLReporter
message
- the error messageerrorType
- an implementation defined error typerelatedInformation
- information related to the error, if availablelocation
- the location of the error, if availableXMLStreamException
public static XMLReporter fromXMLReporter(XMLReporter reporter)
reporter
- Copyright © 2012. All Rights Reserved.