org.apache.xalan.templates

Class ElemAttributeSet

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: attribute-sets in XSLT Specification

UNKNOWN: advanced

Field Summary
QNamem_qname
The name attribute specifies the name of the attribute set.
Method Summary
ElemTemplateElementappendChildElem(ElemTemplateElement newChild)
Add a child to the child list.
voidexecute(TransformerImpl transformer)
Apply a set of attributes to the element.
QNamegetName()
Get the "name" attribute.
StringgetNodeName()
Return the node name.
intgetXSLToken()
Get an int constant identifying the type of element.
voidrecompose(StylesheetRoot root)
This function is called during recomposition to control how this element is composed.
voidsetName(QName name)
Set the "name" attribute.

Field Detail

m_qname

public QName m_qname
The name attribute specifies the name of the attribute set.

Serial:

Method Detail

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

execute

public void execute(TransformerImpl transformer)
Apply a set of attributes to the element.

Parameters: transformer non-null reference to the the current transform-time state.

Throws: TransformerException

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

getNodeName

public String getNodeName()
Return the node name.

Returns: The name of this element

getXSLToken

public int getXSLToken()
Get an int constant identifying the type of element.

Returns: Token ID of the element

See Also:

recompose

public void recompose(StylesheetRoot root)
This function is called during recomposition to control how this element is composed.

Parameters: root The root stylesheet for this transformation.

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

Copyright © 2005 Apache XML Project. All Rights Reserved.