SHOW Signed
 

net.rim.device.api.browser.plugin
Class BrowserContentProviderContext

java.lang.Object
  |
  +--net.rim.device.api.browser.plugin.BrowserContentProviderContext

public class BrowserContentProviderContext
extends Object

Collects context information handed to a browser field provider by the rendering session.

Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.

Since:
JDE 4.0.0

Constructor Summary
 Category: Signed BrowserContentProviderContext(HttpConnection httpConnection, RenderingApplication renderingApplication, RenderingSession renderingSession, int flags, Event event)
          Creates a new BrowserFieldProviderContext instance.
 Category: Signed BrowserContentProviderContext(InputConnection inputConnection, InputStream in, RenderingApplication renderingApplication, RenderingSession renderingSession, int flags, Event event)
          Creates a new BrowserFieldProviderContext instance.
 
Method Summary
 Category: Signed  Event getEvent()
          Retrieves event that initiated this rendering.
 Category: Signed  int getFlags()
          Retrieves rendering flags.
 Category: Signed  HttpConnection getHttpConnection()
          Retrieves connection containing data to render.
 Category: Signed  InputConnection getInputConnection()
          Retrieves connection containing data to render.
 Category: Signed  InputStream getInputStream()
          Retrieves the input stream, possibly null.
 Category: Signed  RenderingApplication getRenderingApplication()
          Retrieves rendering application to handle "off-page" resource requests.
 Category: Signed  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

BrowserContentProviderContext

public BrowserContentProviderContext(HttpConnection httpConnection,
                                     RenderingApplication renderingApplication,
                                     RenderingSession renderingSession,
                                     int flags,
                                     Event event)
Creates a new BrowserFieldProviderContext instance.
Parameters:
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.
Since:
JDE 4.0.0
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.

BrowserContentProviderContext

public BrowserContentProviderContext(InputConnection inputConnection,
                                     InputStream in,
                                     RenderingApplication renderingApplication,
                                     RenderingSession renderingSession,
                                     int flags,
                                     Event event)
Creates a new BrowserFieldProviderContext instance.
Parameters:
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.
Since:
JDE 4.2.0
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Method Detail

getEvent

public Event getEvent()
Retrieves event that initiated this rendering.
Returns:
Causing event.
Since:
JDE 4.0.0
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.

getFlags

public int getFlags()
Retrieves rendering flags.
Returns:
Rendering flags.
Since:
JDE 4.0.0
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.

getHttpConnection

public HttpConnection getHttpConnection()
Retrieves connection containing data to render.
Returns:
Connection containing data to render.
Since:
JDE 4.0.0
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.

getInputConnection

public InputConnection getInputConnection()
Retrieves connection containing data to render.
Returns:
Connection containing data to render.
Since:
JDE 4.2.0
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.

getInputStream

public InputStream getInputStream()
Retrieves the input stream, possibly null. If the result is null, the plugin should open the input stream from the connection.
Returns:
Input stream containing data to render.
Since:
JDE 4.2.0
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.

getRenderingApplication

public RenderingApplication getRenderingApplication()
Retrieves rendering application to handle "off-page" resource requests.
Returns:
Rendering application for callbacks.
Since:
JDE 4.0.0
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.

getRenderingSession

public RenderingSession getRenderingSession()
Retrieves the rendering session for this field.
Returns:
Rendering session for this field.
Since:
JDE 4.0.0
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.



Copyright 1999-2009 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.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.