|
Oracle9i Business Components for Java API Reference Oracle9i Jdeveloper (9.0.4) B10391-01 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.jdeveloper.html.WebBeanImpl
Implements the base methods for a Web Bean.
Field Summary | |
protected javax.servlet.ServletContext |
application |
protected boolean |
bUsedInTag |
protected java.io.PrintWriter |
out |
protected javax.servlet.jsp.PageContext |
page |
protected javax.servlet.http.HttpServletRequest |
request |
protected javax.servlet.http.HttpServletResponse |
response |
protected javax.servlet.http.HttpSession |
session |
Fields inherited from interface oracle.jdeveloper.html.WebBean |
contentFrameName, defaultCaboBase, defaultCaboImageBase, defaultImageBase, defaultJSPBase, defaultNLSFormat, JS_LIBRARIES, JS_NAMEID, JSButtonConstructorLib, JSCalendarConstructorLib, JSContainerConstructorLib, JSDataConstructLib, JSModalPageConstructorLib, JSTableConstructLib, JSToolbarConstructorLib, JSTreeConstructLib, JSUtilitiesLib |
Constructor Summary | |
WebBeanImpl() |
Method Summary | |
protected static void |
generateScriptSrc(java.lang.StringBuffer buff, java.lang.String libName) |
java.lang.String |
getCookie(java.lang.String sName) Internal: Applications should not use this method. |
java.io.PrintWriter |
getOut() |
javax.servlet.http.HttpServletRequest |
getRequest() |
static java.lang.Object |
getRequestVariable(javax.servlet.jsp.PageContext pageCtx, javax.servlet.http.HttpServletRequest req, java.lang.String sName) |
java.lang.Object |
getRequestVariable(java.lang.String sName) |
java.lang.String |
getUniqueName(java.lang.String rootName) |
void |
initBeanForJS(int libFlag) |
void |
initBeanForJS(int libFlag, java.lang.String NLSFormat) |
static java.lang.String |
initBeanForJS(javax.servlet.jsp.PageContext pageCtx, javax.servlet.http.HttpServletRequest req, int libFlag, java.lang.String NLSFormat) |
void |
initialize(javax.servlet.jsp.PageContext page) Initializes this Web Bean object to access the important objects of the JSP: application, session, request, response, and out. |
void |
initialize(javax.servlet.ServletContext application, javax.servlet.http.HttpSession session, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.jsp.JspWriter out) Initializes this Web Bean object to access the important objects of the JSP: application, session, request, response, and out. |
void |
initialize(javax.servlet.ServletContext application, javax.servlet.http.HttpSession session, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.io.PrintWriter out) Initializes this Web Bean object to access the important objects of the JSP: application, session, request, response, and out. |
void |
internalInitialize() Internal initialize. |
void |
render() Renders the Web Bean's contents to the output stream. |
void |
render(java.io.PrintWriter outp) Renders the Web Bean's contents to the specified PrintWriter. |
static void |
setRequestVariable(javax.servlet.jsp.PageContext pageCtx, javax.servlet.http.HttpServletRequest req, java.lang.String sName, java.lang.Object obj) |
void |
setRequestVariable(java.lang.String sName, java.lang.Object obj) |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected javax.servlet.http.HttpSession session
protected javax.servlet.http.HttpServletRequest request
protected javax.servlet.http.HttpServletResponse response
protected java.io.PrintWriter out
protected javax.servlet.ServletContext application
protected javax.servlet.jsp.PageContext page
protected boolean bUsedInTag
Constructor Detail |
public WebBeanImpl()
Method Detail |
public void initialize(javax.servlet.ServletContext application, javax.servlet.http.HttpSession session, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.io.PrintWriter out) throws java.lang.Exception
initialize
in interface WebBean
application
- the JSP page's ServletContext.session
- the JSP page's HttpSession.request
- the JSP page's HttpServletRequest.response
- the JSP page's HttpServletResponse.out
- the PrintWriter to render to.java.lang.Exception
public void initialize(javax.servlet.jsp.PageContext page) throws java.lang.Exception
WebBean
initialize
in interface WebBean
page
- the JSP page's ServletContext.java.lang.Exception
public void initialize(javax.servlet.ServletContext application, javax.servlet.http.HttpSession session, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.jsp.JspWriter out) throws java.lang.Exception
application
- the JSP page's ServletContextsession
- the JSP page's HttpSessionrequest
- the JSP page's HttpServletRequestresponse
- the JSP page's HttpServletResponseout
- the JspWriter to render tojava.lang.Exception
public void internalInitialize() throws java.lang.Exception
internalInitialize
in interface WebBean
java.lang.Exception
public java.lang.String getCookie(java.lang.String sName)
Returns the name of the cookie associated with the JSP page's HttpServletRequest.
sName
- name of the cookiepublic java.io.PrintWriter getOut()
public javax.servlet.http.HttpServletRequest getRequest()
public java.lang.Object getRequestVariable(java.lang.String sName)
public static java.lang.Object getRequestVariable(javax.servlet.jsp.PageContext pageCtx, javax.servlet.http.HttpServletRequest req, java.lang.String sName)
public void setRequestVariable(java.lang.String sName, java.lang.Object obj)
public static void setRequestVariable(javax.servlet.jsp.PageContext pageCtx, javax.servlet.http.HttpServletRequest req, java.lang.String sName, java.lang.Object obj)
public void initBeanForJS(int libFlag)
public void initBeanForJS(int libFlag, java.lang.String NLSFormat)
public static java.lang.String initBeanForJS(javax.servlet.jsp.PageContext pageCtx, javax.servlet.http.HttpServletRequest req, int libFlag, java.lang.String NLSFormat)
protected static void generateScriptSrc(java.lang.StringBuffer buff, java.lang.String libName)
public java.lang.String getUniqueName(java.lang.String rootName)
public void render() throws java.lang.Exception
render
in interface WebBean
java.lang.Exception
public void render(java.io.PrintWriter outp)
render
in interface WebBean
outp
- the PrintWriter to render to.
|
Oracle9i Business Components for Java API Reference Oracle9i Jdeveloper (9.0.4) B10391-01 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2003, Oracle. All rights reserved.