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

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

public class PresenceExpression
extends java.lang.Object
implements FilterExpression

Implementation of the present (=*) operator.


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

PresenceExpression

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