|
Dekoh platform API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AggregatedItemTransformer
AggregatedItemTransformer is an interface for Aggregator users who wish to
modify/transform a feed entry before it becomes part of aggregation.
Some of the use cases will be if one wants to summarize the aggregated feed, Add a image for the feed or would filter out some feed-items(event summaries) from aggregation.
| Nested Class Summary | |
|---|---|
static class |
AggregatedItemTransformer.Adapter
Implementations of the AggregatedItemTransformer can extend this class to override only specific
methods. |
static class |
AggregatedItemTransformer.TransformationContext
|
| 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)
|
| Method Detail |
|---|
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.
Until end() method is called, all the Items being transformed are downloaded from the same source.
context -
boolean transform(AggregatedItemTransformer.TransformationContext context,
Item rssFeedItem)
context - rssFeedItem -
void end(AggregatedItemTransformer.TransformationContext context)
SubscriptionItem.
context -
|
Dekoh platform API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
© 2009 Pramati Technologies - Dekoh - Portal for Developers