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

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

public class DefaultFilterExpression
extends java.lang.Object
implements IFilterExpression

A Default FilterExpression

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
static DefaultFilterExpression DEFAULT
           
 
Constructor Summary
DefaultFilterExpression()
           
 
Method Summary
 boolean equals(java.lang.Object testObj)
           
 boolean evaluate(INode aNode)
          Evaluates this DefaultFilterExpression 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, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT

public static DefaultFilterExpression DEFAULT
Constructor Detail

DefaultFilterExpression

public DefaultFilterExpression()
Method Detail

evaluate

public boolean evaluate(INode aNode)
                 throws UncomparableExpressionObjectException
Evaluates this DefaultFilterExpression 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

equals

public boolean equals(java.lang.Object testObj)
Overrides:
equals in class java.lang.Object


Copyright 2002 Free Software Foundation. All Rights Reserved.