@ThreadSafe public final class SchematronResourceSCHCache extends Object
ISchematronXSLTBasedProvider
objects.Modifier and Type | Method and Description |
---|---|
static SchematronProviderXSLTFromSCH |
createSchematronXSLTProvider(com.helger.commons.io.resource.IReadableResource aSchematronResource,
SCHTransformerCustomizer aTransformerCustomizer)
Create a new Schematron validator for the passed resource.
|
static SchematronProviderXSLTFromSCH |
getSchematronXSLTProvider(com.helger.commons.io.resource.IReadableResource aSchematronResource,
SCHTransformerCustomizer aTransformerCustomizer)
Get the Schematron validator for the passed resource.
|
@Nullable public static SchematronProviderXSLTFromSCH createSchematronXSLTProvider(@Nonnull com.helger.commons.io.resource.IReadableResource aSchematronResource, @Nonnull SCHTransformerCustomizer aTransformerCustomizer)
aSchematronResource
- The resource of the Schematron rules. May not be null
.aTransformerCustomizer
- The XSLT transformer customizer to be used. May not be
null
.null
if the passed Schematron resource does not exist
or is invalid.@Nullable public static SchematronProviderXSLTFromSCH getSchematronXSLTProvider(@Nonnull com.helger.commons.io.resource.IReadableResource aSchematronResource, @Nonnull SCHTransformerCustomizer aTransformerCustomizer)
aSchematronResource
- The resource of the Schematron rules. May not be null
.aTransformerCustomizer
- The XSLT transformer customizer to be used. May not be
null
.null
if the passed Schematron resource does not exist
or is invalid.Copyright © 2014–2017 Philip Helger. All rights reserved.