ph-schematron/src/main/java/com/helger/schematron/svrl/SVRLHelper.java
@Nonnull
  @ReturnsMutableCopy
  public static ICommonsList <SVRLSuccessfulReport> getAllSuccessfulReports (@Nullable final SchematronOutputType aSchematronOutput)
  {
    final ICommonsList <SVRLSuccessfulReport> ret = new CommonsArrayList <> ();
    if (aSchematronOutput != null)
      for (final Object aObj : aSchematronOutput.getActivePatternAndFiredRuleAndFailedAssert ())
        if (aObj instanceof SuccessfulReport)
          ret.add (new SVRLSuccessfulReport ((SuccessfulReport) aObj));
    return ret;
  }
@Nonnull
  @ReturnsMutableCopy
  public static ICommonsList <SVRLSuccessfulReport> getAllSuccessfulReports (@Nullable final SchematronOutputType aSchematronOutput)
  {
    final ICommonsList <SVRLSuccessfulReport> ret = new CommonsArrayList <> ();
    if (aSchematronOutput != null)
      for (final Object aObj : aSchematronOutput.getActivePatternAndFiredRuleAndFailedAssert ())
        if (aObj instanceof SuccessfulReport)
          ret.add (new SVRLSuccessfulReport ((SuccessfulReport) aObj));
    return ret;
  }
@ Nonnull @ ReturnsMutableCopy public static ICommonsList < SVRLSuccessfulReport > getAllSuccessfulReports ( @ Nullable final SchematronOutputType aSchematronOutput ) { final ICommonsList < SVRLSuccessfulReport > ret = new CommonsArrayList <> ( ) ; if ( aSchematronOutput != null ) for ( final Object aObj : aSchematronOutput . getActivePatternAndFiredRuleAndFailedAssert ( ) ) if ( aObj instanceof SuccessfulReport ) ret . add ( new SVRLSuccessfulReport ( ( SuccessfulReport ) aObj ) ) ; return ret ; }
Get a list of all successful reports in a given schematron output.

@param aSchematronOutput
The schematron output to be used. May be <code>null</code>.
@return A non-<code>null</code> list with all successful reports.
Get a list of all successful reports in a given schematron output .