org.mule.routing.filters
Class EqualsFilter

java.lang.Object
  extended by org.mule.routing.filters.EqualsFilter
All Implemented Interfaces:
Filter, ObjectFilter

public class EqualsFilter
extends Object
implements Filter, ObjectFilter

EqualsFilter is a filter for comparing two objects using the equals() method.


Constructor Summary
EqualsFilter()
           
EqualsFilter(Object compareTo)
           
 
Method Summary
 boolean accept(MuleMessage message)
          Check a given message against this filter.
 boolean accept(Object object)
           
 Object getPattern()
           
 void setPattern(Object pattern)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EqualsFilter

public EqualsFilter()

EqualsFilter

public EqualsFilter(Object compareTo)
Method Detail

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

accept

public boolean accept(Object object)
Specified by:
accept in interface ObjectFilter

getPattern

public Object getPattern()

setPattern

public void setPattern(Object pattern)


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