Class XSPFMeta
- java.lang.Object
-
- cz.martlin.xspf.playlist.base.XSPFNode
-
- cz.martlin.xspf.playlist.base.XSPFElement
-
- cz.martlin.xspf.playlist.elements.XSPFMeta
-
public class XSPFMeta extends XSPFElement
The meta 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)StringgetContent()Returns the meta content.URIgetRel()Returns the meta rel.inthashCode()voidsetContent(String content)Sets the meta content.voidsetRel(URI rel)Sets the meta 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
-
XSPFMeta
public XSPFMeta(Element meta)
Creates instance.- Parameters:
meta- the meta element.
-
-
Method Detail
-
getRel
public URI getRel() throws XSPFException
Returns the meta rel.- Returns:
- Throws:
XSPFException
-
setRel
public void setRel(URI rel) throws XSPFException
Sets the meta rel.- Parameters:
rel-- Throws:
XSPFException
-
getContent
public String getContent() throws XSPFException
Returns the meta content.- Returns:
- Throws:
XSPFException
-
setContent
public void setContent(String content) throws XSPFException
Sets the meta content.- Parameters:
content-- Throws:
XSPFException
-
-