@ Nonnull @ ReturnsMutableCopy public static ICommonsList < SVRLFailedAssert > getAllFailedAssertions ( @ Nullable final SchematronOutputType aSchematronOutput ) { final ICommonsList < SVRLFailedAssert > ret = new CommonsArrayList <> ( ) ; if ( aSchematronOutput != null ) for ( final Object aObj : aSchematronOutput . getActivePatternAndFiredRuleAndFailedAssert ( ) ) if ( aObj instanceof FailedAssert ) ret . add ( new SVRLFailedAssert ( ( FailedAssert ) aObj ) ) ; return ret ; }
Get a list of all failed assertions in a given schematron output .