public class DefaultErrorHandler
extends java.lang.Object
implements org.xml.sax.ErrorHandler
Modifier and Type | Field and Description |
---|---|
protected java.util.List<XSDDiagnostic> |
xsdDiagnostics |
protected XSDFactory |
xsdFactory |
Constructor and Description |
---|
DefaultErrorHandler() |
Modifier and Type | Method and Description |
---|---|
void |
error(org.xml.sax.SAXParseException exception) |
void |
fatalError(org.xml.sax.SAXParseException exception) |
java.util.Collection<XSDDiagnostic> |
getDiagnostics() |
void |
warning(org.xml.sax.SAXParseException exception) |
protected java.util.List<XSDDiagnostic> xsdDiagnostics
protected XSDFactory xsdFactory
public void fatalError(org.xml.sax.SAXParseException exception)
fatalError
in interface org.xml.sax.ErrorHandler
public void error(org.xml.sax.SAXParseException exception)
error
in interface org.xml.sax.ErrorHandler
public void warning(org.xml.sax.SAXParseException exception)
warning
in interface org.xml.sax.ErrorHandler
public java.util.Collection<XSDDiagnostic> getDiagnostics()