net.sourceforge.esw.service.log.expression
Class NotFilterExpression

java.lang.Object
  |
  +--net.sourceforge.esw.service.log.expression.NotFilterExpression
All Implemented Interfaces:
IFilterExpression, java.io.Serializable

public class NotFilterExpression
extends java.lang.Object
implements IFilterExpression

A NotFilterExpression

This expression will always return false when evaluated... i wonder how to encode it into a string. should false be a valid string encode?

See Also:
Serialized Form

Field Summary
protected  IFilterExpression firstExp
           
 
Constructor Summary
NotFilterExpression()
          Creates a new NotFilterExpression.
NotFilterExpression(IFilterExpression tFirst)
          Creates a new NotFilterExpression.
 
Method Summary
 boolean evaluate(INode aNode)
          Evaluates this NotFilterExpression in respect to this INode of data
 java.lang.String stringEncode()
          Encode this expression into a string form.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

firstExp

protected IFilterExpression firstExp
Constructor Detail

NotFilterExpression

public NotFilterExpression(IFilterExpression tFirst)
Creates a new NotFilterExpression.

NotFilterExpression

public NotFilterExpression()
Creates a new NotFilterExpression.
Method Detail

evaluate

public boolean evaluate(INode aNode)
                 throws UncomparableExpressionObjectException
Evaluates this NotFilterExpression in respect to this INode of data

Specified by:
evaluate in interface IFilterExpression
Parameters:
infoDatum - the data to check
Returns:
boolean always returns false

stringEncode

public java.lang.String stringEncode()
Encode this expression into a string form. Just returns a 0 length string right now

Specified by:
stringEncode in interface IFilterExpression
Returns:
String this Expression in string form


Copyright 2002 Free Software Foundation. All Rights Reserved.