@ThreadSafe public class CollectingSAXErrorHandler extends AbstractSAXErrorHandler
| Modifier and Type | Field and Description |
|---|---|
protected com.helger.commons.concurrent.SimpleReadWriteLock |
m_aRWLock |
| Constructor and Description |
|---|
CollectingSAXErrorHandler() |
CollectingSAXErrorHandler(ErrorHandler aWrappedErrorHandler)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
com.helger.commons.state.EChange |
clearResourceErrors()
Clear all currently stored errors.
|
boolean |
containsAtLeastOneError() |
com.helger.commons.error.list.IErrorList |
getErrorList() |
com.helger.commons.error.IResourceErrorGroup |
getResourceErrors()
Deprecated.
|
protected void |
internalLog(com.helger.commons.error.level.IErrorLevel aErrorLevel,
SAXParseException aException) |
String |
toString() |
error, fatalError, getSaxParseError, getWrappedErrorHandler, warningclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitandThenpublic CollectingSAXErrorHandler()
@Deprecated public CollectingSAXErrorHandler(@Nullable ErrorHandler aWrappedErrorHandler)
protected void internalLog(@Nonnull com.helger.commons.error.level.IErrorLevel aErrorLevel, SAXParseException aException)
internalLog in class AbstractSAXErrorHandler@Nonnull @ReturnsMutableCopy @Deprecated public com.helger.commons.error.IResourceErrorGroup getResourceErrors()
@Nonnull @ReturnsMutableCopy public com.helger.commons.error.list.IErrorList getErrorList()
public boolean containsAtLeastOneError()
@Nonnull public com.helger.commons.state.EChange clearResourceErrors()
EChange.CHANGED if at least one item was cleared.public String toString()
toString in class AbstractSAXErrorHandlerCopyright © 2014–2016 Philip Helger. All rights reserved.