javax.xml.stream

Interface XMLReporter

public interface XMLReporter

Interface used to report non-fatal errors during parsing.
Method Summary
voidreport(String message, String errorType, Object relatedInformation, Location location)
Reports an error.

Method Detail

report

public void report(String message, String errorType, Object relatedInformation, Location location)
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