Class DedicatedStaticContext

All Implemented Interfaces:
Serializable, SourceLocator, Container, StaticContext, NamespaceResolver, XPathStaticContext

public class DedicatedStaticContext extends IndependentContext implements Container
This implementation of the XPath static context is mainly used when XPath expressions are hosted in other Saxon processing contexts, for example in xsl:evaluate, or in XSD assertions
See Also:
  • Constructor Details

    • DedicatedStaticContext

      public DedicatedStaticContext(Configuration config)
    • DedicatedStaticContext

      public DedicatedStaticContext(IndependentContext ic)
      Create a DedicatedStaticContext as a copy of an IndependentContext
      Parameters:
      ic - the IndependentContext to be copied
  • Method Details

    • setExecutable

      public void setExecutable(Executable exec)
    • getExecutable

      public Executable getExecutable()
      Description copied from interface: Container
      Get the Executable (representing a complete stylesheet or query) of which this Container forms part
      Specified by:
      getExecutable in interface Container
      Returns:
      the executable