org.apache.camel.component.atom
Interface EntryFilter

All Known Implementing Classes:
UpdatedDateFilter

public interface EntryFilter

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

Version:
$Revision: 656106 $

Method Summary
 boolean isValidEntry(AtomEndpoint endpoint, org.apache.abdera.model.Document<org.apache.abdera.model.Feed> feed, org.apache.abdera.model.Entry 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(AtomEndpoint endpoint,
                     org.apache.abdera.model.Document<org.apache.abdera.model.Feed> feed,
                     org.apache.abdera.model.Entry 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 Atom feed
entry - the given entry to filter
Returns:
true to include the entry, false to skip it


Copyright © 2009 Apache Software Foundation. All Rights Reserved.