1 2 3 19 20 package org.apache.el.parser; 21 22 import javax.el.ELException; 23 import javax.el.MethodInfo; 24 25 import org.apache.el.lang.EvaluationContext; 26 27 28 31 32 36 public interface Node { 37 38 40 public void jjtOpen(); 41 42 44 public void jjtClose(); 45 46 48 public void jjtSetParent(Node n); 49 public Node jjtGetParent(); 50 51 53 public void jjtAddChild(Node n, int i); 54 55 57 public Node jjtGetChild(int i); 58 59 60 public int jjtGetNumChildren(); 61 62 public String getImage(); 63 64 public Object getValue(EvaluationContext ctx) throws ELException; 65 public void setValue(EvaluationContext ctx, Object value) throws ELException; 66 public Class getType(EvaluationContext ctx) throws ELException; 67 public boolean isReadOnly(EvaluationContext ctx) throws ELException; 68 public void accept(NodeVisitor visitor) throws Exception ; 69 public MethodInfo getMethodInfo(EvaluationContext ctx, Class [] paramTypes) throws ELException; 70 public Object invoke(EvaluationContext ctx, Class [] paramTypes, Object [] paramValues) throws ELException; 71 } 72 | Popular Tags |