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

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

public class NotExpression
extends java.lang.Object
implements FilterExpression

Implementation of the not (!) operator.


Constructor Summary
NotExpression(FilterExpression operand)
           
 
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

NotExpression

public NotExpression(FilterExpression operand)
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.