org.eclipse.xsd.util
Class DefaultErrorHandler
java.lang.Object
org.eclipse.xsd.util.DefaultErrorHandler
- All Implemented Interfaces:
- ErrorHandler
- public class DefaultErrorHandler
- extends Object
- implements 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 List xsdDiagnostics
xsdFactory
protected XSDFactory xsdFactory
DefaultErrorHandler
public DefaultErrorHandler()
fatalError
public void fatalError(SAXParseException exception)
- Specified by:
fatalError
in interface ErrorHandler
error
public void error(SAXParseException exception)
- Specified by:
error
in interface ErrorHandler
warning
public void warning(SAXParseException exception)
- Specified by:
warning
in interface ErrorHandler
getDiagnostics
public Collection getDiagnostics()