@ThreadSafe public class CollectingSAXErrorHandler extends AbstractSAXErrorHandler implements IHasResourceErrorGroup
| Modifier and Type | Field and Description |
|---|---|
protected ReadWriteLock |
m_aRWLock |
| Constructor and Description |
|---|
CollectingSAXErrorHandler() |
CollectingSAXErrorHandler(ErrorHandler aWrappedErrorHandler) |
| Modifier and Type | Method and Description |
|---|---|
EChange |
clearResourceErrors()
Clear all currently stored errors.
|
boolean |
containsAtLeastOneError() |
IResourceErrorGroup |
getResourceErrors() |
protected void |
internalLog(EErrorLevel eErrorLevel,
SAXParseException aException) |
String |
toString() |
error, fatalError, getSaxParseError, getWrappedErrorHandler, warningprotected final ReadWriteLock m_aRWLock
public CollectingSAXErrorHandler()
public CollectingSAXErrorHandler(@Nullable ErrorHandler aWrappedErrorHandler)
protected void internalLog(@Nonnull EErrorLevel eErrorLevel, SAXParseException aException)
internalLog in class AbstractSAXErrorHandler@Nonnull @ReturnsMutableCopy public IResourceErrorGroup getResourceErrors()
getResourceErrors in interface IHasResourceErrorGroupnull resource error groupspublic boolean containsAtLeastOneError()
@Nonnull public EChange clearResourceErrors()
EChange.CHANGED if at least one item was cleared.public String toString()
toString in class AbstractSAXErrorHandlerCopyright © 2006–2014 phloc systems. All rights reserved.