Class SchematronValidator

java.lang.Object
org.openehealth.ipf.commons.xml.SchematronValidator
All Implemented Interfaces:
Validator<Source,SchematronProfile>

public class SchematronValidator extends Object implements 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 Details

    • SchematronValidator

      public SchematronValidator()
  • Method Details