1 23 24 package com.sun.el.parser; 25 26 import javax.el.ELException; 27 28 import com.sun.el.lang.EvaluationContext; 29 30 34 public final class AstDynamicExpression extends SimpleNode { 35 public AstDynamicExpression(int id) { 36 super(id); 37 } 38 39 public Class getType(EvaluationContext ctx) 40 throws ELException { 41 return this.children[0].getType(ctx); 42 } 43 44 public Object getValue(EvaluationContext ctx) 45 throws ELException { 46 return this.children[0].getValue(ctx); 47 } 48 49 public boolean isReadOnly(EvaluationContext ctx) 50 throws ELException { 51 return this.children[0].isReadOnly(ctx); 52 } 53 54 public void setValue(EvaluationContext ctx, Object value) 55 throws ELException { 56 this.children[0].setValue(ctx, value); 57 } 58 } 59 | Popular Tags |