Class ElemAttributeSet

All Implemented Interfaces:
Serializable, SourceLocator, XSLTVisitable, PrefixResolver, ExpressionNode, WhitespaceStrippingElementMatcher, Document, Element, Node, NodeList

public class ElemAttributeSet extends ElemUse
Implement xsl:attribute-set.
 &!ELEMENT xsl:attribute-set (xsl:attribute)*>
 &!ATTLIST xsl:attribute-set
   name %qname; #REQUIRED
   use-attribute-sets %qnames; #IMPLIED
 &
 
See Also:
  • Field Details

    • m_qname

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

    • ElemAttributeSet

      public ElemAttributeSet()
  • Method Details

    • 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:
    • getNodeName

      public String getNodeName()
      Return the node name.
      Specified by:
      getNodeName in interface Node
      Overrides:
      getNodeName in class ElemTemplateElement
      Returns:
      The name of this element
    • execute

      public void execute(TransformerImpl transformer) throws 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:
      TransformerException
    • appendChildElem

      public ElemTemplateElement appendChildElem(ElemTemplateElement newChild)
      Add a child to the child list. <!ELEMENT xsl:attribute-set (xsl:attribute)*> <!ATTLIST xsl:attribute-set name %qname; #REQUIRED use-attribute-sets %qnames; #IMPLIED >
      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.