jtge.engine.command
Class ReverseFilter

java.lang.Object
  extended byjtge.engine.command.ReverseFilter
All Implemented Interfaces:
IFilter

public class ReverseFilter
extends java.lang.Object
implements IFilter

Provides a proxy to reverse a filter.

Version:
$Revision: 1.3 $ $Date: 2005/08/26 18:09:36 $
Author:
Mathieu Champlon

Constructor Summary
ReverseFilter(IFilter filter)
          Create a filter reversing another filter.
 
Method Summary
 boolean validate(ICommand command)
          Indicates whether a command must be filtered or not.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReverseFilter

public ReverseFilter(IFilter filter)
Create a filter reversing another filter.

Parameters:
filter - the filter to reverse
Method Detail

validate

public final boolean validate(ICommand command)
Indicates whether a command must be filtered or not.

Specified by:
validate in interface IFilter
Parameters:
command - the command to test
Returns:
whether the command is valid or not


Copyright © 2003-2005 . All Rights Reserved.