org.mule.routing.filters.logic
Class AndFilter

java.lang.Object
  extended by org.mule.routing.filters.logic.AndFilter
All Implemented Interfaces:
UMOFilter

public class AndFilter
extends Object
implements UMOFilter

AndFilter accepts only if the leftFilter and rightFilter filter accept.


Constructor Summary
AndFilter()
           
AndFilter(UMOFilter left, UMOFilter right)
           
 
Method Summary
 boolean accept(UMOMessage message)
          Check a given message against this filter.
 UMOFilter getLeftFilter()
           
 UMOFilter getRightFilter()
           
 void setLeftFilter(UMOFilter leftFilter)
           
 void setRightFilter(UMOFilter rightFilter)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AndFilter

public AndFilter()

AndFilter

public AndFilter(UMOFilter left,
                 UMOFilter right)
Method Detail

setLeftFilter

public void setLeftFilter(UMOFilter leftFilter)

setRightFilter

public void setRightFilter(UMOFilter rightFilter)

getLeftFilter

public UMOFilter getLeftFilter()

getRightFilter

public UMOFilter getRightFilter()

accept

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

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


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