APIdia Launch Partner
Top Constructors Methods
com.sun.org.apache.xalan.internal.xsltc.compiler

pack-priv final Class Choose

extends Instruction
Class Inheritance
Imports
com.sun.org.apache.bcel.internal.generic.BranchHandle, .GOTO, .IFEQ, .InstructionHandle, .InstructionList, com.sun.org.apache.xalan.internal.xsltc.compiler.util.ClassGenerator, .ErrorMsg, .MethodGenerator, .Type, .TypeCheckError, .Util, java.util.ArrayList, .Collections, .Enumeration, .Iterator, .List

Authors
Jacek Ambroziak, Santiago Pericas-Geertsen, Morten Jorgensen

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public void
display(int indent)

Overrides com.sun.org.apache.xalan.internal.xsltc.compiler.SyntaxTreeNode.display.

Display the element contents (a lot of when's and an otherwise)

public void
Inherited from com.sun.org.apache.xalan.internal.xsltc.compiler.Instruction:
typeCheck

Constructor Detail

Chooseback to summary
pack-priv Choose()

Method Detail

displayback to summary
public void display(int indent)

Overrides com.sun.org.apache.xalan.internal.xsltc.compiler.SyntaxTreeNode.display.

Display the element contents (a lot of when's and an otherwise)

translateback to summary
public void translate(ClassGenerator classGen, MethodGenerator methodGen)

Overrides com.sun.org.apache.xalan.internal.xsltc.compiler.Instruction.translate.

Translate this Choose element. Generate a test-chain for the various <xsl:when> elements and default to the <xsl:otherwise> if present.