|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.displaytag.util.MediaUtil
public final class MediaUtil
This class provides services for configuring and determining the list of media types an instance of
SupportsMedia supports. (Background: ColumnTag, FooterTag and CaptionTag can be configured to support
a set of media types. This class factors the logic for setting and determining the media instances these objects
support)
| Nested Class Summary | |
|---|---|
static interface |
MediaUtil.SupportsMedia
Defines a type of object that can support a list of media types. |
| Method Summary | |
|---|---|
static boolean |
availableForMedia(MediaUtil.SupportsMedia mediaSupporter,
MediaTypeEnum mediaType)
Is this media supporter configured for the media type? (Background: Factored from ColumnTag) |
static void |
setMedia(MediaUtil.SupportsMedia mediaSupporter,
java.lang.String media)
Configures the media supported by an object that implements SupportsMedia. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void setMedia(MediaUtil.SupportsMedia mediaSupporter,
java.lang.String media)
SupportsMedia. (Background: factored
from ColumnTag)
mediaSupporter - The SupportsMedia instance being configured to support a list of media.media - The media being configured on the given SupportsMedia instance.
public static boolean availableForMedia(MediaUtil.SupportsMedia mediaSupporter,
MediaTypeEnum mediaType)
mediaSupporter - An object that supports various media.mediaType - The currentMedia type
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||