public class SaxErrorHandler
extends java.lang.Object
implements org.xml.sax.ErrorHandler
Constructor and Description |
---|
SaxErrorHandler() |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
void |
error(org.xml.sax.SAXParseException exception) |
void |
fatalError(org.xml.sax.SAXParseException exception) |
int |
getErrorCount() |
java.util.Collection<SaxMessage> |
getErrors() |
int |
getWarningCount() |
boolean |
isOk() |
void |
warning(org.xml.sax.SAXParseException exception) |
public void clear()
public int getWarningCount()
public int getErrorCount()
public boolean isOk()
public java.util.Collection<SaxMessage> getErrors() throws java.lang.Exception
java.lang.Exception
public void warning(org.xml.sax.SAXParseException exception)
warning
in interface org.xml.sax.ErrorHandler
public void error(org.xml.sax.SAXParseException exception)
error
in interface org.xml.sax.ErrorHandler
public void fatalError(org.xml.sax.SAXParseException exception)
fatalError
in interface org.xml.sax.ErrorHandler