org.deegree.filter.temporal
Class MetBy

java.lang.Object
  extended by org.deegree.filter.temporal.TemporalOperator
      extended by org.deegree.filter.temporal.MetBy
All Implemented Interfaces:
Operator

public class MetBy
extends TemporalOperator

TemporalOperator that...

Version:
$Revision: 31664 $, $Date: 2011-08-26 16:18:07 +0200 (Fri, 26 Aug 2011) $
Author:
Markus Schneider, last edited by: $Author: mschneider $

Nested Class Summary
 
Nested classes/interfaces inherited from class org.deegree.filter.temporal.TemporalOperator
TemporalOperator.SubType
 
Nested classes/interfaces inherited from interface org.deegree.filter.Operator
Operator.Type
 
Field Summary
 
Fields inherited from class org.deegree.filter.temporal.TemporalOperator
param1, param2
 
Constructor Summary
MetBy(Expression param1, Expression param2)
          Creates a new instance of MetBy.
 
Method Summary
<T> boolean
evaluate(T obj, XPathEvaluator<T> xpathEvaluator)
          Determines the value of the boolean operator.
 
Methods inherited from class org.deegree.filter.temporal.TemporalOperator
getParameter1, getParameter2, getSubType, getType, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetBy

public MetBy(Expression param1,
             Expression param2)
Creates a new instance of MetBy.

Parameters:
param1 - first temporal expression (time instant or period), must not be null
param2 - second temporal expression (time instant or period), must not be null
Method Detail

evaluate

public <T> boolean evaluate(T obj,
                            XPathEvaluator<T> xpathEvaluator)
                 throws FilterEvaluationException
Description copied from interface: Operator
Determines the value of the boolean operator.

Type Parameters:
T - type of the context object
Parameters:
obj - object that the operator is evaluated upon, must not be null
xpathEvaluator - used for evaluation of XPath expressions, must not be null
Returns:
true, if the operator evaluates to true, false otherwise
Throws:
FilterEvaluationException - if the evaluation fails


Copyright © 2011. All Rights Reserved.