|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.rim.device.api.browser.plugin.BrowserContentProviderContext
public class BrowserContentProviderContext
Collects context information handed to a browser field provider by the rendering session.
Constructor Summary | ||
---|---|---|
|
BrowserContentProviderContext(HttpConnection httpConnection,
RenderingApplication renderingApplication,
RenderingSession renderingSession,
int flags,
Event event)
Creates a new BrowserFieldProviderContext instance. |
|
|
BrowserContentProviderContext(InputConnection inputConnection,
InputStream in,
RenderingApplication renderingApplication,
RenderingSession renderingSession,
int flags,
Event event)
Creates a new BrowserFieldProviderContext instance. |
Method Summary | ||
---|---|---|
|
Event |
getEvent()
Retrieves event that initiated this rendering. |
|
int |
getFlags()
Retrieves rendering flags. |
|
HttpConnection |
getHttpConnection()
Retrieves connection containing data to render. |
|
InputConnection |
getInputConnection()
Retrieves connection containing data to render. |
|
InputStream |
getInputStream()
Retrieves the input stream, possibly null. |
|
RenderingApplication |
getRenderingApplication()
Retrieves rendering application to handle "off-page" resource requests. |
|
RenderingSession |
getRenderingSession()
Retrieves the rendering session for this field. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BrowserContentProviderContext(HttpConnection httpConnection, RenderingApplication renderingApplication, RenderingSession renderingSession, int flags, Event event)
httpConnection
- Data to render.renderingApplication
- Rendering application to handle "off-page"
resource requests.renderingSession
- Rendering session to handle interactions with
browser field.flags
- Rendering flags (rendering constants).event
- Event that caused the creation of this context.public BrowserContentProviderContext(InputConnection inputConnection, InputStream in, RenderingApplication renderingApplication, RenderingSession renderingSession, int flags, Event event)
inputConnection
- Data to render.in
- Input stream to render from. If null; the plugin should open the stream from the inputConnection.renderingApplication
- Rendering application to handle "off-page"
resource requests.renderingSession
- Rendering session to handle interactions with
browser field.flags
- Rendering flags (rendering constants).event
- Event that caused the creation of this context.Method Detail |
---|
public Event getEvent()
public int getFlags()
public HttpConnection getHttpConnection()
public InputConnection getInputConnection()
public InputStream getInputStream()
public RenderingApplication getRenderingApplication()
public RenderingSession getRenderingSession()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 1999-2010 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Copyright 1993-2003 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark of Sun Microsystems, Inc.