Methods Summary |
---|
public abstract java.lang.Object | findAttribute(java.lang.String name)Searches for the named attribute in page, request, session (if valid),
and application scope(s) in order and returns the value associated or
null.
|
public abstract java.lang.Object | getAttribute(java.lang.String name)Returns the object associated with the name in the page scope or null
if not found.
|
public abstract java.lang.Object | getAttribute(java.lang.String name, int scope)Return the object associated with the name in the specified
scope or null if not found.
|
public abstract java.util.Enumeration | getAttributeNamesInScope(int scope)Enumerate all the attributes in a given scope.
|
public abstract int | getAttributesScope(java.lang.String name)Get the scope where a given attribute is defined.
|
public abstract javax.el.ELContext | getELContext()Returns the ELContext associated with this
JspContext .
The ELContext is created lazily and is reused if
it already exists. There is a new ELContext for each
JspContext .
The ELContext must contain the ELResolver
described in the JSP specification (and in the javadocs for
{@link JspApplicationContext#addELResolver}).
|
public abstract javax.servlet.jsp.el.ExpressionEvaluator | getExpressionEvaluator()Provides programmatic access to the ExpressionEvaluator.
The JSP Container must return a valid instance of an
ExpressionEvaluator that can parse EL expressions.
|
public abstract JspWriter | getOut()The current value of the out object (a JspWriter).
|
public abstract javax.servlet.jsp.el.VariableResolver | getVariableResolver()Returns an instance of a VariableResolver that provides access to the
implicit objects specified in the JSP specification using this JspContext
as the context object.
|
public JspWriter | popBody()Return the previous JspWriter "out" saved by the matching
pushBody(), and update the value of the "out" attribute in
the page scope attribute namespace of the JspContext.
return null; // XXX to implement
|
public JspWriter | pushBody(java.io.Writer writer)Return a new JspWriter object that sends output to the
provided Writer. Saves the current "out" JspWriter,
and updates the value of the "out" attribute in the
page scope attribute namespace of the JspContext.
The returned JspWriter must implement all methods and
behave as though it were unbuffered. More specifically:
- clear() must throw an IOException
- clearBuffer() does nothing
- getBufferSize() always returns 0
- getRemaining() always returns 0
return null; // XXX to implement
|
public abstract void | removeAttribute(java.lang.String name)Remove the object reference associated with the given name
from all scopes. Does nothing if there is no such object.
|
public abstract void | removeAttribute(java.lang.String name, int scope)Remove the object reference associated with the specified name
in the given scope. Does nothing if there is no such object.
|
public abstract void | setAttribute(java.lang.String name, java.lang.Object value)Register the name and value specified with page scope semantics.
If the value passed in is null , this has the same
effect as calling
removeAttribute( name, PageContext.PAGE_SCOPE ) .
|
public abstract void | setAttribute(java.lang.String name, java.lang.Object value, int scope)Register the name and value specified with appropriate
scope semantics. If the value passed in is null ,
this has the same effect as calling
removeAttribute( name, scope ) .
|