org.portletbridge.portlet
Interface BridgeTransformer

All Known Implementing Classes:
AltBridgeTransformer, DefaultBridgeTransformer

public interface BridgeTransformer

The portlet uses implementations of this class to transform data from the downstream site into the portlet content

Author:
JMcCrindle

Method Summary
 void transform(PortletBridgeMemento memento, PerPortletMemento perPortletMemento, java.net.URI currentUrl, javax.portlet.RenderRequest request, javax.portlet.RenderResponse response, java.io.Reader in)
          Transform the downstream content to portlet content
 

Method Detail

transform

void transform(PortletBridgeMemento memento,
               PerPortletMemento perPortletMemento,
               java.net.URI currentUrl,
               javax.portlet.RenderRequest request,
               javax.portlet.RenderResponse response,
               java.io.Reader in)
               throws org.portletbridge.ResourceException
Transform the downstream content to portlet content

Parameters:
memento - the portlet memento to use
perPortletMemento - the memento for the particular portlet instance
currentUrl - the current url
request - the render request
response - the render response to write the result out to
in - the reader to read the downstream content from
Throws:
org.portletbridge.ResourceException - if there is a problem transforming the content


Copyright © 2002-2006 Grape Design Limited. All Rights Reserved.