Class ElemApplyTemplates

    • Constructor Detail

      • ElemApplyTemplates

        public ElemApplyTemplates()
    • Method Detail

      • setMode

        public void setMode​(QName mode)
        Set the mode attribute for this element.
        Parameters:
        mode - reference, which may be null, to the current mode.
      • getMode

        public QName getMode()
        Get the mode attribute for this element.
        Returns:
        The mode attribute for this element
      • setIsDefaultTemplate

        public void setIsDefaultTemplate​(boolean b)
        Set if this belongs to a default template, in which case it will act different with regard to processing modes.
        Parameters:
        b - boolean value to set.
        See Also:
        built-in-rule in XSLT Specification
      • getXSLToken

        public int getXSLToken()
        Get an int constant identifying the type of element.
        Overrides:
        getXSLToken in class ElemCallTemplate
        Returns:
        Token ID for this element types
        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 ElemCallTemplate
        Throws:
        javax.xml.transform.TransformerException
      • getNodeName

        public java.lang.String getNodeName()
        Return the node name.
        Specified by:
        getNodeName in interface org.w3c.dom.Node
        Overrides:
        getNodeName in class ElemCallTemplate
        Returns:
        Element name
      • transformSelectedNodes

        public void transformSelectedNodes​(TransformerImpl transformer)
                                    throws javax.xml.transform.TransformerException
        Perform a query if needed, and call transformNode for each child.
        Overrides:
        transformSelectedNodes in class ElemForEach
        Parameters:
        transformer - non-null reference to the the current transform-time state.
        Throws:
        javax.xml.transform.TransformerException - Thrown in a variety of circumstances.