|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jalios.jcms.OrDataSelector
public class OrDataSelector
This class combines a set of DataSelector
. The data is
selected if it is selected by one of the
DataSelector
s.
AndDataSelector
,
ReverseDataSelector
Field Summary | |
---|---|
static String |
REVISION
|
Constructor Summary | |
---|---|
OrDataSelector(DataSelector... dsArray)
Creates a new OrDataSelector from an array of DataSelectors. |
|
OrDataSelector(DataSelector ds1,
DataSelector ds2)
Creates a new OrDataSelector from 2 DataSelectors. |
|
OrDataSelector(DataSelector ds1,
DataSelector ds2,
DataSelector ds3)
Creates a new OrDataSelector from 3 DataSelectors. |
Method Summary | |
---|---|
boolean |
isSelected(Data data)
Returns true if one of 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 OrDataSelector(DataSelector ds1, DataSelector ds2)
ds1
- the first DataSelectords2
- the second DataSelectorpublic OrDataSelector(DataSelector ds1, DataSelector ds2, DataSelector ds3)
ds1
- the first DataSelectords2
- the second DataSelectords3
- the third DataSelectorpublic OrDataSelector(DataSelector... dsArray)
dsArray
- the array of DataSelectorMethod Detail |
---|
public boolean isSelected(Data data)
isSelected
in interface DataSelector
data
- the data to evaluate.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |