public class XmlErrorHandler extends Object implements ErrorHandler
Constructor and Description |
---|
XmlErrorHandler() |
Modifier and Type | Method and Description |
---|---|
void |
error(SAXParseException exception)
This corresponds to the definition of "error" in section 1.2 of the
W3C XML 1.0 Recommendation.
|
void |
fatalError(SAXParseException exception)
This corresponds to the definition of "fatal error" in section 1.2 of
the W3C XML 1.0 Recommendation.
|
void |
warning(SAXParseException exception)
SAX parsers will use this method to report conditions that are not
errors or fatal errors as defined by the XML recommendation.
|
public void warning(SAXParseException exception) throws SAXException
warning
in interface ErrorHandler
SAXException
public void error(SAXParseException exception) throws SAXException
error
in interface ErrorHandler
SAXException
public void fatalError(SAXParseException exception) throws SAXException
fatalError
in interface ErrorHandler
SAXException
Copyright © OBCOM INGENIERIA S.A. (Chile). All Rights Reserved.