@NotThreadSafe public class SchematronProviderXSLTPrebuild extends Object implements ISchematronXSLTBasedProvider
Constructor and Description |
---|
SchematronProviderXSLTPrebuild(com.helger.commons.io.resource.IReadableResource aXSLTResource,
ErrorListener aCustomErrorListener,
URIResolver aCustomURIResolver) |
Modifier and Type | Method and Description |
---|---|
Document |
getXSLTDocument() |
Transformer |
getXSLTTransformer() |
boolean |
isValidSchematron() |
public SchematronProviderXSLTPrebuild(@Nullable com.helger.commons.io.resource.IReadableResource aXSLTResource, @Nullable ErrorListener aCustomErrorListener, @Nullable URIResolver aCustomURIResolver)
public boolean isValidSchematron()
isValidSchematron
in interface ISchematronXSLTBasedProvider
true
if the Schematron was successfully interpreted,
false
otherwise.@Nullable public Document getXSLTDocument()
getXSLTDocument
in interface ISchematronXSLTBasedProvider
null
if preprocessing failed.ISchematronXSLTBasedProvider.isValidSchematron()
@Nullable public Transformer getXSLTTransformer() throws TransformerConfigurationException
getXSLTTransformer
in interface ISchematronXSLTBasedProvider
null
if the
compilation of the XSLT failed.TransformerConfigurationException
- In case of an internal errorCopyright © 2014–2019 Philip Helger. All rights reserved.