Class ContextStackFrame

    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      Container getContainer()
      Get the container of the instruction that caused this new context to be created.
      Item getContextItem()
      Get the value of the context item at this level of the context stack
      int getLineNumber()
      Get the line number of the location of the instruction that caused this new context to be created
      java.lang.String getSystemId()
      Get the system ID representing the location of the instruction that caused this new context to be created
      abstract void print​(java.io.PrintStream out)
      Display a representation of the stack frame on the specified output stream
      void setContainer​(Container container)
      Set the container of the instruction that caused this new context to be created.
      void setContextItem​(Item contextItem)
      Set the value of the context item at this level of the context stack
      void setLineNumber​(int lineNumber)
      Set the line number of the location of the instruction that caused this new context to be created
      void setSystemId​(java.lang.String uri)
      Set the system ID representing the location of the instruction that caused this new context to be created
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ContextStackFrame

        public ContextStackFrame()
    • Method Detail

      • setSystemId

        public void setSystemId​(java.lang.String uri)
        Set the system ID representing the location of the instruction that caused this new context to be created
        Parameters:
        uri - the system ID (base URI/module URI) of the module containing the instruction
      • getSystemId

        public java.lang.String getSystemId()
        Get the system ID representing the location of the instruction that caused this new context to be created
        Returns:
        the system ID (base URI/module URI) of the module containing the instruction
      • setLineNumber

        public void setLineNumber​(int lineNumber)
        Set the line number of the location of the instruction that caused this new context to be created
        Parameters:
        lineNumber - the line number of the instruction within its containing module
      • getLineNumber

        public int getLineNumber()
        Get the line number of the location of the instruction that caused this new context to be created
        Returns:
        the line number of the instruction within its containing module
      • setContainer

        public void setContainer​(Container container)
        Set the container of the instruction that caused this new context to be created. This will generally be an object such as an XSLT Template or a user-defined function
        Parameters:
        container - the container of the instruction
      • getContainer

        public Container getContainer()
        Get the container of the instruction that caused this new context to be created. This will generally be an object such as an XSLT Template or a user-defined function
        Returns:
        the container of the instruction in the expression tree
      • setContextItem

        public void setContextItem​(Item contextItem)
        Set the value of the context item at this level of the context stack
        Parameters:
        contextItem - the context item as it was when this new context was created
      • getContextItem

        public Item getContextItem()
        Get the value of the context item at this level of the context stack
        Returns:
        the context item as it was when this new context was created
      • print

        public abstract void print​(java.io.PrintStream out)
        Display a representation of the stack frame on the specified output stream
        Parameters:
        out - the output stream