Package ca.uhn.hl7v2.validation
Interface ValidationExceptionHandlerFactory<R>
- Type Parameters:
R-
- All Known Implementing Classes:
DefaultValidationExceptionHandler,ReportingValidationExceptionHandler,RespondingValidationExceptionHandler,SimpleValidationExceptionHandler
public interface ValidationExceptionHandlerFactory<R>
This factory is responsible for generating a
ValidationExceptionHandler instance, which is then used when
validating a message using a DefaultValidator.
This allows to to keep the validator itself thread-safe, so it can be concurrently used e.g. in a Parser.
- Author:
- Christian Ohr
- See Also:
-
Method Summary
-
Method Details
-
getNewInstance
- Parameters:
context- HAPI context- Returns:
- a new instance of a ValidationExceptionHandler
-