Class SchematronXSLTValidatorDefault

java.lang.Object
com.helger.schematron.api.xslt.validator.SchematronXSLTValidatorDefault
All Implemented Interfaces:
ISchematronXSLTValidator

public class SchematronXSLTValidatorDefault extends Object implements ISchematronXSLTValidator
The default implementation of ISchematronXSLTValidator that interprets both failed asserts and successful reports as errors.
Author:
Philip Helger
  • Constructor Details

    • SchematronXSLTValidatorDefault

      public SchematronXSLTValidatorDefault()
  • Method Details

    • getSchematronValidity

      @Nonnull public com.helger.commons.state.EValidity getSchematronValidity(@Nonnull SchematronOutputType aSO)
      Description copied from interface: ISchematronXSLTValidator
      Determine the overall validity of a Schematron validation result.
      Specified by:
      getSchematronValidity in interface ISchematronXSLTValidator
      Parameters:
      aSO - The Schematron validation result. Never null.
      Returns:
      EValidity.VALID if the Schematron validation was successful, EValidity.INVALID if the validation failed. Never null.