@Nonnull
  @ReturnsMutableCopy
  public static ICommonsList <SVRLFailedAssert> getAllFailedAssertionsMoreOrEqualSevereThan (@Nullable final SchematronOutputType aSchematronOutput,
                                                                                             @Nonnull final IErrorLevel aErrorLevel)
  {
    final ICommonsList <SVRLFailedAssert> ret = new CommonsArrayList <> ();
    if (aSchematronOutput != null)
      for (final Object aObj : aSchematronOutput.getActivePatternAndFiredRuleAndFailedAssert ())
        if (aObj instanceof FailedAssert)
        {
          final SVRLFailedAssert aFA = new SVRLFailedAssert ((FailedAssert) aObj);
          if (aFA.getFlag ().isGE (aErrorLevel))
            ret.add (aFA);
        }
    return ret;
  }
@Nonnull
  @ReturnsMutableCopy
  public static ICommonsList <SVRLFailedAssert> getAllFailedAssertionsMoreOrEqualSevereThan (@Nullable final SchematronOutputType aSchematronOutput,
                                                                                             @Nonnull final IErrorLevel aErrorLevel)
  {
    final ICommonsList <SVRLFailedAssert> ret = new CommonsArrayList <> ();
    if (aSchematronOutput != null)
      for (final Object aObj : aSchematronOutput.getActivePatternAndFiredRuleAndFailedAssert ())
        if (aObj instanceof FailedAssert)
        {
          final SVRLFailedAssert aFA = new SVRLFailedAssert ((FailedAssert) aObj);
          if (aFA.getFlag ().isGE (aErrorLevel))
            ret.add (aFA);
        }
    return ret;
  }
@ Nonnull @ ReturnsMutableCopy public static ICommonsList < SVRLFailedAssert > getAllFailedAssertionsMoreOrEqualSevereThan ( @ Nullable final SchematronOutputType aSchematronOutput , @ Nonnull final IErrorLevel aErrorLevel ) { final ICommonsList < SVRLFailedAssert > ret = new CommonsArrayList <> ( ) ; if ( aSchematronOutput != null ) for ( final Object aObj : aSchematronOutput . getActivePatternAndFiredRuleAndFailedAssert ( ) ) if ( aObj instanceof FailedAssert ) { final SVRLFailedAssert aFA = new SVRLFailedAssert ( ( FailedAssert ) aObj ) ; if ( aFA . getFlag ( ) . isGE ( aErrorLevel ) ) ret . add ( aFA ) ; } return ret ; }
Get a list of all failed assertions in a given schematron output, with an
error level equally or more severe than the passed error level.

@param aSchematronOutput
The schematron output to be used. May be <code>null</code>.
@param aErrorLevel
Minimum error level to be queried
@return A non-<code>null</code> list with all failed assertions.
Get a list of all failed assertions in a given schematron output with an error level equally or more severe than the passed error level .