Class StylesheetPackageEE


  • public class StylesheetPackageEE
    extends StylesheetPackage
    Subclass of StylesheetPackage for Saxon-EE
    • Constructor Detail

      • StylesheetPackageEE

        public StylesheetPackageEE​(Configuration config)
    • Method Detail

      • isFallbackToNonStreaming

        public boolean isFallbackToNonStreaming()
        Ask whether a non-streamable construct has been found, forcing the entire stylesheet to fall back to unstreamed processing
        Overrides:
        isFallbackToNonStreaming in class StylesheetPackage
        Returns:
        true if the stylesheet must fall back to unstreamed processing
      • isJustInTimeCompilation

        public boolean isJustInTimeCompilation()
        Ask whether the package was compiled with just-in-time compilation of template rules enabled
        Overrides:
        isJustInTimeCompilation in class StylesheetPackage
        Returns:
        true if just-in-time compilation was enabled when the package was compiled
      • setJustInTimeCompilation

        public void setJustInTimeCompilation​(boolean justInTimeCompilation)
        Say whether the package was compiled with just-in-time compilation of template rules enabled. This method is called by the compiler itself and should not be called by users.
        Overrides:
        setJustInTimeCompilation in class StylesheetPackage
        Parameters:
        justInTimeCompilation - set to true if just-in-time compilation was enabled when the package was compiled
      • markNonExportable

        public void markNonExportable​(java.lang.String message,
                                      java.lang.String errorCode)
        Mark the package as non-exportable, supplying an error message to be reported if export is attempted
        Overrides:
        markNonExportable in class StylesheetPackage
        Parameters:
        message - the error message to report indicating why export is not possible
        errorCode - the error code to be used if export is attempted and fails
      • export

        public void export​(ExpressionPresenter presenter)
                    throws XPathException
        Output the abstract expression tree to the supplied destination.
        Overrides:
        export in class StylesheetPackage
        Parameters:
        presenter - the expression presenter used to display the structure
        Throws:
        XPathException - if exporting fails or is not permitted (it requires Saxon-EE)