com.jalios.jcms
Class ReverseDataSelector
java.lang.Object
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
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 |
REVISION
public static final String REVISION
- See Also:
- Constant Field Values
ReverseDataSelector
public ReverseDataSelector(DataSelector dataSelector)
- Creates a new ReverseDataSelector from an other DataSelectors.
- Parameters:
dataSelector
- the DataSelector
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.