public class Slf4jSaxErrorHandler extends Object implements ErrorHandler
Modifier and Type | Field and Description |
---|---|
protected boolean |
ignoreNamespaceErrors |
protected org.slf4j.Logger |
log |
Constructor and Description |
---|
Slf4jSaxErrorHandler(org.slf4j.Logger log) |
Modifier and Type | Method and Description |
---|---|
void |
error(SAXParseException e) |
void |
fatalError(SAXParseException e) |
protected String |
getExceptionLocationInfo(SAXParseException e) |
void |
setIgnoreNamespaceError(boolean ignore)
INTERNAL: Sets error logging strategy when namespace is not
declared.
|
void |
warning(SAXParseException e) |
protected org.slf4j.Logger log
protected boolean ignoreNamespaceErrors
public void setIgnoreNamespaceError(boolean ignore)
protected String getExceptionLocationInfo(SAXParseException e)
public void warning(SAXParseException e)
warning
in interface ErrorHandler
public void error(SAXParseException e)
error
in interface ErrorHandler
public void fatalError(SAXParseException e) throws SAXParseException
fatalError
in interface ErrorHandler
SAXParseException