@ThreadSafe public final class SVRLHelper extends Object
Modifier and Type | Method and Description |
---|---|
static List<SVRLFailedAssert> |
getAllFailedAssertions(SchematronOutputType aSchematronOutput)
Get a list of all failed assertions in a given schematron output.
|
static List<SVRLFailedAssert> |
getAllFailedAssertionsMoreOrEqualSevereThan(SchematronOutputType aSchematronOutput,
com.helger.commons.error.IErrorLevel aErrorLevel)
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.
|
static List<SVRLSuccessfulReport> |
getAllSuccessfulReports(SchematronOutputType aSchematronOutput)
Get a list of all successful reports in a given schematron output.
|
static List<SVRLSuccessfulReport> |
getAllSuccessfulReportsMoreOrEqualSevereThan(SchematronOutputType aSchematronOutput,
com.helger.commons.error.IErrorLevel aErrorLevel)
Get a list of all successful reports in a given schematron output, with an
error level equally or more severe than the passed error level.
|
static ISVRLErrorLevelDeterminator |
getErrorLevelDeterminator() |
static com.helger.commons.error.IErrorLevel |
getErrorLevelFromFailedAssert(FailedAssert aFailedAssert)
Get the error level associated with a single failed assertion.
|
static com.helger.commons.error.IErrorLevel |
getErrorLevelFromSuccessfulReport(SuccessfulReport aSuccessfulReport)
Get the error level associated with a single successful report.
|
static void |
setErrorLevelDeterminator(ISVRLErrorLevelDeterminator aELD) |
@Nonnull @ReturnsMutableCopy public static List<SVRLFailedAssert> getAllFailedAssertions(@Nonnull SchematronOutputType aSchematronOutput)
aSchematronOutput
- The schematron output to be used. May not be null
.null
list with all failed assertions.@Nonnull @ReturnsMutableCopy public static List<SVRLFailedAssert> getAllFailedAssertionsMoreOrEqualSevereThan(@Nonnull SchematronOutputType aSchematronOutput, @Nonnull com.helger.commons.error.IErrorLevel aErrorLevel)
aSchematronOutput
- The schematron output to be used. May not be null
.aErrorLevel
- Minimum error level to be queriednull
list with all failed assertions.@Nonnull @ReturnsMutableCopy public static List<SVRLSuccessfulReport> getAllSuccessfulReports(@Nonnull SchematronOutputType aSchematronOutput)
aSchematronOutput
- The schematron output to be used. May not be null
.null
list with all successful reports.@Nonnull @ReturnsMutableCopy public static List<SVRLSuccessfulReport> getAllSuccessfulReportsMoreOrEqualSevereThan(@Nonnull SchematronOutputType aSchematronOutput, @Nonnull com.helger.commons.error.IErrorLevel aErrorLevel)
aSchematronOutput
- The schematron output to be used. May not be null
.aErrorLevel
- Minimum error level to be queriednull
list with all successful reports.@Nonnull public static com.helger.commons.error.IErrorLevel getErrorLevelFromFailedAssert(@Nonnull FailedAssert aFailedAssert)
aFailedAssert
- The failed assert to be queried. May not be null
.null
.@Nonnull public static com.helger.commons.error.IErrorLevel getErrorLevelFromSuccessfulReport(@Nonnull SuccessfulReport aSuccessfulReport)
aSuccessfulReport
- The failed assert to be queried. May not be null
.null
.@Nonnull public static ISVRLErrorLevelDeterminator getErrorLevelDeterminator()
public static void setErrorLevelDeterminator(@Nonnull ISVRLErrorLevelDeterminator aELD)
Copyright © 2014–2015 Philip Helger. All rights reserved.