Package org.openehealth.ipf.commons.xml
Class CombinedXmlValidator
java.lang.Object
org.openehealth.ipf.commons.xml.CombinedXmlValidator
- All Implemented Interfaces:
Validator<String,
CombinedXmlValidationProfile>
public class CombinedXmlValidator
extends Object
implements Validator<String,CombinedXmlValidationProfile>
XSD- and Schematron-based validator for HL7 v3 messages.
- Author:
- Dmytro Rud
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
validate
(String message, CombinedXmlValidationProfile profile)
-
Constructor Details
-
CombinedXmlValidator
public CombinedXmlValidator()
-
-
Method Details
-
validate
public void validate(String message, CombinedXmlValidationProfile profile) throws ValidationException - Specified by:
validate
in interfaceValidator<String,
CombinedXmlValidationProfile> - Parameters:
message
- message to be validatedprofile
- profile to be validated against- Throws:
ValidationException
- if the validation has failed due to non-conformance or internal errors
-