EqualsFilter (Mule ESB 2.2.1 API)
Keywords: org.mule.routing.filters.EqualsFilter class

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.mule.routing.filters
Class EqualsFilter

    java.lang.Object
      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)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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