01: /* Generated By:JJTree: Do not edit this line. AstDynamicExpression.java */
02:
03: package org.apache.el.parser;
04:
05: import javax.el.ELException;
06:
07: import org.apache.el.lang.EvaluationContext;
08:
09: /**
10: * @author Jacob Hookom [jacob@hookom.net]
11: * @version $Change: 181177 $$DateTime: 2001/06/26 08:45:09 $$Author: markt $
12: */
13: public final class AstDynamicExpression extends SimpleNode {
14: public AstDynamicExpression(int id) {
15: super (id);
16: }
17:
18: public Class getType(EvaluationContext ctx) throws ELException {
19: return this .children[0].getType(ctx);
20: }
21:
22: public Object getValue(EvaluationContext ctx) throws ELException {
23: return this .children[0].getValue(ctx);
24: }
25:
26: public boolean isReadOnly(EvaluationContext ctx) throws ELException {
27: return this .children[0].isReadOnly(ctx);
28: }
29:
30: public void setValue(EvaluationContext ctx, Object value)
31: throws ELException {
32: this .children[0].setValue(ctx, value);
33: }
34: }
|