|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.myfaces.html5.model.MediaInfo
public class MediaInfo
Model of media resources to use at media elements.
MediaSourceHolder,
MediaSourceHandler,
Video| Field Summary | |
|---|---|
protected String |
codec
|
protected String |
contentType
|
protected boolean |
disabled
|
protected String |
media
|
protected String |
src
|
| Constructor Summary | |
|---|---|
MediaInfo(String src)
|
|
MediaInfo(String src,
String contentType)
|
|
MediaInfo(String src,
String contentType,
String codec)
|
|
MediaInfo(String src,
String contentType,
String codec,
String media)
|
|
MediaInfo(String src,
String contentType,
String codec,
String media,
boolean disabled)
|
|
| Method Summary | |
|---|---|
String |
getCodec()
Returns the codecs of the resource (for example: "avc1.64001E, mp4a.40.2"). |
String |
getContentType()
Returns the MIME content type of the resource (for example : "video/ogg"); |
String |
getMedia()
Returns the intended media type of the media resource, to help the browser determine if this media resource is useful to the user before fetching it. |
String |
getSrc()
Returns the URL of the media source. |
boolean |
isDisabled()
If set to true, media renderer will ignore this resource. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String src
protected String contentType
protected String media
protected String codec
protected boolean disabled
| Constructor Detail |
|---|
public MediaInfo(String src,
String contentType,
String codec,
String media,
boolean disabled)
src - URL of the media resourcecontentType - MIME content type of the resource (for example : "video/ogg")codec - encoding method of the media resource. eg: "avc1.64001E, mp4a.40.2". If this is defined, it is an
error to not define contentType.media - Intended media type of the media resource. eg: "tv" or "3d-glasses"disabled - Is this media resource should not be rendered or used, this field should be set to true.
public MediaInfo(String src,
String contentType,
String codec,
String media)
MediaInfo(String, String, String, String, boolean)
public MediaInfo(String src,
String contentType,
String codec)
MediaInfo(String, String, String, String, boolean)
public MediaInfo(String src,
String contentType)
MediaInfo(String, String, String, String, boolean)public MediaInfo(String src)
MediaInfo(String, String, String, String, boolean)| Method Detail |
|---|
public String getSrc()
public String getContentType()
public String getMedia()
public String getCodec()
public boolean isDisabled()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||