public class ClassDataSelector extends java.lang.Object implements DataSelector
DataSelector
selects all the data that are the
same as, or are subclasses of, the given class.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
REVISION |
Constructor and Description |
---|
ClassDataSelector(java.lang.Class clazz)
Creates a new ClassDataSelector
|
Modifier and Type | Method and Description |
---|---|
boolean |
isSelected(Data data)
Evaluates if a data must be selected or not.
|
public static final java.lang.String REVISION
public ClassDataSelector(java.lang.Class clazz)
clazz
- the class to selectpublic boolean isSelected(Data data)
DataSelector
isSelected
in interface DataSelector
data
- the data to evaluate.Copyright © 2001-2010 Jalios SA. All Rights Reserved.