Package com.helger.schematron.api.xslt
Interface ISchematronXSLTBasedProvider
-
public interface ISchematronXSLTBasedProvider
Interface for a factory creating Schematron validators from XSLT. Sometimes the pre-built XSLTs are already available, and sometimes they need to be built from the underlying Schematron file.- Author:
- Philip Helger
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Document
getXSLTDocument()
Transformer
getXSLTTransformer()
boolean
isValidSchematron()
-
-
-
Method Detail
-
isValidSchematron
boolean isValidSchematron()
- Returns:
true
if the Schematron was successfully interpreted,false
otherwise.
-
getXSLTDocument
@Nullable Document getXSLTDocument()
- Returns:
- The produced XSLT document from the Schematron document or
null
if preprocessing failed. - See Also:
isValidSchematron()
-
getXSLTTransformer
@Nullable Transformer getXSLTTransformer() throws TransformerConfigurationException
- Returns:
- The XSLT transformer to be used. May be
null
if the compilation of the XSLT failed. - Throws:
TransformerConfigurationException
- In case of an internal error
-
-