KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > el > parser > AstDynamicExpression


1 /* Generated By:JJTree: Do not edit this line. AstDynamicExpression.java */
2
3 package org.apache.el.parser;
4
5 import javax.el.ELException;
6
7 import org.apache.el.lang.EvaluationContext;
8
9
10 /**
11  * @author Jacob Hookom [jacob@hookom.net]
12  * @version $Change: 181177 $$DateTime: 2001/06/26 08:45:09 $$Author: markt $
13  */

14 public final class AstDynamicExpression extends SimpleNode {
15     public AstDynamicExpression(int id) {
16         super(id);
17     }
18
19     public Class JavaDoc getType(EvaluationContext ctx)
20             throws ELException {
21         return this.children[0].getType(ctx);
22     }
23
24     public Object JavaDoc getValue(EvaluationContext ctx)
25             throws ELException {
26         return this.children[0].getValue(ctx);
27     }
28
29     public boolean isReadOnly(EvaluationContext ctx)
30             throws ELException {
31         return this.children[0].isReadOnly(ctx);
32     }
33
34     public void setValue(EvaluationContext ctx, Object JavaDoc value)
35             throws ELException {
36         this.children[0].setValue(ctx, value);
37     }
38 }
39
Popular Tags