|
Lizzy v1.1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object christophedelory.rss.media.Player
public class Player
Allows the media object to be accessed through a web browser media player console.
Required only if a direct media url attribute is not specified in the media content element.
Example:
<media:player url="http://www.foo.com/player?id=1111" height="200" width="400"/>
Constructor Summary | |
---|---|
Player()
|
Method Summary | |
---|---|
Integer |
getHeight()
Returns the integer representing the value in pixels for the height of the video in this item. |
URI |
getURL()
Returns the URL of the player console that plays the media. |
String |
getURLString()
Returns the URL of the player console that plays the media, as a string. |
Integer |
getWidth()
Returns the integer representing the value in pixels for the width of the video in this item. |
void |
setHeight(int height)
Initializes the integer representing the value in pixels for the height of the video in this item. |
void |
setHeight(Integer height)
Initializes the integer representing the value in pixels for the height of the video in this item. |
void |
setURL(URI url)
Initializes the URL of the player console that plays the media. |
void |
setURLString(String url)
Initializes the URL of the player console that plays the media, as a string. |
void |
setWidth(int width)
Initializes the integer representing the value in pixels for the width of the video in this item. |
void |
setWidth(Integer width)
Initializes the integer representing the value in pixels for the width of the video in this item. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Player()
Method Detail |
---|
public void setURLString(String url) throws URISyntaxException
url
- an URL as a string. Shall not be null
.
NullPointerException
- if url
is null
.
URISyntaxException
- if the given string violates RFC 2396, as augmented by the URI
deviations.getURLString()
,
setURL(java.net.URI)
public String getURLString()
null
.
NullPointerException
- if no URL has been defined in this element.setURLString(java.lang.String)
,
getURL()
public void setURL(URI url)
url
- an URL. Shall not be null
.
NullPointerException
- if url
is null
.getURL()
,
setURLString(java.lang.String)
public URI getURL()
null
if not yet initialized.setURL(java.net.URI)
,
getURLString()
public void setWidth(int width)
width
- a video width.getWidth()
,
setWidth(Integer)
public void setWidth(Integer width)
width
- a video width. May be null
.getWidth()
,
setWidth(int)
public Integer getWidth()
null
.setWidth(int)
public void setHeight(int height)
height
- a video height.setHeight(Integer)
,
getHeight()
public void setHeight(Integer height)
height
- a video height. May be null
.getHeight()
,
setHeight(int)
public Integer getHeight()
null
.setHeight(int)
|
© 2008-2009 Christophe Delory | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |