org.apache.camel.component.feed
Interface EntryFilter

All Known Implementing Classes:
UpdatedDateFilter

public interface EntryFilter

Filter used by the FeedEntryPollingConsumer to filter entries from the feed.

Version:

Method Summary
 boolean isValidEntry(FeedEndpoint endpoint, Object feed, Object entry)
          Tests to be used as filtering the feed for only entries of interest, such as only new entries, etc.
 

Method Detail

isValidEntry

boolean isValidEntry(FeedEndpoint endpoint,
                     Object feed,
                     Object entry)
Tests to be used as filtering the feed for only entries of interest, such as only new entries, etc.

Parameters:
endpoint - the endpoint
feed - the feed
entry - the given entry to filter
Returns:
true to include the entry, false to skip it


Apache Camel