Class SchematronResourceXSLT

java.lang.Object
com.helger.schematron.AbstractSchematronResource
com.helger.schematron.api.xslt.AbstractSchematronXSLTBasedResource<SchematronResourceXSLT>
com.helger.schematron.xslt.SchematronResourceXSLT
All Implemented Interfaces:
com.helger.commons.id.IHasID<String>, com.helger.commons.traits.IGenericImplTrait<SchematronResourceXSLT>, com.helger.schematron.api.xslt.ISchematronXSLTBasedResource, com.helger.schematron.ISchematronResource

@NotThreadSafe public class SchematronResourceXSLT extends com.helger.schematron.api.xslt.AbstractSchematronXSLTBasedResource<SchematronResourceXSLT>
A Schematron resource that is based on an existing, pre-compiled XSLT script.
Author:
Philip Helger
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.helger.schematron.AbstractSchematronResource

    com.helger.schematron.AbstractSchematronResource.NodeAndBaseURI
  • Field Summary

    Fields inherited from class com.helger.schematron.api.xslt.AbstractSchematronXSLTBasedResource

    DEFAULT_VALIDATE_SVRL, m_aCustomErrorListener, m_aCustomParameters, m_aCustomURIResolver

    Fields inherited from class com.helger.schematron.AbstractSchematronResource

    DEFAULT_USE_CACHE
  • Constructor Summary

    Constructors
    Constructor
    Description
    SchematronResourceXSLT(com.helger.commons.io.resource.IReadableResource aXSLTResource)
    Constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    fromByteArray(byte[] aXSLT)
    Create a new SchematronResourceXSLT from XSLT Schematron rules provided by an arbitrary byte array.
    fromClassPath(String sXSLTPath)
    Create a new SchematronResourceXSLT resource.
    fromClassPath(String sXSLTPath, ClassLoader aClassLoader)
    Create a new SchematronResourceXSLT resource.
    fromFile(File aXSLTFile)
    Create a new SchematronResourceXSLT resource.
    fromFile(String sXSLTPath)
    Create a new SchematronResourceXSLT resource.
    fromInputStream(String sResourceID, InputStream aXSLTIS)
    Create a new SchematronResourceXSLT from XSLT Schematron rules provided by an arbitrary InputStream.
    fromString(String sXSLT, Charset aCharset)
    Create a new SchematronResourceXSLT from XSLT Schematron rules provided by an arbitrary String.
    fromURL(String sXSLTURL)
    Create a new SchematronResourceXSLT from XSLT Schematron rules provided at a URL
    fromURL(URL aXSLTURL)
    Create a new SchematronResourceXSLT from XSLT Schematron rules provided at a URL
    com.helger.schematron.api.xslt.ISchematronXSLTBasedProvider
     

    Methods inherited from class com.helger.schematron.api.xslt.AbstractSchematronXSLTBasedResource

    applySchematronValidation, applySchematronValidationToSVRL, getErrorListener, getOutputValidityDeterminator, getSchematronValidity, getURIResolver, isValidateSVRL, isValidSchematron, parameters, setEntityResolver, setErrorListener, setOutputValidityDeterminator, setURIResolver, setValidateSVRL, toString

    Methods inherited from class com.helger.schematron.AbstractSchematronResource

    applySchematronValidation, applySchematronValidation, applySchematronValidationToSVRL, applySchematronValidationToSVRL, getAsNode, getAsNode, getEntityResolver, getID, getResource, getSchematronValidity, getSchematronValidity, internalCreateDOMReaderSettings, internalSetEntityResolver, isLenient, isUseCache, setLenient, setUseCache

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.helger.commons.traits.IGenericImplTrait

    thisAsT

    Methods inherited from interface com.helger.commons.id.IHasID

    getID

    Methods inherited from interface com.helger.schematron.ISchematronResource

    applySchematronValidation, applySchematronValidation, applySchematronValidationToSVRL, applySchematronValidationToSVRL, getEntityResolver, getResource, getSchematronValidity, getSchematronValidity, isLenient, isUseCache, setLenient, setUseCache

    Methods inherited from interface com.helger.schematron.api.xslt.ISchematronXSLTBasedResource

    setAllowForeignElements