Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.activemq.filter
Class AndFilter  view AndFilter download AndFilter.java

java.lang.Object
  extended byorg.activemq.filter.AndFilter
All Implemented Interfaces:
Filter

public class AndFilter
extends java.lang.Object
implements Filter

Represents a logical AND operation on two filters

Version:
$Revision: 1.1.1.1 $

Field Summary
private  Filter left
           
private  Filter right
           
 
Constructor Summary
AndFilter(Filter left, Filter right)
           
 
Method Summary
 Filter getLeft()
           
 Filter getRight()
           
 boolean isWildcard()
           
 boolean matches(javax.jms.Message message)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

left

private Filter left

right

private Filter right
Constructor Detail

AndFilter

public AndFilter(Filter left,
                 Filter right)
Method Detail

matches

public boolean matches(javax.jms.Message message)
                throws javax.jms.JMSException
Specified by:
matches in interface Filter

isWildcard

public boolean isWildcard()
Specified by:
isWildcard in interface Filter

getLeft

public Filter getLeft()

getRight

public Filter getRight()