public abstract class JspContext
extends java.lang.Object
Constructor and Description |
---|
JspContext() |
Modifier and Type | Method and Description |
---|---|
abstract java.lang.Object |
findAttribute(java.lang.String name)
Finds an attribute in all scopes.
|
abstract java.lang.Object |
getAttribute(java.lang.String name)
Gets the named page attribute.
|
abstract java.lang.Object |
getAttribute(java.lang.String name,
int scope)
Gets an attribute in a given scope.
|
abstract java.util.Enumeration<java.lang.String> |
getAttributeNamesInScope(int scope)
Lists attribute names in a given scope.
|
abstract int |
getAttributesScope(java.lang.String name)
Returns the scope for an attribute.
|
abstract ELContext |
getELContext()
Returns the EL context with the JspContext
|
abstract ExpressionEvaluator |
getExpressionEvaluator()
Returns an expression evaluator for creating JSP EL expressions.
|
abstract JspWriter |
getOut()
Returns the current output for the page.
|
abstract VariableResolver |
getVariableResolver()
Returns a variable resolver for evaluating JSP EL expressions.
|
JspWriter |
popBody()
Internal routine to support BodyTags.
|
JspWriter |
pushBody(java.io.Writer writer)
Internal routine to support BodyTags.
|
abstract void |
removeAttribute(java.lang.String name)
Removes the named page attribute.
|
abstract void |
removeAttribute(java.lang.String name,
int scope)
Removes an attribute in a given scope.
|
abstract void |
setAttribute(java.lang.String name,
java.lang.Object attribute)
Sets the named page attribute.
|
abstract void |
setAttribute(java.lang.String name,
java.lang.Object o,
int scope)
Sets an attribute in a given scope.
|
public abstract JspWriter getOut()
public abstract java.lang.Object getAttribute(java.lang.String name)
name
- of the attributepublic abstract void setAttribute(java.lang.String name, java.lang.Object attribute)
name
- name of the attributeattribute
- non-null attribute value.public abstract void removeAttribute(java.lang.String name)
public abstract void setAttribute(java.lang.String name, java.lang.Object o, int scope)
name
- attribute nameo
- attribute valuescope
- attribute scopepublic abstract java.lang.Object getAttribute(java.lang.String name, int scope)
name
- attribute namescope
- attribute scopepublic abstract void removeAttribute(java.lang.String name, int scope)
public abstract java.util.Enumeration<java.lang.String> getAttributeNamesInScope(int scope)
public abstract int getAttributesScope(java.lang.String name)
public abstract java.lang.Object findAttribute(java.lang.String name)
public JspWriter pushBody(java.io.Writer writer)
public JspWriter popBody()
public abstract ExpressionEvaluator getExpressionEvaluator()
public abstract VariableResolver getVariableResolver()
public abstract ELContext getELContext()