package javax.xml.stream; public interface XMLReporter { public void report(String message, String errorType, Object relatedInformation, Location location) throws XMLStreamException; }