net.sf.saxon.style

Class XSLChoose

public class XSLChoose extends StyleElement

An xsl:choose elements in the stylesheet.
Method Summary
Expressioncompile(Executable exec)
protected ItemTypegetReturnedItemType()
Determine the type of item returned by this instruction (only relevant if it is an instruction).
booleanisInstruction()
Determine whether this node is an instruction.
booleanmarkTailCalls()
Mark tail-recursive calls on templates and functions.
voidprepareAttributes()
voidvalidate()

Method Detail

compile

public Expression compile(Executable exec)

getReturnedItemType

protected ItemType getReturnedItemType()
Determine the type of item returned by this instruction (only relevant if it is an instruction).

Returns: the item type returned

isInstruction

public boolean isInstruction()
Determine whether this node is an instruction.

Returns: true - it is an instruction

markTailCalls

public boolean markTailCalls()
Mark tail-recursive calls on templates and functions.

prepareAttributes

public void prepareAttributes()

validate

public void validate()