Package com.helger.xml.sax
Class LoggingSAXErrorHandler
- java.lang.Object
-
- com.helger.xml.sax.AbstractSAXErrorHandler
-
- com.helger.xml.sax.LoggingSAXErrorHandler
-
- All Implemented Interfaces:
ISAXErrorHandler,Serializable,ErrorHandler
@Immutable public class LoggingSAXErrorHandler extends AbstractSAXErrorHandler
java.xml error handler that simply logs data to a logger.- Author:
- Philip Helger
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LoggingSAXErrorHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringgetErrorMessage(com.helger.commons.error.level.IErrorLevel aErrorLevel, SAXParseException aException)protected voidinternalLog(com.helger.commons.error.level.IErrorLevel aErrorLevel, SAXParseException aException)-
Methods inherited from class com.helger.xml.sax.AbstractSAXErrorHandler
error, fatalError, getSaxParseError, toString, warning
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.helger.xml.sax.ISAXErrorHandler
andThen
-
-
-
-
Method Detail
-
getErrorMessage
@Nonnull @Nonempty @OverrideOnDemand protected String getErrorMessage(@Nonnull com.helger.commons.error.level.IErrorLevel aErrorLevel, SAXParseException aException)
-
internalLog
protected void internalLog(@Nonnull com.helger.commons.error.level.IErrorLevel aErrorLevel, SAXParseException aException)
- Specified by:
internalLogin classAbstractSAXErrorHandler
-
-