Class TemplatesHandlerImpl

    • Constructor Detail

      • TemplatesHandlerImpl

        protected TemplatesHandlerImpl​(TransformerFactory factory,
                                       Processor processor)
        Create a TemplatesHandlerImpl and initialise variables. The constructor is protected, because the Filter should be created using newTemplatesHandler() in the SAXTransformerFactory class
        Parameters:
        factory - the JAXP TransformerFactory
        processor - the Saxon s9api processor
    • Method Detail

      • setSystemId

        public void setSystemId​(String url)
        Set the SystemId of the document. Note that if this method is called, any locator supplied to the setDocumentLocator() method is ignored. This also means that no line number information will be available.
        Specified by:
        setSystemId in interface TemplatesHandler
        Parameters:
        url - the system ID (base URI) of the stylesheet document, which will be used in any error reporting and also for resolving relative URIs in xsl:include and xsl:import. It will also form the static base URI in the static context of XPath expressions.