net.sf.saxon.style

## Interface StylesheetProcedure

- All Known Implementing Classes:
    XSLAccumulator, XSLAttributeSet, XSLFunction, XSLGlobalParam, XSLGlobalVariable, XSLKey, XSLTemplate

      public interface StylesheetProcedure

  This interface is implemented by all XSL elements that can contain local variable declarations. Specifically, a top-level xsl:template, xsl:variable, xsl:param, or xsl:function element or an xsl:attribute-set element or xsl:key element.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `SlotManager` | `getSlotManager()` Get the SlotManager associated with this stylesheet construct.
    `void` | `optimize(Declaration declaration)` Optimize the stylesheet construct

- - ### Method Detail

    - #### getSlotManager

          SlotManager getSlotManager()

      Get the SlotManager associated with this stylesheet construct. The SlotManager contains the information needed to manage the local stack frames used by run-time instances of the code.
      Returns:
        the associated SlotManager object

    - #### optimize

          void optimize(Declaration declaration)
                        throws XPathException

      Optimize the stylesheet construct
      Parameters:
        `declaration` -
      Throws:
        `XPathException`

Copyright (c) 2004-2013 Saxonica Limited. All rights reserved.