Interface Container

    • Method Detail

      • getExecutable

        Executable getExecutable()
        Get the Executable (representing a complete stylesheet or query) of which this Container forms part
        Returns:
        the executable
      • getLocationProvider

        LocationProvider getLocationProvider()
        Get the LocationProvider allowing location identifiers to be resolved.
        Returns:
        the location provider
      • getHostLanguage

        int getHostLanguage()
        Get the host language (XSLT, XQuery, XPath) used to implement the code in this container
        Returns:
        typically Configuration.XSLT or Configuration.XQUERY
      • getContainerGranularity

        int getContainerGranularity()
        Get the granularity of the container. During successive phases of compilation, growing expression trees are rooted in containers of increasing granularity. The granularity of the container is used to avoid "repotting" a tree more frequently than is required, as this requires a complete traversal of the tree which can take a measurable time.
        Returns:
        0 for a temporary container created during parsing; 1 for a container that operates at the level of an XPath expression; 2 for a container at the level of a global function or template