org.apache.xalan.templates
public class KeyDeclaration extends ElemTemplateElement
See Also: key in XSLT Specification
UNKNOWN: internal
Constructor Summary | |
---|---|
KeyDeclaration(Stylesheet parentNode, int docOrderNumber)
Constructs a new element representing the xsl:key. |
Method Summary | |
---|---|
void | compose(StylesheetRoot sroot)
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. |
XPath | getMatch()
Get the "match" attribute.
|
QName | getName()
Get the "name" attribute.
|
String | getNodeName()
Return the node name.
|
XPath | getUse()
Get the "use" attribute.
|
int | getXSLToken()
Get an int constant identifying the type of element. |
void | recompose(StylesheetRoot root)
This function is called during recomposition to
control how this element is composed. |
void | setMatch(XPath v)
Set the "match" attribute.
|
void | setName(QName name)
Set the "name" attribute.
|
void | setUse(XPath v)
Set the "use" attribute.
|
Returns: Value of the "match" attribute.
See Also: patterns in XSLT Specification
Returns: Value of the "name" attribute.
Returns: the element's name
Returns: Value of the "use" attribute.
Returns: The token ID for this element
Parameters: root The root stylesheet for this transformation.
Parameters: v Value to set for the "match" attribute.
See Also: patterns in XSLT Specification
Parameters: name Value to set for the "name" attribute.
Parameters: v Value to set for the "use" attribute.