org.mule.routing.filters.logic
Class NotFilter

java.lang.Object
  extended by org.mule.routing.filters.logic.NotFilter
All Implemented Interfaces:
Filter

public class NotFilter
extends Object
implements Filter

NotFilter accepts if the filter does not accept.


Constructor Summary
NotFilter()
           
NotFilter(Filter filter)
           
 
Method Summary
 boolean accept(MuleMessage message)
          Check a given message against this filter.
 Filter getFilter()
           
 void setFilter(Filter filter)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NotFilter

public NotFilter()

NotFilter

public NotFilter(Filter filter)
Method Detail

getFilter

public Filter getFilter()

setFilter

public void setFilter(Filter filter)

accept

public boolean accept(MuleMessage message)
Description copied from interface: Filter
Check a given message against this filter.

Specified by:
accept in interface Filter
Parameters:
message - a non null message to filter.
Returns:
true if the message matches the filter


Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.