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