|
Lizzy v1.1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object christophedelory.playlist.wpl.Smil
public class Smil
The smil element is always the top-level element in a Windows Media Playlist (WPL) file.
It specifies that the file uses SMIL (Synchronized Multimedia Integration Language) syntax and grammar.
Every Windows Media Playlist must have the smil element at its root.
Windows Media Player 9 Series or later.
Constructor Summary | |
---|---|
Smil()
|
Method Summary | |
---|---|
Body |
getBody()
Returns the body of this SMIL presentation, if any. |
Head |
getHeader()
Returns the header of this SMIL presentation, if any. |
SpecificPlaylistProvider |
getProvider()
Returns the provider of this specific playlist. |
void |
setBody(Body body)
Initializes the body of this SMIL presentation. |
void |
setHeader(Head header)
Initializes the header of this SMIL presentation. |
void |
setProvider(SpecificPlaylistProvider provider)
Initializes the provider of this specific playlist. |
Playlist |
toPlaylist()
Builds a generic representation from this specific playlist. |
void |
writeTo(OutputStream out,
String encoding)
Writes this specific playlist to the specified output stream. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Smil()
Method Detail |
---|
public void setProvider(SpecificPlaylistProvider provider)
SpecificPlaylist
setProvider
in interface SpecificPlaylist
provider
- the provider of this playlist. Shall not be null
.SpecificPlaylist.getProvider()
public SpecificPlaylistProvider getProvider()
SpecificPlaylist
getProvider
in interface SpecificPlaylist
null
.SpecificPlaylist.setProvider(christophedelory.playlist.SpecificPlaylistProvider)
public void writeTo(OutputStream out, String encoding) throws Exception
SpecificPlaylist
writeTo
in interface SpecificPlaylist
out
- an output stream. Shall not be null
.encoding
- the content encoding of the output resource, or null
if not known.
NullPointerException
- if out
is null
.
Exception
- if any error occurs during the marshalling process.SpecificPlaylistFactory.readFrom(java.net.URL)
,
SpecificPlaylistProvider.readFrom(java.io.InputStream, java.lang.String, org.apache.commons.logging.Log)
public Playlist toPlaylist()
SpecificPlaylist
toPlaylist
in interface SpecificPlaylist
null
.SpecificPlaylistProvider.toSpecificPlaylist(christophedelory.playlist.Playlist)
public Head getHeader()
null
.setHeader(christophedelory.playlist.wpl.Head)
public void setHeader(Head header)
header
- an header element. May be null
.getHeader()
public Body getBody()
null
.setBody(christophedelory.playlist.wpl.Body)
public void setBody(Body body)
body
- a body element. May be null
.getBody()
|
© 2008-2009 Christophe Delory | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |