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
      • replaceSubExpression

        boolean replaceSubExpression​(Expression original,
                                     Expression replacement)
        Replace one subexpression by a replacement subexpression
        Parameters:
        original - the original subexpression
        replacement - the replacement subexpression
        Returns:
        true if the original subexpression was found