Class SchematronXSLTValidatorFailedAssertOnly

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

public class SchematronXSLTValidatorFailedAssertOnly extends Object implements ISchematronXSLTValidator
A special implementation of ISchematronXSLTValidator that only handles failed asserts as failures, but not successful reports.
Author:
Philip Helger
  • Constructor Details

    • SchematronXSLTValidatorFailedAssertOnly

      public SchematronXSLTValidatorFailedAssertOnly()
  • 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.