1 55 56 package org.apache.commons.el; 57 58 import java.util.Map ; 59 import javax.servlet.jsp.el.ELException ; 60 import javax.servlet.jsp.el.VariableResolver ; 61 import javax.servlet.jsp.el.FunctionMapper ; 62 63 71 72 public abstract class Literal 73 extends Expression 74 { 75 80 Object mValue; 81 public Object getValue () 82 { return mValue; } 83 public void setValue (Object pValue) 84 { mValue = pValue; } 85 86 91 public Literal (Object pValue) 92 { 93 mValue = pValue; 94 } 95 96 103 public Object evaluate (VariableResolver pResolver, 104 FunctionMapper functions, 105 Logger pLogger) 106 throws ELException 107 { 108 return mValue; 109 } 110 111 } 113 | Popular Tags |