Package com.sun.msv.verifier.util
Class ErrorHandlerImpl
- java.lang.Object
-
- com.sun.msv.verifier.util.ErrorHandlerImpl
-
- All Implemented Interfaces:
org.xml.sax.ErrorHandler
public class ErrorHandlerImpl extends java.lang.Object implements org.xml.sax.ErrorHandlerdefault implementation of ErrorHandler. If an error is found, this implementation will throw it as an exception so that no further processing of the document will be performed.All warnings are ignored.
-
-
Field Summary
Fields Modifier and Type Field Description static org.xml.sax.ErrorHandlertheInstancethe singleton instance of this object.
-
Constructor Summary
Constructors Constructor Description ErrorHandlerImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiderror(org.xml.sax.SAXParseException error)voidfatalError(org.xml.sax.SAXParseException error)voidwarning(org.xml.sax.SAXParseException warning)
-
-
-
Method Detail
-
fatalError
public void fatalError(org.xml.sax.SAXParseException error) throws org.xml.sax.SAXParseException- Specified by:
fatalErrorin interfaceorg.xml.sax.ErrorHandler- Throws:
org.xml.sax.SAXParseException
-
error
public void error(org.xml.sax.SAXParseException error) throws org.xml.sax.SAXParseException- Specified by:
errorin interfaceorg.xml.sax.ErrorHandler- Throws:
org.xml.sax.SAXParseException
-
warning
public void warning(org.xml.sax.SAXParseException warning)
- Specified by:
warningin interfaceorg.xml.sax.ErrorHandler
-
-