Class ElemAttributeSet

    • Field Detail

      • m_qname

        public QName m_qname
        The name attribute specifies the name of the attribute set.
    • Constructor Detail

      • ElemAttributeSet

        public ElemAttributeSet()
    • Method Detail

      • setName

        public void setName​(QName name)
        Set the "name" attribute. The name attribute specifies the name of the attribute set.
        Parameters:
        name - Name attribute to set
      • getName

        public QName getName()
        Get the "name" attribute. The name attribute specifies the name of the attribute set.
        Returns:
        The name attribute of the attribute set
      • getXSLToken

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

        public void execute​(TransformerImpl transformer)
                     throws javax.xml.transform.TransformerException
        Apply a set of attributes to the element.
        Overrides:
        execute in class ElemUse
        Parameters:
        transformer - non-null reference to the the current transform-time state.
        Throws:
        javax.xml.transform.TransformerException
      • appendChildElem

        public ElemTemplateElement appendChildElem​(ElemTemplateElement newChild)
        Add a child to the child list.
        Parameters:
        newChild - Child to be added to this node's list of children
        Returns:
        The child that was just added to the list of children
        Throws:
        DOMException
      • recompose

        public void recompose​(StylesheetRoot root)
        This function is called during recomposition to control how this element is composed.
        Overrides:
        recompose in class ElemTemplateElement
        Parameters:
        root - The root stylesheet for this transformation.