com.sun.portal.wireless.providers.containers.jsp.list
Class JSPNativeContainerProvider

java.lang.Object
  extended byJSPContainerProviderAdapter
      extended bycom.sun.portal.wireless.providers.containers.jsp.WirelessJSPContainerProviderAdapter
          extended bycom.sun.portal.wireless.providers.containers.jsp.list.JSPNativeContainerProvider

public class JSPNativeContainerProvider
extends WirelessJSPContainerProviderAdapter

This class extends WirelessJSPContainerProviderAdapter for the wireless desktop on native devices.

See Also:
Serialized Form

Constructor Summary
JSPNativeContainerProvider()
           
 
Method Summary
 java.util.Map getChunkedContentMap(HttpServletRequest httpReq, HttpServletResponse httpRes)
          Gets the content map that is chunked according the device maxSize.
 void init(java.lang.String name, HttpServletRequest httpReq)
          Initializes this JSPNativeContainerProvider.
 
Methods inherited from class com.sun.portal.wireless.providers.containers.jsp.WirelessJSPContainerProviderAdapter
downRow, getAvailableChannels, getAvailableChannels, getMaximizedChannel, getOrderedSelectedChannels, getOrderedSelectedChannels, getRow, getUserDefinedChannels, getWindowState, hasMaximizedChannel, processContentChannelSelection, upRow
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JSPNativeContainerProvider

public JSPNativeContainerProvider()
Method Detail

init

public void init(java.lang.String name,
                 HttpServletRequest httpReq)
          throws ProviderException
Initializes this JSPNativeContainerProvider.

Parameters:
name - the specified name
httpReq - the HttpServletRequest
Throws:
ProviderException - if initialization fails

getChunkedContentMap

public java.util.Map getChunkedContentMap(HttpServletRequest httpReq,
                                          HttpServletResponse httpRes)
                                   throws ProviderException
Gets the content map that is chunked according the device maxSize. The map contains the list of channel names, broken down into pages.

Parameters:
httpReq - The servlet request
httpRes - The servlet response
Returns:
the Map of ordered content generated by providers
Throws:
ProviderException - if the content map cannot be obtained