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

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

public class EqualityExpression
extends java.lang.Object
implements FilterExpression

Implementation of the equal (=) operator.


Constructor Summary
EqualityExpression(java.lang.String key, java.lang.String value)
           
 
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

EqualityExpression

public EqualityExpression(java.lang.String key,
                          java.lang.String value)
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.