Package | Description |
---|---|
ca.uhn.hl7v2.validation | |
ca.uhn.hl7v2.validation.builder | |
ca.uhn.hl7v2.validation.builder.support | |
ca.uhn.hl7v2.validation.impl |
Modifier and Type | Method and Description |
---|---|
ValidationException[] |
Rule.apply(T value)
Applies to rule to an object to be checked
|
static ValidationException |
ValidationException.fromHL7Exception(HL7Exception e) |
ValidationException[] |
MessageRule.test(Message msg)
Tests the given (fully populated) message against the criteria
defined by this rule class.
|
ValidationException[] |
EncodingRule.test(String msg)
Tests the given encoded message text against the criteria
defined by this rule class.
|
Modifier and Type | Method and Description |
---|---|
List<ValidationException> |
CollectingValidationExceptionHandler.getExceptions() |
Modifier and Type | Method and Description |
---|---|
void |
CollectingValidationExceptionHandler.error(ValidationException exception) |
void |
AbstractValidationExceptionHandler.error(ValidationException exception)
Called on ValidationExceptions with error severity
|
void |
DefaultValidationExceptionHandler.error(ValidationException exception)
If the validation process encounters a violation, this method is called.
|
void |
CollectingValidationExceptionHandler.info(ValidationException exception) |
void |
AbstractValidationExceptionHandler.info(ValidationException exception)
Called on ValidationExceptions with info severity
|
void |
ValidationExceptionHandler.onExceptions(ValidationException... exceptions)
Called in case of validation rule violations.
|
void |
AbstractValidationExceptionHandler.onExceptions(ValidationException... exceptions) |
void |
ReportingValidationExceptionHandler.onExceptions(ValidationException... exceptions)
Logs all exceptions
|
void |
CollectingValidationExceptionHandler.warning(ValidationException exception) |
void |
AbstractValidationExceptionHandler.warning(ValidationException exception)
Called on ValidationExceptions with warning severity
|
Modifier and Type | Method and Description |
---|---|
ValidationException[] |
PredicateMessageRule.apply(Message msg) |
ValidationException[] |
PredicatePrimitiveTypeRule.apply(String value) |
Modifier and Type | Method and Description |
---|---|
boolean |
Predicate.evaluate(Object data) |
Modifier and Type | Method and Description |
---|---|
ValidationException[] |
VisitorMessageRule.apply(Message message) |
ValidationException[] |
WrongVersionRule.apply(Message msg) |
ValidationException[] |
OnlyAllowableSegmentsInSuperstructureRule.apply(Message msg) |
ValidationException[] |
OnlyKnownSegmentsRule.apply(Message msg) |
ValidationException[] |
ChoiceElementsRespectedRule.apply(Message theValue) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
ValidatingMessageVisitor.addValidationException(ValidationException e) |
protected boolean |
ValidatingMessageVisitor.addValidationExceptions(ValidationException... e) |
Modifier and Type | Method and Description |
---|---|
ValidationException[] |
ConformanceProfileRule.apply(Message msg) |
ValidationException[] |
TrimTrailingWhitespace.apply(String value)
Deprecated.
|
ValidationException[] |
TrimLeadingWhitespace.apply(String value)
Deprecated.
|
ValidationException[] |
SizeRule.apply(String value)
Deprecated.
|
ValidationException[] |
XMLSchemaRule.apply(String msg)
Test/validate a given xml document against a hl7 v2.xml schema.
|
ValidationException[] |
RegexPrimitiveRule.apply(String value)
Deprecated.
Empty string, null, and the HL7 explicit null (two double-quotes) are passed.
|
protected ValidationException[] |
RuleSupport.failed(Exception e) |
protected ValidationException[] |
RuleSupport.failed(Exception e,
Location location) |
protected ValidationException[] |
RuleSupport.failed(String msg) |
protected ValidationException[] |
RuleSupport.failed(String msg,
Location location) |
protected ValidationException[] |
RuleSupport.failedWithValue(Object value,
Location location) |
protected ValidationException[] |
RuleSupport.passed() |
protected ValidationException[] |
RuleSupport.result(boolean result,
Object value) |
protected ValidationException[] |
RuleSupport.result(boolean result,
Object value,
Location location) |
ValidationException[] |
AbstractMessageRule.test(Message msg) |
ValidationException[] |
AbstractEncodingRule.test(String value) |
Copyright © 2001–2017 University Health Network. All rights reserved.