org.eclipse.xsd.util
Class DefaultErrorHandler
java.lang.Object
org.eclipse.xsd.util.DefaultErrorHandler
- All Implemented Interfaces:
- org.xml.sax.ErrorHandler
public class DefaultErrorHandler
- extends java.lang.Object
- implements org.xml.sax.ErrorHandler
This helper class provides a default implementation for SAX ErrorHandler.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
xsdDiagnostics
protected java.util.List<XSDDiagnostic> xsdDiagnostics
xsdFactory
protected XSDFactory xsdFactory
DefaultErrorHandler
public DefaultErrorHandler()
fatalError
public void fatalError(org.xml.sax.SAXParseException exception)
- Specified by:
fatalError
in interface org.xml.sax.ErrorHandler
error
public void error(org.xml.sax.SAXParseException exception)
- Specified by:
error
in interface org.xml.sax.ErrorHandler
warning
public void warning(org.xml.sax.SAXParseException exception)
- Specified by:
warning
in interface org.xml.sax.ErrorHandler
getDiagnostics
public java.util.Collection<XSDDiagnostic> getDiagnostics()