Class XSPFLink
- java.lang.Object
-
- cz.martlin.xspf.playlist.base.XSPFNode
-
- cz.martlin.xspf.playlist.base.XSPFElement
-
- cz.martlin.xspf.playlist.elements.XSPFLink
-
public class XSPFLink extends XSPFElement
The link element.- Author:
- martin
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class cz.martlin.xspf.playlist.base.XSPFElement
XSPFElement.XSPFCollectionFactory<E extends XSPFElement>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)URIgetContent()Gets the link content.URIgetRel()Returns the link rel.inthashCode()voidsetContent(URI rel)Sets the link content.voidsetRel(URI rel)Sets the link rel.StringtoString()-
Methods inherited from class cz.martlin.xspf.playlist.base.XSPFElement
collection, collection, getCollection, getCollection, getDate, getDuration, getElement, getInt, getNode, getStr, getStr, getUri, getUri, getUriAttr, setCollection, setCollection, setDate, setDuration, setInt, setStr, setStr, setUri, setUri, setUriAttr
-
-
-
-
Constructor Detail
-
XSPFLink
public XSPFLink(Element link)
Create instance.- Parameters:
link- the link element.
-
-
Method Detail
-
getRel
public URI getRel() throws XSPFException
Returns the link rel.- Returns:
- Throws:
XSPFException
-
setRel
public void setRel(URI rel) throws XSPFException
Sets the link rel.- Parameters:
rel-- Throws:
XSPFException
-
getContent
public URI getContent() throws XSPFException
Gets the link content.- Returns:
- Throws:
XSPFException
-
setContent
public void setContent(URI rel) throws XSPFException
Sets the link content.- Parameters:
rel-- Throws:
XSPFException
-
-