|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jalios.jcms.AndDataSelector
public class AndDataSelector
This class combines a set of DataSelector. The data is
selected if it is selected by all the
DataSelectors.
OrDataSelector,
ReverseDataSelector| Field Summary | |
|---|---|
static String |
REVISION
|
| Constructor Summary | |
|---|---|
AndDataSelector(DataSelector... dsArray)
Creates a new AndDataSelector from an array of DataSelectors. |
|
AndDataSelector(DataSelector ds1,
DataSelector ds2)
Creates a new AndDataSelector from 2 DataSelectors. |
|
AndDataSelector(DataSelector ds1,
DataSelector ds2,
DataSelector ds3)
Creates a new AndDataSelector from 3 DataSelectors. |
|
| Method Summary | |
|---|---|
boolean |
isSelected(Data data)
Returns true if all the DataSelector returns true. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String REVISION
| Constructor Detail |
|---|
public AndDataSelector(DataSelector ds1,
DataSelector ds2)
ds1 - the first DataSelectords2 - the second DataSelector
public AndDataSelector(DataSelector ds1,
DataSelector ds2,
DataSelector ds3)
ds1 - the first DataSelectords2 - the second DataSelectords3 - the third DataSelectorpublic AndDataSelector(DataSelector... dsArray)
dsArray - the array of DataSelector| Method Detail |
|---|
public boolean isSelected(Data data)
isSelected in interface DataSelectordata - the data to evaluate.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||