|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.sf.saxon.instruct.Instruction | +--net.sf.saxon.instruct.Choose
Compiled representation of an xsl:choose or xsl:if element in the stylesheet.
Field Summary |
Fields inherited from class net.sf.saxon.instruct.Instruction |
children |
Constructor Summary | |
Choose(Expression[] conditions,
Instruction[] actions)
Construct an xsl:choose instruction |
Method Summary | |
java.lang.String |
getInstructionName()
Get the name of this instruction for diagnostic and tracing purposes We assume that if there was only one condition then it was an xsl:if; this is not necessarily so, but it's adequate for tracing purposes. |
TailCall |
processLeavingTail(XPathContext context)
Process this instruction, that is, choose an xsl:when or xsl:otherwise child and process it. |
Methods inherited from class net.sf.saxon.instruct.Instruction |
assembleParams, assembleTunnelParams, displayChildren, dynamicError, dynamicError, getCardinality, getChildren, getColumnNumber, getExecutable, getInstructionNamespace, getItemType, getLineNumber, getPublicId, getSourceLocator, getSystemId, process, processChildren, processChildrenLeavingTail, recoverableError, setChildren, setExecutable, setSourceLocation |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Choose(Expression[] conditions, Instruction[] actions)
conditions
- the conditions to be tested, in orderactions
- the actions to be taken when the corresponding condition is trueMethod Detail |
public java.lang.String getInstructionName()
getInstructionName
in class Instruction
public TailCall processLeavingTail(XPathContext context) throws javax.xml.transform.TransformerException
processLeavingTail
in interface Instr
processLeavingTail
in class Instruction
context
- the dynamic context of this transformation
javax.xml.transform.TransformerException
- if any non-recoverable dynamic error occurs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |