com.jalios.jcms
Class ClassDataSelector
java.lang.Object
  
com.jalios.jcms.ClassDataSelector
- All Implemented Interfaces: 
 - DataSelector
 
public class ClassDataSelector
- extends Object
- implements DataSelector
  
This DataSelector selects all the data that are the
 same as, or are subclasses of, the given class.
- Since:
 
  - jcms-3.0
 
- Version:
 
  - $Revision: 14756 $
 
- Author:
 
  - Olivier Dedieu
 
 
 
| 
Method Summary | 
 boolean | 
isSelected(Data data)
 
          Evaluates if a data must be selected or not. | 
 
| 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
 
ClassDataSelector
public ClassDataSelector(Class clazz)
- Creates a new ClassDataSelector
- Parameters:
 clazz - the class to select- Since:
 
  - jcms-3.0
 
 
isSelected
public boolean isSelected(Data data)
- Description copied from interface: 
DataSelector 
- Evaluates if a data must be selected or not.
- Specified by:
 isSelected in interface DataSelector
 
- Parameters:
 data - the data to evaluate.
- Returns:
 - true if class of data is the same as, or is a subclass
 of, the given class.
 
 
 
Copyright © 2001-2010 Jalios SA. All Rights Reserved.