Lizzy v1.1.1

christophedelory.playlist.xspf
Class Meta

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

public class Meta
extends Object

The meta element allows metadata fields to be added to XSPF elements.
Examples:

 <meta rel="http://example.org/key">value</meta>
 <meta rel="playCount">14</meta>
 <meta rel="http://example.com/track/meta/playCount/1/0/">14</meta>
 

Version:
$Revision: 92 $
Author:
Christophe Delory

Constructor Summary
Meta()
           
 
Method Summary
 String getContent()
          Returns the value of the metadata element.
 String getRel()
          Returns the URI of a resource defining the metadata.
 void setContent(String content)
          Initializes the value of the metadata element.
 void setRel(String rel)
          Initializes the URI of a resource defining the 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

getRel

public String getRel()
Returns the URI of a resource defining the metadata.

Returns:
an URI. May be null if not yet initialized.
See Also:
setRel(java.lang.String)

setRel

public void setRel(String rel)
Initializes the URI of a resource defining the metadata.

Parameters:
rel - an URI. Shall not be null.
Throws:
NullPointerException - if rel is null.
See Also:
getRel()

getContent

public String getContent()
Returns the value of the metadata element. This is plain old text or character data, not XML nor HTML, and it may not contain markup.

Returns:
a value. May be null if not yet initialized.
See Also:
setContent(java.lang.String)

setContent

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

Parameters:
content - a value. Shall not be null.
Throws:
NullPointerException - if content is null.
See Also:
getContent()

© 2008-2009 Christophe Delory

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