org.apache.xalan.templates

Class ElemChoose

public class ElemChoose extends ElemTemplateElement

Implement xsl:choose.
 
 
 

See Also: XXX in XSLT Specification

UNKNOWN: advanced

Constructor Summary
ElemChoose()
Constructor ElemChoose
Method Summary
ElemTemplateElementappendChild(ElemTemplateElement newChild)
Add a child to the child list.
booleancanAcceptVariables()
Tell if this element can accept variable declarations.
voidexecute(TransformerImpl transformer)
Execute the xsl:choose transformation.
StringgetNodeName()
Return the node name.
intgetXSLToken()
Get an int constant identifying the type of element.

Constructor Detail

ElemChoose

public ElemChoose()
Constructor ElemChoose

Method Detail

appendChild

public ElemTemplateElement appendChild(ElemTemplateElement newChild)
Add a child to the child list.

Parameters: newChild Child to add to this node's child list

Returns: The child that was just added to the child list

Throws: DOMException

canAcceptVariables

public boolean canAcceptVariables()
Tell if this element can accept variable declarations.

Returns: true if the element can accept and process variable declarations.

execute

public void execute(TransformerImpl transformer)
Execute the xsl:choose transformation.

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

Throws: TransformerException

getNodeName

public String getNodeName()
Return the node name.

Returns: The element's name

getXSLToken

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

Returns: The token ID for this element

See Also:

Copyright © 2005 Apache XML Project. All Rights Reserved.