org.deegree.filter.logical
Class Not

java.lang.Object
  extended by org.deegree.filter.logical.LogicalOperator
      extended by org.deegree.filter.logical.Not
All Implemented Interfaces:
Operator

public class Not
extends LogicalOperator

TODO add documentation here

Version:
$Revision:$, $Date:$
Author:
Markus Schneider , last edited by: $Author:$

Nested Class Summary
 
Nested classes/interfaces inherited from class org.deegree.filter.logical.LogicalOperator
LogicalOperator.SubType
 
Nested classes/interfaces inherited from interface org.deegree.filter.Operator
Operator.Type
 
Constructor Summary
Not(Operator param)
           
 
Method Summary
<T> boolean
evaluate(T obj, XPathEvaluator<T> xpathEvaluator)
          Determines the value of the boolean operator.
 Operator getParameter()
           
 Operator[] getParams()
           
 LogicalOperator.SubType getSubType()
           
 String toString(String indent)
           
 
Methods inherited from class org.deegree.filter.logical.LogicalOperator
getType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Not

public Not(Operator param)
Method Detail

getParameter

public Operator getParameter()

getSubType

public LogicalOperator.SubType getSubType()
Specified by:
getSubType in class LogicalOperator

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

toString

public String toString(String indent)

getParams

public Operator[] getParams()
Specified by:
getParams in class LogicalOperator


Copyright © 2011. All Rights Reserved.