FileDocCategorySizeDatePackage
AstChoice.javaAPI DocGlassfish v2 API3659Fri May 04 22:31:20 BST 2007com.sun.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: tcfujii $

Fields Summary
Constructors Summary
public AstChoice(int id)

        super(id);
    
Methods Summary
public java.lang.ClassgetType(com.sun.el.lang.EvaluationContext ctx)

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

        Object obj0 = this.children[0].getValue(ctx);
        Boolean b0 = coerceToBoolean(obj0);
        return this.children[((b0.booleanValue() ? 1 : 2))].getValue(ctx);
    
public java.lang.Objectinvoke(com.sun.el.lang.EvaluationContext ctx, java.lang.Class[] paramTypes, java.lang.Object[] paramValues)

        Object obj0 = this.children[0].getValue(ctx);
        Boolean b0 = coerceToBoolean(obj0);
        return this.children[((b0.booleanValue() ? 1 : 2))]
            .invoke(ctx, paramTypes, paramValues);
    
public booleanisReadOnly(com.sun.el.lang.EvaluationContext ctx)

        Object obj0 = this.children[0].getValue(ctx);
        Boolean b0 = coerceToBoolean(obj0);
        return this.children[((b0.booleanValue() ? 1 : 2))].isReadOnly(ctx);
    
public voidsetValue(com.sun.el.lang.EvaluationContext ctx, java.lang.Object value)

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