Package com.icl.saxon

Class PreparedStyleSheet

  • All Implemented Interfaces:
    Templates

    public class PreparedStyleSheet
    extends Object
    implements Templates
    This PreparedStyleSheet class represents a StyleSheet that has been prepared for execution (or "compiled").
    • Constructor Detail

      • PreparedStyleSheet

        protected PreparedStyleSheet​(TransformerFactoryImpl factory)
        Constructor: deliberately protected
    • Method Detail

      • getTransformerFactory

        public TransformerFactoryImpl getTransformerFactory()
        Get the TransformerFactory used to create this PreparedStyleSheet
      • setNamePool

        public void setNamePool​(NamePool pool)
        Set the name pool to be used
      • getNamePool

        public NamePool getNamePool()
        Get the name pool in use
      • getStyleNodeFactory

        public StyleNodeFactory getStyleNodeFactory()
        Get the StyleNodeFactory in use
      • getStyleSheetDocument

        public DocumentImpl getStyleSheetDocument()
        Get the root node of the principal stylesheet document
      • getOutputProperties

        public Properties getOutputProperties()
        Get the properties for xsl:output. TRAX method. The object returned will be a clone of the internal values, and thus it can be mutated without mutating the Templates object, and then handed in to the process method.
        Specified by:
        getOutputProperties in interface Templates
        Returns:
        A OutputProperties object that may be mutated. Note that if any attributes of xsl:output are written as attribute value templates, the values returned will be unexpanded.