Home » displaytag-1.1.1-src » org » displaytag » util » [javadoc | source]
org.displaytag.util
public final class: MediaUtil [javadoc | source]
java.lang.Object
   org.displaytag.util.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:
public static interface  MediaUtil.SupportsMedia  Defines a type of object that can support a list of media types. 
Method from org.displaytag.util.MediaUtil Summary:
availableForMedia,   setMedia
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.displaytag.util.MediaUtil Detail:
 public static boolean availableForMedia(MediaUtil.SupportsMedia mediaSupporter,
    MediaTypeEnum mediaType) 
    Is this media supporter configured for the media type? (Background: Factored from ColumnTag)
 public static  void setMedia(MediaUtil.SupportsMedia mediaSupporter,
    String media) 
    Configures the media supported by an object that implements SupportsMedia. (Background: factored from ColumnTag)