eu.peppol.validation.commons.schematron.xslt
Interface ISchematronXSLTProvider


public interface ISchematronXSLTProvider

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:
PEPPOL.AT, BRZ, Philip Helger

Method Summary
 Document getXSLTDocument()
           
 Templates getXSLTTemplates()
           
 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()

getXSLTTemplates

@Nullable
Templates getXSLTTemplates()
Returns:
The precompiled XSLT template to be used.


Copyright © 2011 PEPPOL project. All Rights Reserved.