@ThreadSafe public final class SchematronResourceSCHCache extends Object
ISchematronXSLTBasedProvider
objects.Modifier and Type | Method and Description |
---|---|
static com.helger.schematron.xslt.SchematronProviderXSLTFromSCH |
createSchematronXSLTProvider(com.helger.commons.io.resource.IReadableResource aSchematronResource,
SCHTransformerCustomizer aTransformerCustomizer)
Create a new Schematron validator for the passed resource.
|
static com.helger.schematron.xslt.SchematronProviderXSLTFromSCH |
getSchematronXSLTProvider(com.helger.commons.io.resource.IReadableResource aSchematronResource,
SCHTransformerCustomizer aTransformerCustomizer)
Get the Schematron validator for the passed resource.
|
@Nullable public static com.helger.schematron.xslt.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 com.helger.schematron.xslt.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–2015 Philip Helger. All rights reserved.