public class ErrorViewCollectorErrorHandler
extends java.lang.Object
implements org.xml.sax.ErrorHandler
ErrorHandler that adds all reported problems to an ErrorViewCollector instance.| Constructor and Description |
|---|
ErrorViewCollectorErrorHandler(@NotNull ErrorViewCollector errorViewCollector,
@NotNull ErrorViewCategory errorViewCategory)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
error(org.xml.sax.SAXParseException exception) |
void |
fatalError(org.xml.sax.SAXParseException exception) |
void |
warning(org.xml.sax.SAXParseException exception) |
public ErrorViewCollectorErrorHandler(@NotNull
@NotNull ErrorViewCollector errorViewCollector,
@NotNull
@NotNull ErrorViewCategory errorViewCategory)
errorViewCollector - the error view collector instance for adding
messageserrorViewCategory - the error view category to use when adding
messages to errorViewCollectorpublic void warning(org.xml.sax.SAXParseException exception)
warning in interface org.xml.sax.ErrorHandlerpublic void error(org.xml.sax.SAXParseException exception)
error in interface org.xml.sax.ErrorHandlerpublic void fatalError(org.xml.sax.SAXParseException exception)
fatalError in interface org.xml.sax.ErrorHandler