org.tp23.jsp
Interface ObjectPageContext
- All Known Implementing Classes:
- ObjectPageContextImpl
- public interface ObjectPageContext
Interface to the JSP Page context but hacked about a bit. It is basically a
set of scoped properties.
- Author:
- Paul Hinds
Method Summary |
java.lang.Object |
findAttribute(java.lang.String name)
|
void |
forward(java.lang.String relativeUrlPath)
|
java.lang.Object |
getAttribute(java.lang.String name)
|
java.lang.Object |
getAttribute(java.lang.String name,
int scope)
|
java.util.Enumeration |
getAttributeNamesInScope(int scope)
|
int |
getAttributesScope(java.lang.String name)
|
Destination |
getDestination()
|
java.lang.Exception |
getException()
|
ObjectConfig |
getObjectConfig()
|
ObjectContainerContext |
getObjectContainerContext()
|
ObjectJspWriter |
getOut()
|
JspBase |
getPage()
|
Session |
getSession()
|
void |
handlePageException(java.lang.Exception e)
|
void |
include(java.lang.String relativeUrlPath)
|
void |
initialize(JspBase jspBase,
Destination destination,
java.lang.String errorPageURL,
boolean needsSession,
int bufferSize,
boolean autoFlush)
|
ObjectJspWriter |
popBody()
|
ObjectJspWriter |
pushBody()
|
void |
release()
|
void |
removeAttribute(java.lang.String name)
|
void |
removeAttribute(java.lang.String name,
int scope)
|
void |
setAttribute(java.lang.String name,
java.lang.Object attribute)
|
void |
setAttribute(java.lang.String name,
java.lang.Object o,
int scope)
|
APPLICATION
public static final java.lang.String APPLICATION
APPLICATION_SCOPE
public static final int APPLICATION_SCOPE
CONFIG
public static final java.lang.String CONFIG
EXCEPTION
public static final java.lang.String EXCEPTION
OUT
public static final java.lang.String OUT
PAGE
public static final java.lang.String PAGE
PAGE_SCOPE
public static final int PAGE_SCOPE
PAGECONTEXT
public static final java.lang.String PAGECONTEXT
DESTINATION
public static final java.lang.String DESTINATION
DESTINATION_SCOPE
public static final int DESTINATION_SCOPE
SESSION
public static final java.lang.String SESSION
SESSION_SCOPE
public static final int SESSION_SCOPE
setAttribute
public void setAttribute(java.lang.String name,
java.lang.Object attribute)
setAttribute
public void setAttribute(java.lang.String name,
java.lang.Object o,
int scope)
getAttribute
public java.lang.Object getAttribute(java.lang.String name)
getAttribute
public java.lang.Object getAttribute(java.lang.String name,
int scope)
getAttributesScope
public int getAttributesScope(java.lang.String name)
getAttributeNamesInScope
public java.util.Enumeration getAttributeNamesInScope(int scope)
getOut
public ObjectJspWriter getOut()
getSession
public Session getSession()
getObjectConfig
public ObjectConfig getObjectConfig()
getObjectContainerContext
public ObjectContainerContext getObjectContainerContext()
getDestination
public Destination getDestination()
getException
public java.lang.Exception getException()
getPage
public JspBase getPage()
initialize
public void initialize(JspBase jspBase,
Destination destination,
java.lang.String errorPageURL,
boolean needsSession,
int bufferSize,
boolean autoFlush)
throws java.io.IOException,
java.lang.IllegalStateException,
java.lang.IllegalArgumentException
release
public void release()
removeAttribute
public void removeAttribute(java.lang.String name,
int scope)
findAttribute
public java.lang.Object findAttribute(java.lang.String name)
removeAttribute
public void removeAttribute(java.lang.String name)
include
public void include(java.lang.String relativeUrlPath)
throws java.io.IOException,
JspEngineException
forward
public void forward(java.lang.String relativeUrlPath)
throws java.io.IOException,
JspEngineException
pushBody
public ObjectJspWriter pushBody()
popBody
public ObjectJspWriter popBody()
handlePageException
public void handlePageException(java.lang.Exception e)
throws java.io.IOException,
JspEngineException