javax.xml.stream
Interface XMLReporter


public interface XMLReporter

Interface used to report non-fatal errors during parsing.


Method Summary
 void report(String message, String errorType, Object relatedInformation, Location location)
          Reports an error.
 

Method Detail

report

void report(String message,
            String errorType,
            Object relatedInformation,
            Location location)
            throws XMLStreamException
Reports an error.

Parameters:
message - the error message
errorType - an implementation-specific error type
relatedInformation - additional information, if any
location - the error location, if available
Throws:
XMLStreamException