Dekoh platform API

dekoh.portal.syndication.aggregator.core
Class AggregatedItemTransformer.Adapter

java.lang.Object
  extended by dekoh.portal.syndication.aggregator.core.AggregatedItemTransformer.Adapter
All Implemented Interfaces:
AggregatedItemTransformer
Direct Known Subclasses:
SummarizingTransformer
Enclosing interface:
AggregatedItemTransformer

public static class AggregatedItemTransformer.Adapter
extends Object
implements AggregatedItemTransformer

Implementations of the AggregatedItemTransformer can extend this class to override only specific methods.


Nested Class Summary
 
Nested classes/interfaces inherited from interface dekoh.portal.syndication.aggregator.core.AggregatedItemTransformer
AggregatedItemTransformer.Adapter, AggregatedItemTransformer.TransformationContext
 
Constructor Summary
AggregatedItemTransformer.Adapter()
           
 
Method Summary
 void begin(AggregatedItemTransformer.TransformationContext context)
          begin() method will signal to the transformer implementations of 'begin' of stream of feed-items(event summaries) downloaded for a perticular SubscriptionItem.
 void end(AggregatedItemTransformer.TransformationContext context)
          Signals the end of stream of feed-items (event summaries) from a perticular SubscriptionItem.
 boolean transform(AggregatedItemTransformer.TransformationContext context, Item rssFeedItem)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AggregatedItemTransformer.Adapter

public AggregatedItemTransformer.Adapter()
Method Detail

begin

public void begin(AggregatedItemTransformer.TransformationContext context)
Description copied from interface: AggregatedItemTransformer
begin() method will signal to the transformer implementations of 'begin' of stream of feed-items(event summaries) downloaded for a perticular SubscriptionItem.

Until end() method is called, all the Items being transformed are downloaded from the same source.

Specified by:
begin in interface AggregatedItemTransformer

transform

public boolean transform(AggregatedItemTransformer.TransformationContext context,
                         Item rssFeedItem)
Specified by:
transform in interface AggregatedItemTransformer
Parameters:
context -
rssFeedItem -
Returns:
always true

end

public void end(AggregatedItemTransformer.TransformationContext context)
Description copied from interface: AggregatedItemTransformer
Signals the end of stream of feed-items (event summaries) from a perticular SubscriptionItem.

Specified by:
end in interface AggregatedItemTransformer

Dekoh platform API

© 2009 Pramati Technologies - Dekoh - Portal for Developers