Lizzy v1.1.1

christophedelory.playlist.xspf
Class Link

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

public class Link
extends Object

The link element allows XSPF to be extended without the use of XML namespaces.
Examples:

 <link rel="http://foaf.example.org/namespace/version1">http://socialnetwork.example.org/foaf/mary.rdfs</link>
 <link rel="http://foaf.org/namespace/version1">http://socialnetwork.org/foaf/mary.rdfs</link>
 

Version:
$Revision: 92 $
Author:
Christophe Delory

Constructor Summary
Link()
           
 
Method Summary
 String getContent()
          Returns the URI of a resource.
 String getRel()
          Returns the URI of a resource type.
 void setContent(String content)
          Initializes the URI of a resource.
 void setRel(String rel)
          Initializes the URI of a resource type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Link

public Link()
Method Detail

getRel

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

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 type.

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

getContent

public String getContent()
Returns the URI of a resource.

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

setContent

public void setContent(String content)
Initializes the URI of a resource.

Parameters:
content - an URI. 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.