Package com.helger.schematron.xslt
Class SchematronProviderXSLTPrebuild
java.lang.Object
com.helger.schematron.xslt.SchematronProviderXSLTPrebuild
- All Implemented Interfaces:
com.helger.schematron.api.xslt.ISchematronXSLTBasedProvider
@NotThreadSafe
public class SchematronProviderXSLTPrebuild
extends Object
implements com.helger.schematron.api.xslt.ISchematronXSLTBasedProvider
This Schematron validator factory uses an existing, precompiled Schematron
XSLT for validation.
- Author:
- Philip Helger
-
Constructor Summary
ConstructorsConstructorDescriptionSchematronProviderXSLTPrebuild(com.helger.commons.io.resource.IReadableResource aXSLTResource, ErrorListener aCustomErrorListener, URIResolver aCustomURIResolver) -
Method Summary
Modifier and TypeMethodDescriptionboolean
-
Constructor Details
-
SchematronProviderXSLTPrebuild
public SchematronProviderXSLTPrebuild(@Nullable com.helger.commons.io.resource.IReadableResource aXSLTResource, @Nullable ErrorListener aCustomErrorListener, @Nullable URIResolver aCustomURIResolver)
-
-
Method Details
-
isValidSchematron
public boolean isValidSchematron()- Specified by:
isValidSchematronin interfacecom.helger.schematron.api.xslt.ISchematronXSLTBasedProvider
-
getXSLTDocument
- Specified by:
getXSLTDocumentin interfacecom.helger.schematron.api.xslt.ISchematronXSLTBasedProvider
-
getXSLTTransformer
- Specified by:
getXSLTTransformerin interfacecom.helger.schematron.api.xslt.ISchematronXSLTBasedProvider- Throws:
TransformerConfigurationException
-