info.magnolia.module.rssaggregator.importhandler
Class AggregateFilter

java.lang.Object
  extended by info.magnolia.module.rssaggregator.importhandler.AggregateFilter

public class AggregateFilter
extends Object

A set of filter predicates defined for an AggregateFeed. Entries in a FeedChannel must be included by this filter before they will actually be imported.

Author:
had, Rob van der Linden Vooren

Constructor Summary
AggregateFilter(Set<FilterPredicate> filters)
           
 
Method Summary
protected  boolean contains(FilterPredicate filterPredicate)
           
protected  boolean getHit(Collection<Object> propertyValues, String regularExpression)
           
 boolean include(com.sun.syndication.feed.synd.SyndEntry entry)
           
protected  boolean matchSingleString(boolean passed, String propValue, String regularExpression, info.magnolia.module.rssaggregator.importhandler.FilterPredicate.Condition condition)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AggregateFilter

public AggregateFilter(Set<FilterPredicate> filters)
Method Detail

include

public boolean include(com.sun.syndication.feed.synd.SyndEntry entry)

getHit

protected boolean getHit(Collection<Object> propertyValues,
                         String regularExpression)

matchSingleString

protected boolean matchSingleString(boolean passed,
                                    String propValue,
                                    String regularExpression,
                                    info.magnolia.module.rssaggregator.importhandler.FilterPredicate.Condition condition)

contains

protected boolean contains(FilterPredicate filterPredicate)


Copyright © 2014 Magnolia International Ltd.. All Rights Reserved.