|
Lizzy v1.1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectchristophedelory.playlist.wpl.Head
public class Head
Contains metadata that applies to the entire playlist.
Typically the head element contains a title element and one or more meta elements that define global characteristics of the playlist.
Windows Media Player 9 Series or later.
| Constructor Summary | |
|---|---|
Head()
|
|
| Method Summary | |
|---|---|
void |
addMeta(Meta meta)
Adds the specified metadata to this SMIL header. |
Meta |
findMetaByName(String name)
Returns the first metadata found with the specified property name. |
String |
getAuthor()
Returns the playlist's author. |
List<Meta> |
getMetas()
Returns the list of metadata defined in this SMIL header. |
String |
getTitle()
Returns the playlist's title. |
boolean |
removeMetaByName(String name)
Removes all metadata found with the specified property name from the underlying list of metadata. |
void |
setAuthor(String author)
Initializes the playlist's author. |
void |
setTitle(String title)
Initializes the playlist's title. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Head()
| Method Detail |
|---|
public String getTitle()
null.setTitle(java.lang.String)public void setTitle(String title)
title - a title. May be null.getTitle()public String getAuthor()
null.setAuthor(java.lang.String)public void setAuthor(String author)
author - an author. May be null.getAuthor()public void addMeta(Meta meta)
meta - a metadata. Shall not be null.
NullPointerException - if meta is null.getMetas()public List<Meta> getMetas()
null.addMeta(christophedelory.playlist.wpl.Meta)public Meta findMetaByName(String name)
name - the property name. May be null.
null if none is found.Meta.getName(),
getMetas()public boolean removeMetaByName(String name)
name - the property name. May be null.
true if at least one metadata has been effectively removed, false otherwise.Meta.getName(),
getMetas(),
findMetaByName(java.lang.String)
|
© 2008-2009 Christophe Delory | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||