|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.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 | |
TailCall |
processLeavingTail(XPathContext context)
Process this instruction, that is, choose an xsl:when or xsl:otherwise child and process it. |
void |
setInstructionDetails(Controller controller,
NamePool namePool,
InstructionDetails details)
Get the name of this instruction for diagnostic and tracing purposes |
Methods inherited from class net.sf.saxon.instruct.Instruction |
assembleParams, assembleTunnelParams, getChildren, getColumnNumber, getInstructionDetails, getInstructionName, getLineNumber, getPublicId, getResultType, getSystemId, getSystemId, process, processChildren, processChildrenLeavingTail, recoverableError, setChildren, setSourceLocation, styleError, styleError |
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 void setInstructionDetails(Controller controller, NamePool namePool, InstructionDetails details)
setInstructionDetails
in class Instruction
public TailCall processLeavingTail(XPathContext context) throws javax.xml.transform.TransformerException
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 |