Class ElemParam

    • Constructor Detail

      • ElemParam

        public ElemParam()
        Constructor ElemParam
      • ElemParam

        public ElemParam​(ElemParam param)
                  throws javax.xml.transform.TransformerException
        Copy constructor.
        Parameters:
        param - Element from an xsl:param
        Throws:
        javax.xml.transform.TransformerException
    • Method Detail

      • getXSLToken

        public int getXSLToken()
        Get an int constant identifying the type of element.
        Overrides:
        getXSLToken in class ElemVariable
        Returns:
        The token ID of the element
        See Also:
        Constants
      • getNodeName

        public java.lang.String getNodeName()
        Return the node name.
        Specified by:
        getNodeName in interface org.w3c.dom.Node
        Overrides:
        getNodeName in class ElemVariable
        Returns:
        The element's name
      • compose

        public void compose​(StylesheetRoot sroot)
                     throws javax.xml.transform.TransformerException
        This function is called after everything else has been recomposed, and allows the template to set remaining values that may be based on some other property that depends on recomposition.
        Overrides:
        compose in class ElemVariable
        Throws:
        javax.xml.transform.TransformerException
      • execute

        public void execute​(TransformerImpl transformer)
                     throws javax.xml.transform.TransformerException
        Execute a variable declaration and push it onto the variable stack.
        Overrides:
        execute in class ElemVariable
        Parameters:
        transformer - non-null reference to the the current transform-time state.
        Throws:
        javax.xml.transform.TransformerException
        See Also:
        variables in XSLT Specification