public class XmlErrorHandler
extends java.lang.Object
implements org.xml.sax.ErrorHandler
Constructor and Description |
---|
XmlErrorHandler() |
Modifier and Type | Method and Description |
---|---|
void |
error(org.xml.sax.SAXParseException exception) |
void |
fatalError(org.xml.sax.SAXParseException exception) |
java.util.List<org.xml.sax.SAXParseException> |
getErrors() |
java.util.List<org.xml.sax.SAXParseException> |
getWarnings() |
void |
logFindings(Log log,
java.lang.String source) |
void |
warning(org.xml.sax.SAXParseException exception) |
public void error(org.xml.sax.SAXParseException exception) throws org.xml.sax.SAXException
error
in interface org.xml.sax.ErrorHandler
org.xml.sax.SAXException
public void fatalError(org.xml.sax.SAXParseException exception) throws org.xml.sax.SAXException
fatalError
in interface org.xml.sax.ErrorHandler
org.xml.sax.SAXException
public void warning(org.xml.sax.SAXParseException exception) throws org.xml.sax.SAXException
warning
in interface org.xml.sax.ErrorHandler
org.xml.sax.SAXException
public java.util.List<org.xml.sax.SAXParseException> getErrors()
public java.util.List<org.xml.sax.SAXParseException> getWarnings()
public void logFindings(Log log, java.lang.String source)
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.