|
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.smil.Core christophedelory.playlist.smil.Smil
public class Smil
Acts as the root element for all SMIL Host Language conformant language profiles.
Constructor Summary | |
---|---|
Smil()
|
Method Summary | |
---|---|
void |
acceptDown(SmilVisitor visitor)
Accepts the specified SMIL playlist visitor. |
List<Reference> |
findReferencesFromRegionId(String regionId)
Finds all SMIL references assigned to the specified region. |
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 christophedelory.playlist.smil.Core |
---|
getClassName, getId, getLang, getTitle, setClassName, setId, setLang, setTitle |
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.smil.Head)
public void setHeader(Head header)
header
- an header element. May be null
.getHeader()
public Body getBody()
null
.setBody(christophedelory.playlist.smil.Body)
public void setBody(Body body)
body
- a body element. May be null
.getBody()
public void acceptDown(SmilVisitor visitor)
visitor
- a SMIL playlist visitor. Shall not be null
.
NullPointerException
- if visitor
is null
.public List<Reference> findReferencesFromRegionId(String regionId)
regionId
- a SMIL region identifier. Should not be null
.
null
.
NullPointerException
- if regionId
is null
.AbstractSmilElement.getRegionString()
|
© 2008-2009 Christophe Delory | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |