Class ElemChoose

    • Constructor Detail

      • ElemChoose

        public ElemChoose()
        Constructor ElemChoose
    • Method Detail

      • getXSLToken

        public int getXSLToken()
        Get an int constant identifying the type of element.
        Overrides:
        getXSLToken in class ElemTemplateElement
        Returns:
        The token ID for this 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 ElemTemplateElement
        Returns:
        The element's name
      • execute

        public void execute​(TransformerImpl transformer)
                     throws javax.xml.transform.TransformerException
        Execute the xsl:choose transformation.
        Overrides:
        execute in class ElemTemplateElement
        Parameters:
        transformer - non-null reference to the the current transform-time state.
        Throws:
        javax.xml.transform.TransformerException
      • canAcceptVariables

        public boolean canAcceptVariables()
        Tell if this element can accept variable declarations.
        Overrides:
        canAcceptVariables in class ElemTemplateElement
        Returns:
        true if the element can accept and process variable declarations.