@ThreadSafe public final class SchematronResourceXSLTCache extends Object
ISchematronXSLTBasedProvider
objects.Modifier and Type | Method and Description |
---|---|
static com.helger.schematron.xslt.SchematronProviderXSLTPrebuild |
createSchematronXSLTProvider(com.helger.commons.io.resource.IReadableResource aXSLTResource,
ErrorListener aCustomErrorListener,
URIResolver aCustomURIResolver) |
static com.helger.schematron.xslt.SchematronProviderXSLTPrebuild |
getSchematronXSLTProvider(com.helger.commons.io.resource.IReadableResource aXSLTResource,
ErrorListener aCustomErrorListener,
URIResolver aCustomURIResolver)
Return an existing or create a new Schematron XSLT provider for the passed
resource.
|
@Nullable public static com.helger.schematron.xslt.SchematronProviderXSLTPrebuild createSchematronXSLTProvider(@Nonnull com.helger.commons.io.resource.IReadableResource aXSLTResource, @Nullable ErrorListener aCustomErrorListener, @Nullable URIResolver aCustomURIResolver)
@Nullable public static com.helger.schematron.xslt.SchematronProviderXSLTPrebuild getSchematronXSLTProvider(@Nonnull com.helger.commons.io.resource.IReadableResource aXSLTResource, @Nullable ErrorListener aCustomErrorListener, @Nullable URIResolver aCustomURIResolver)
aXSLTResource
- The resource of the Schematron rules. May not be null
.aCustomErrorListener
- The custom error listener to be used. May be null
.aCustomURIResolver
- The custom URI resolver to be used. May be null
.null
if the passed Schematron XSLT resource does not
exist.Copyright © 2014–2016 Philip Helger. All rights reserved.