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

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

public class OrExpression
extends java.lang.Object
implements FilterExpression

Implementation of the or (|) operator.


Constructor Summary
OrExpression(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

OrExpression

public OrExpression(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.