com.jalios.jcms
Class ReverseDataSelector

java.lang.Object
  extended by com.jalios.jcms.ReverseDataSelector
All Implemented Interfaces:
DataSelector

public class ReverseDataSelector
extends Object
implements DataSelector

This DataSelector selects the complementary set of a given DataSelector.

Version:
$Revision: 14756 $
Author:
Olivier Dedieu
See Also:
AndDataSelector, OrDataSelector

Field Summary
static String REVISION
           
 
Constructor Summary
ReverseDataSelector(DataSelector dataSelector)
          Creates a new ReverseDataSelector from an other DataSelectors.
 
Method Summary
 boolean isSelected(Data data)
          Returns the reverse value of the encapsulated DataSelector.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REVISION

public static final String REVISION
See Also:
Constant Field Values
Constructor Detail

ReverseDataSelector

public ReverseDataSelector(DataSelector dataSelector)
Creates a new ReverseDataSelector from an other DataSelectors.

Parameters:
dataSelector - the DataSelector
Method Detail

isSelected

public boolean isSelected(Data data)
Returns the reverse value of the encapsulated DataSelector.

Specified by:
isSelected in interface DataSelector
Parameters:
data - the data to evaluate.
Returns:
true if the encapsulated DataSelector returns false. False otherwise.


Copyright © 2001-2010 Jalios SA. All Rights Reserved.