1 23 24 package com.sun.el.parser; 25 26 import javax.el.ELException; 27 import javax.el.MethodInfo; 28 29 import com.sun.el.lang.EvaluationContext; 30 31 34 35 39 public interface Node { 40 41 43 public void jjtOpen(); 44 45 47 public void jjtClose(); 48 49 51 public void jjtSetParent(Node n); 52 public Node jjtGetParent(); 53 54 56 public void jjtAddChild(Node n, int i); 57 58 60 public Node jjtGetChild(int i); 61 62 63 public int jjtGetNumChildren(); 64 65 public String getImage(); 66 67 public Object getValue(EvaluationContext ctx) throws ELException; 68 public void setValue(EvaluationContext ctx, Object value) throws ELException; 69 public Class getType(EvaluationContext ctx) throws ELException; 70 public boolean isReadOnly(EvaluationContext ctx) throws ELException; 71 public void accept(NodeVisitor visitor) throws ELException; 72 public MethodInfo getMethodInfo(EvaluationContext ctx, Class [] paramTypes) throws ELException; 73 public Object invoke(EvaluationContext ctx, Class [] paramTypes, Object [] paramValues) throws ELException; 74 } 75 | Popular Tags |