Class ElemExtensionCall

    • Constructor Detail

      • ElemExtensionCall

        public ElemExtensionCall()
    • Method Detail

      • getXSLToken

        public int getXSLToken()
        Get an int constant identifying the type of element.
        Overrides:
        getXSLToken in class ElemLiteralResult
        Returns:
        The token ID for this element
        See Also:
        Constants
      • 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 ElemLiteralResult
        Throws:
        javax.xml.transform.TransformerException
      • getAttribute

        public java.lang.String getAttribute​(java.lang.String rawName,
                                             org.w3c.dom.Node sourceNode,
                                             TransformerImpl transformer)
                                      throws javax.xml.transform.TransformerException
        Return the value of the attribute interpreted as an Attribute Value Template (in other words, you can use curly expressions such as href="http://{website}".
        Parameters:
        rawName - Raw name of the attribute to get
        sourceNode - non-null reference to the current source node.
        transformer - non-null reference to the the current transform-time state.
        Returns:
        the value of the attribute
        Throws:
        javax.xml.transform.TransformerException