SHOW Signed

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

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

public abstract class BrowserContentProvider
extends Object

Defines functionality required of a provider of specialized browser contents.

Third parties wishing to provide rendering of specialized mime content can implement this abstract class.

Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.

Since:
JDE 4.0.0

Constructor Summary
 Category: Signed protected BrowserContentProvider()
          
 
Method Summary
 Category: Signed abstract  String[] getAccept(RenderingOptions context)
          Retrieves list of mime types this provider can accept given a set of rendering options.
 Category: Signed abstract  BrowserContent getBrowserContent(BrowserContentProviderContext context)
          Retrieves a browser content capable of rendering the mime content this provider can handle.
 Category: Signed abstract  String[] getSupportedMimeTypes()
          Retrieves all the mime content types supported by this provider.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BrowserContentProvider

protected BrowserContentProvider()
Since:
JDE 4.0.0
Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.
Method Detail

getAccept

public abstract String[] getAccept(RenderingOptions context)
Retrieves list of mime types this provider can accept given a set of rendering options.
Parameters:
context - Rendering options in place this provider should consider.
Returns:
Array of mime types this provider will accept, given the provided rendering options.
Since:
JDE 4.0.0
Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.

getBrowserContent

public abstract BrowserContent getBrowserContent(BrowserContentProviderContext context)
                                          throws RenderingException
Retrieves a browser content capable of rendering the mime content this provider can handle.
Parameters:
context - Provider context object provided by rendering session.
Returns:
Browser content to render specialized content.
Since:
JDE 4.0.0
Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.

getSupportedMimeTypes

public abstract String[] getSupportedMimeTypes()
Retrieves all the mime content types supported by this provider.
Returns:
Mime types this converter supports.
Since:
JDE 4.0.0
Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.


Copyright 1999-2007 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.