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.codehaus.activemq.filter
Class NotFilter

    java.lang.Object
      org.codehaus.activemq.filter.NotFilter

All Implemented Interfaces:
  Filter

public class NotFilter
extends java.lang.Object
implements Filter

Represents a logical not operation on another filter

Version:
  $Revision: 1.2 $

Constructor Summary
`NotFilter(Filter filter)`

Method Summary
`boolean` | `isWildcard()`
`boolean` | `matches(Message message)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### NotFilter

    public NotFilter(Filter filter)

Method Detail

### matches

    public boolean matches(Message message)
                    throws JMSException

  Specified by:
    `matches` in interface `Filter`
  Returns:
    true if this filter matches the given JMS message
  Throws:
    `JMSException`

### isWildcard

    public boolean isWildcard()

  Specified by:
    `isWildcard` in interface `Filter`
  Returns:
    return true if this filter is a wildcard filter and so can match multiple destinations

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 © 2004 Protique, Ltd.. All Rights Reserved.