org.mmbase.applications.media.filters
Class FieldValueFilter

java.lang.Object
  extended by org.mmbase.applications.media.filters.FieldValueFilter
All Implemented Interfaces:
Filter

public class FieldValueFilter
extends Object
implements Filter

Filters out all sources where a field's values matches or not a certain regular expression

Since:
MMBase-1.9.2
Version:
$Id: FieldValueFilter.java 38845 2009-09-24 14:00:43Z michiel $
Author:
Michiel Meeuwissen

Constructor Summary
FieldValueFilter()
           
 
Method Summary
 void configure(DocumentReader reader, Element e)
           
 List<URLComposer> filter(List<URLComposer> urlcomposers)
           
 void setField(String f)
           
 void setInverse(boolean i)
          If inverse, than only filters out those sources that do not match the regular expression.
 void setPattern(String p)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FieldValueFilter

public FieldValueFilter()
Method Detail

setField

public void setField(String f)

setInverse

public void setInverse(boolean i)
If inverse, than only filters out those sources that do not match the regular expression.


setPattern

public void setPattern(String p)

configure

public void configure(DocumentReader reader,
                      Element e)
Specified by:
configure in interface Filter

filter

public final List<URLComposer> filter(List<URLComposer> urlcomposers)
Specified by:
filter in interface Filter


MMBase 2.0-SNAPSHOT - null