Package com.helger.xml.sax
Class WrappedCollectingSAXErrorHandler
java.lang.Object
com.helger.xml.sax.AbstractSAXErrorHandler
com.helger.xml.sax.CollectingSAXErrorHandler
com.helger.xml.sax.WrappedCollectingSAXErrorHandler
- All Implemented Interfaces:
ISAXErrorHandler,ErrorHandler
An error handler implementation that stores all warnings, errors and fatal
errors. Derived from
CollectingSAXErrorHandler since v9.2.0.- Since:
- 8.5.1
- Author:
- Philip Helger
-
Field Summary
Fields inherited from class com.helger.xml.sax.CollectingSAXErrorHandler
m_aErrors, m_aRWLock -
Constructor Summary
ConstructorsConstructorDescriptionWrappedCollectingSAXErrorHandler(com.helger.commons.error.list.ErrorList aErrorList) -
Method Summary
Modifier and TypeMethodDescriptionfinal com.helger.commons.error.list.ErrorListMethods inherited from class com.helger.xml.sax.CollectingSAXErrorHandler
clearResourceErrors, containsAtLeastOneError, getErrorList, internalLog, toStringMethods inherited from class com.helger.xml.sax.AbstractSAXErrorHandler
error, fatalError, getSaxParseError, warningMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.helger.xml.sax.ISAXErrorHandler
andThen
-
Constructor Details
-
WrappedCollectingSAXErrorHandler
public WrappedCollectingSAXErrorHandler(@Nonnull com.helger.commons.error.list.ErrorList aErrorList)
-
-
Method Details
-
wrappedErrorList
@Nonnull @ReturnsMutableObject("design") public final com.helger.commons.error.list.ErrorList wrappedErrorList()- Returns:
- The error list object passed in the constructor. Never
null.
-