FileDocCategorySizeDatePackage
AstChoice.javaAPI DocApache Tomcat 6.0.14888Fri Jul 20 04:20:36 BST 2007org.apache.el.parser

AstChoice

public final class AstChoice extends SimpleNode
author
Jacob Hookom [jacob@hookom.net]
version
$Change: 181177 $$DateTime: 2001/06/26 08:45:09 $$Author: markt $

Fields Summary
Constructors Summary
public AstChoice(int id)

        super(id);
    
Methods Summary
public java.lang.ClassgetType(org.apache.el.lang.EvaluationContext ctx)

        Object val = this.getValue(ctx);
        return (val != null) ? val.getClass() : null;
    
public java.lang.ObjectgetValue(org.apache.el.lang.EvaluationContext ctx)

        Object obj0 = this.children[0].getValue(ctx);
        Boolean b0 = coerceToBoolean(obj0);
        return this.children[((b0.booleanValue() ? 1 : 2))].getValue(ctx);