Lizzy v1.1.1

christophedelory.playlist.wpl
Class Meta

java.lang.Object
  extended by christophedelory.playlist.wpl.Meta

public class Meta
extends Object

Specifies metadata that applies to the entire playlist.
Windows Media Player 9 Series or later.

Version:
$Revision: 92 $
Author:
Christophe Delory

Constructor Summary
Meta()
           
 
Method Summary
 String getContent()
          Returns the value of an item of metadata.
 String getName()
          Returns the name of an item of metadata.
 void setContent(String content)
          Initializes the value of an item of metadata.
 void setName(String name)
          Initializes the name of an item of metadata.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Meta

public Meta()
Method Detail

getName

public String getName()
Returns the name of an item of metadata.
The creator of a Windows Media Playlist can set the name attribute of a meta element to any string. The following list shows some typical name attributes that are found in Windows Media Playlists created by Windows Media Player and other Microsoft components.

Returns:
a metadata name. Shall not be null.
See Also:
setName(java.lang.String)

setName

public void setName(String name)
Initializes the name of an item of metadata.

Parameters:
name - a metadata name. Shall not be null.
Throws:
NullPointerException - if name is null.
See Also:
getName()

getContent

public String getContent()
Returns the value of an item of metadata. For example, if the name attribute is "Genre" the content attribute could be "Rock".

Returns:
a metadata value. May be null.
See Also:
setContent(java.lang.String)

setContent

public void setContent(String content)
Initializes the value of an item of metadata.

Parameters:
content - a metadata value. May be null.
See Also:
getContent()

© 2008-2009 Christophe Delory

Copyright © 2008-2009 Christophe Delory. All Rights Reserved.