|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jalios.jcms.FileDocument.MediaTypeSelector
public static class FileDocument.MediaTypeSelector
This DataSelector selects all the FileDocument corresponding to the given media type.
FileDocument.isImage(),
FileDocument.isAudio(),
FileDocument.isVideo(),
FileDocument.isFlash()| Field Summary |
|---|
| Fields inherited from interface com.jalios.jcms.DataSelector |
|---|
REVISION |
| Constructor Summary | |
|---|---|
FileDocument.MediaTypeSelector(java.lang.String mediaType)
Build a new FileDocument MediaTypeSelector using the given media type. |
|
| 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 |
| Constructor Detail |
|---|
public FileDocument.MediaTypeSelector(java.lang.String mediaType)
FileDocument.isImage()FileDocument.isAudio()FileDocument.isVideo()FileDocument.isFlash()
mediaType - the media type to select| Method Detail |
|---|
public boolean isSelected(Data data)
DataSelector
isSelected in interface DataSelectordata - the data to evaluate.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||