Package ca.uhn.hl7v2.conf.check
Interface Validator
- All Known Implementing Classes:
DefaultValidator
public interface Validator
Validates messages against message profiles. In general you use this by
formulating a ConformanceProfileRule and validating a message using this rule.
- Author:
- Bryan Tripp
-
Method Summary
Modifier and TypeMethodDescriptionValidates the given message against the given static definition from a conformance profile.
-
Method Details
-
validate
Validates the given message against the given static definition from a conformance profile. Conformance profiles are XML representations of domain-specific constraints on a message (see HL7 2.5 section 2.12).- Returns:
- a list of exceptions representing points of non-conformance (may not be a complete list)
- Throws:
ProfileException- if a problem is encountered that interferes with evaluationHL7Exception
-