1 17 package javax.servlet.jsp; 18 19 import java.util.Enumeration ; 20 21 import javax.el.ELContext; 22 import javax.servlet.jsp.el.ExpressionEvaluator ; 23 import javax.servlet.jsp.el.VariableResolver ; 24 25 71 72 public abstract class JspContext { 73 74 78 public JspContext() { 79 } 80 81 92 93 abstract public void setAttribute(String name, Object value); 94 95 113 114 abstract public void setAttribute(String name, Object value, int scope); 115 116 126 127 abstract public Object getAttribute(String name); 128 129 145 146 abstract public Object getAttribute(String name, int scope); 147 148 157 158 abstract public Object findAttribute(String name); 159 160 167 168 abstract public void removeAttribute(String name); 169 170 183 184 abstract public void removeAttribute(String name, int scope); 185 186 193 194 abstract public int getAttributesScope(String name); 195 196 208 209 abstract public Enumeration <String > getAttributeNamesInScope(int scope); 210 211 216 abstract public JspWriter getOut(); 217 218 226 public abstract ExpressionEvaluator getExpressionEvaluator(); 227 228 229 public abstract ELContext getELContext(); 230 231 239 public abstract VariableResolver getVariableResolver(); 240 241 261 public JspWriter pushBody( java.io.Writer writer ) { 262 return null; } 264 265 272 public JspWriter popBody() { 273 return null; } 275 } 276 | Popular Tags |