Package org.openehealth.ipf.commons.xml
Class SchematronValidator
java.lang.Object
org.openehealth.ipf.commons.xml.SchematronValidator
- All Implemented Interfaces:
Validator<Source,
SchematronProfile>
Validation wrapper around the
SchematronTransmogrifier
. The
result is scanned for svrl:failed-assert
elements, and
error text and details (if available) are put into the ValidationException
's message.
The Validator accepts a Source
as input, and a SchematronProfile
as validation profile parameter.
- Author:
- Christian Ohr
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
SchematronValidator
public SchematronValidator()
-
-
Method Details
-
validate
- Specified by:
validate
in interfaceValidator<Source,
SchematronProfile> - Parameters:
message
- message to be validatedprofile
- profile to be validated against
-