org.apache.axis2.transport.testkit.filter
Class AndExpression

java.lang.Object
  extended by org.apache.axis2.transport.testkit.filter.AndExpression
All Implemented Interfaces:
FilterExpression

public class AndExpression
extends java.lang.Object
implements FilterExpression

Implementation of the and (&) operator.


Constructor Summary
AndExpression(FilterExpression[] operands)
           
 
Method Summary
 boolean matches(java.util.Map<java.lang.String,java.lang.String> map)
          Evaluate the filter expression.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AndExpression

public AndExpression(FilterExpression[] operands)
Method Detail

matches

public boolean matches(java.util.Map<java.lang.String,java.lang.String> map)
Description copied from interface: FilterExpression
Evaluate the filter expression.

Specified by:
matches in interface FilterExpression
Parameters:
map - the data on which the filter expression is evaluated
Returns:
true if the data matches the filter represented by this object


Copyright © 2004-2009 The Apache Software Foundation. All Rights Reserved.