Package com.norconex.commons.lang.xml
Class ErrorHandlerCapturer
java.lang.Object
com.norconex.commons.lang.xml.ErrorHandlerCapturer
- All Implemented Interfaces:
ErrorHandler
Collects XML validation errors.
- Since:
- 2.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionErrorHandlerCapturer(Class<?> clazz) ErrorHandlerCapturer(Class<?> clazz, List<XmlValidationError> errors) ErrorHandlerCapturer(List<XmlValidationError> errors) -
Method Summary
-
Constructor Details
-
ErrorHandlerCapturer
public ErrorHandlerCapturer() -
ErrorHandlerCapturer
-
ErrorHandlerCapturer
-
ErrorHandlerCapturer
-
-
Method Details
-
getErrors
-
clear
public int clear() -
warning
- Specified by:
warningin interfaceErrorHandler- Throws:
SAXException
-
error
- Specified by:
errorin interfaceErrorHandler- Throws:
SAXException
-
fatalError
- Specified by:
fatalErrorin interfaceErrorHandler- Throws:
SAXException
-