Package | Description |
---|---|
ca.uhn.hl7v2.validation | |
ca.uhn.hl7v2.validation.impl |
Modifier and Type | Class and Description |
---|---|
class |
AbstractValidationExceptionHandler<R>
Abstract base class of a ValidationExceptionHandler that supports a validation subject.
|
class |
CollectingValidationExceptionHandler<R>
ValidationExceptionHandler that collects all
ValidationException s in a list. |
class |
DefaultValidationExceptionHandler
Simple implementation of a handler that just tracks if
DefaultValidationExceptionHandler.error(ValidationException) has been called at least once. |
class |
ReportingValidationExceptionHandler
ValidationExceptionHandler that logs all
ValidationException s and
optionally throws the first one wrapped in a HL7Exception . |
class |
RespondingValidationExceptionHandler
ValidationExceptionHandler that generates response messages as statically
configured and based on the outcome of a validation process.
|
Modifier and Type | Method and Description |
---|---|
R |
AbstractValidator.validate(Message message,
ValidationExceptionHandler<R> handler) |
R |
Validator.validate(Message message,
ValidationExceptionHandler<R> handler)
Validates a
Message using a custom ValidationExceptionHandler . |
R |
AbstractValidator.validate(String message,
boolean isXML,
String version,
ValidationExceptionHandler<R> handler) |
R |
Validator.validate(String message,
boolean isXML,
String version,
ValidationExceptionHandler<R> handler)
Validates a String representing an encoded message.
|
Modifier and Type | Class and Description |
---|---|
class |
SimpleValidationExceptionHandler
A very simple example of a validation handler that simply returns a boolean
value as validation
result . |
Modifier and Type | Method and Description |
---|---|
ValidationExceptionHandler<Boolean> |
SimpleValidationExceptionHandler.getNewInstance(HapiContext context) |
Copyright © 2001–2017 University Health Network. All rights reserved.