A B C D E G H I L M N O P R S T U V W X
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- add(XSPFAttribution.XSPFAttributionItem) - Method in class cz.martlin.xspf.playlist.elements.XSPFAttribution
-
Adds given item.
- add(E) - Method in class cz.martlin.xspf.playlist.base.XSPFCollection
-
Adds the given element to this collection.
- add(String, String) - Method in class cz.martlin.xspf.playlist.elements.XSPFAttribution
-
Adds item with given element name and value.
- addChild(Node, Element) - Method in class cz.martlin.xspf.util.XMLDocumentUtilityHelper
-
Adds the given child element.
- addChildElement(Node, Element) - Method in class cz.martlin.xspf.util.XMLDocumentUtility
-
Just adds the given element to the given owner.
- addChildElements(Node, Stream<Element>) - Method in class cz.martlin.xspf.util.XMLDocumentUtility
-
Just adds all the given elements to the given owner.
- ALBUM - Static variable in class cz.martlin.xspf.util.Names
- ANNOTATION - Static variable in class cz.martlin.xspf.util.Names
- APPLICATION - Static variable in class cz.martlin.xspf.util.Names
- apply(IT) - Method in interface cz.martlin.xspf.util.ExceptionWrapper.FunctionThrowing
- attribution() - Method in class cz.martlin.xspf.playlist.elements.XSPFPlaylist
-
Gets the (view of) the playlist attribution.
- ATTRIBUTION - Static variable in class cz.martlin.xspf.util.Names
B
- BaseXSPFElement - Interface in cz.martlin.xspf.playlist
-
Deprecated.
C
- clone(Element) - Method in class cz.martlin.xspf.util.XMLDocumentUtilityHelper
-
Clones the given elment.
- collection(XSPFElement.XSPFCollectionFactory<E>) - Method in class cz.martlin.xspf.playlist.base.XSPFElement
-
Returns the collection (view) mapped to this element, constructed by the given factory.
- collection(String, XSPFElement.XSPFCollectionFactory<E>) - Method in class cz.martlin.xspf.playlist.base.XSPFElement
-
Returns the collection (view) mapped to this element's child of given name, constructed by the given factory.
- consume(T) - Method in interface cz.martlin.xspf.util.ExceptionWrapper.ConsumerThrowing
- CONTENT - Static variable in class cz.martlin.xspf.util.Names
- create() - Static method in class cz.martlin.xspf.playlist.elements.XSPFFile
-
Creates empty xspf file.
- create(Element) - Method in class cz.martlin.xspf.playlist.base.XSPFCollection
-
Creates the
XSPFElementfor the given XML element. - create(Element) - Method in interface cz.martlin.xspf.playlist.base.XSPFElement.XSPFCollectionFactory
- create(Element) - Method in class cz.martlin.xspf.playlist.collections.XSPFExtensions
- create(Element) - Method in class cz.martlin.xspf.playlist.collections.XSPFLinks
- create(Element) - Method in class cz.martlin.xspf.playlist.collections.XSPFMetas
- create(Element) - Method in class cz.martlin.xspf.playlist.collections.XSPFTracks
- createEmptyDocument() - Static method in class cz.martlin.xspf.util.XMLFileLoaderStorer
-
Creates the empty XML DOM document instance.
- createExtension() - Method in class cz.martlin.xspf.playlist.collections.XSPFExtensions
-
Creates (empty) extension.
- createExtension(URI) - Method in class cz.martlin.xspf.playlist.collections.XSPFExtensions
-
Creates new extension for the given application.
- createChild(Node, String) - Method in class cz.martlin.xspf.util.XMLDocumentUtilityHelper
-
Creates (and appends) child element of the given owner.
- createLink() - Method in class cz.martlin.xspf.playlist.collections.XSPFLinks
-
Creates new (empty) link.
- createLink(URI, URI) - Method in class cz.martlin.xspf.playlist.collections.XSPFLinks
-
Creates link with given rel and content.
- createMeta() - Method in class cz.martlin.xspf.playlist.collections.XSPFMetas
-
Creates (empty) meta.
- createMeta(URI, String) - Method in class cz.martlin.xspf.playlist.collections.XSPFMetas
-
Creates the meta with given rel and content.
- createNew() - Method in class cz.martlin.xspf.playlist.base.XSPFCollection
-
Creates (but does not add to this collection yet) new element.
- createNew(Node, String) - Method in class cz.martlin.xspf.util.XMLDocumentUtilityHelper
-
Creates new element of the given name in the given context (any node or the whole document).
- createNewElement(Node, String) - Method in class cz.martlin.xspf.util.XMLDocumentUtility
-
Just creates new element in the document given by the context (the whole document including).
- createOne(String, Function<Element, T>) - Method in class cz.martlin.xspf.playlist.base.XSPFNode
- createTrack() - Method in class cz.martlin.xspf.playlist.collections.XSPFTracks
-
Creates (empty) track.
- createTrack(URI) - Method in class cz.martlin.xspf.playlist.collections.XSPFTracks
-
Creates track with given location.
- createTrack(URI, String) - Method in class cz.martlin.xspf.playlist.collections.XSPFTracks
-
Creates track with given location and title.
- createTrack(URI, String, int, Duration) - Method in class cz.martlin.xspf.playlist.collections.XSPFTracks
-
Creates track with given location, title trackNum and duration.
- createTrack(URI, String, String, String, int, Duration) - Method in class cz.martlin.xspf.playlist.collections.XSPFTracks
-
Creates track with given location, creator, album, title, trackNum and duration.
- CREATOR - Static variable in class cz.martlin.xspf.util.Names
- cz.martlin.xspf.playlist - package cz.martlin.xspf.playlist
- cz.martlin.xspf.playlist.base - package cz.martlin.xspf.playlist.base
-
The all the abstract superclasses in the xspf-playlist.
- cz.martlin.xspf.playlist.collections - package cz.martlin.xspf.playlist.collections
-
The implementations of the collections, subclasses of the
XSPFCollection. - cz.martlin.xspf.playlist.elements - package cz.martlin.xspf.playlist.elements
-
The actual xspf file elements (playlist, track, ...) implementation.
- cz.martlin.xspf.util - package cz.martlin.xspf.util
-
All the utilities and helper classes.
- checked(XMLDocumentUtilityHelper.NonNullTextToValueMapper<T>) - Static method in interface cz.martlin.xspf.util.XMLDocumentUtilityHelper.NullableTextToValueMapper
-
Encapsulates the given
XMLDocumentUtilityHelper.NonNullTextToValueMapperto beXMLDocumentUtilityHelper.NullableTextToValueMapper. - checked(XMLDocumentUtilityHelper.NonNullValueToTextMapper<T>) - Static method in interface cz.martlin.xspf.util.XMLDocumentUtilityHelper.NullableValueToTextMapper
-
Encapsulates the given
XMLDocumentUtilityHelper.NonNullValueToTextMapperto beXMLDocumentUtilityHelper.NullableValueToTextMapper.
D
- DATE - Static variable in class cz.martlin.xspf.util.Names
- DURATION - Static variable in class cz.martlin.xspf.util.Names
E
- element - Variable in class cz.martlin.xspf.playlist.elements.XSPFAttribution.XSPFAttributionItem
-
Th element name.
- elemName() - Method in class cz.martlin.xspf.playlist.base.XSPFCollection
-
Returns the element name of the children.
- elemName() - Method in class cz.martlin.xspf.playlist.collections.XSPFExtensions
- elemName() - Method in class cz.martlin.xspf.playlist.collections.XSPFLinks
- elemName() - Method in class cz.martlin.xspf.playlist.collections.XSPFMetas
- elemName() - Method in class cz.martlin.xspf.playlist.collections.XSPFTracks
- equals(Object) - Method in class cz.martlin.xspf.playlist.base.XSPFCollection
- equals(Object) - Method in class cz.martlin.xspf.playlist.base.XSPFCommon
- equals(Object) - Method in class cz.martlin.xspf.playlist.elements.XSPFAttribution
- equals(Object) - Method in class cz.martlin.xspf.playlist.elements.XSPFAttribution.XSPFAttributionItem
- equals(Object) - Method in class cz.martlin.xspf.playlist.elements.XSPFExtension
- equals(Object) - Method in class cz.martlin.xspf.playlist.elements.XSPFFile
- equals(Object) - Method in class cz.martlin.xspf.playlist.elements.XSPFLink
- equals(Object) - Method in class cz.martlin.xspf.playlist.elements.XSPFMeta
- equals(Object) - Method in class cz.martlin.xspf.playlist.elements.XSPFPlaylist
- equals(Object) - Method in class cz.martlin.xspf.playlist.elements.XSPFTrack
- ExceptionWrapper - Class in cz.martlin.xspf.util
-
An utility, which encapsulates the checked
XSPFExceptionto unceckedXSPFRuntimeExceptionin context, where the checked exception is not allowed. - ExceptionWrapper() - Constructor for class cz.martlin.xspf.util.ExceptionWrapper
- ExceptionWrapper.ConsumerThrowing<T> - Interface in cz.martlin.xspf.util
-
An
Consumer, but with throwing exception. - ExceptionWrapper.FunctionThrowing<IT,OT> - Interface in cz.martlin.xspf.util
-
An
Function, but with throwing exception. - ExceptionWrapper.PredicateThrowing<T> - Interface in cz.martlin.xspf.util
-
An
Predicate, but with throwing exception. - extension(URI) - Method in class cz.martlin.xspf.playlist.collections.XSPFExtensions
-
Finds the extension for the given application.
- EXTENSION - Static variable in class cz.martlin.xspf.util.Names
- extensions() - Method in class cz.martlin.xspf.playlist.base.XSPFCommon
-
Returns the playlist/track extensions (as view).
G
- getAlbum() - Method in class cz.martlin.xspf.playlist.elements.XSPFTrack
-
Returns the track album.
- getAll(String, Function<Element, T>) - Method in class cz.martlin.xspf.playlist.base.XSPFNode
- getAnnotation() - Method in class cz.martlin.xspf.playlist.base.XSPFCommon
-
Returns the playlist/track annotation.
- getAnnotation() - Method in interface cz.martlin.xspf.playlist.BaseXSPFElement
-
Deprecated.
- getApplication() - Method in class cz.martlin.xspf.playlist.elements.XSPFExtension
-
Returns the application.
- getAttribution() - Method in interface cz.martlin.xspf.playlist.BaseXSPFElement
-
Deprecated.
- getAttribution() - Method in class cz.martlin.xspf.playlist.elements.XSPFPlaylist
-
Gets (copy of) the playlist attribution.
- getAttrValue(Element, String) - Method in class cz.martlin.xspf.util.XMLDocumentUtilityHelper
-
Returns the value of the given element's attribute.
- getAttrValueOrNull(Element, String) - Method in class cz.martlin.xspf.util.XMLDocumentUtilityHelper
-
Returns the value of the given element's attribute.
- getCollection(XSPFElement.XSPFCollectionFactory<E>) - Method in class cz.martlin.xspf.playlist.base.XSPFElement
-
Returns the collection (clone) mapped to this element, constructed by the given factory.
- getCollection(String, XSPFElement.XSPFCollectionFactory<E>) - Method in class cz.martlin.xspf.playlist.base.XSPFElement
-
Returns the collection (clone) mapped to this element's child of given name, constructed by the given factory.
- getContent() - Method in class cz.martlin.xspf.playlist.collections.XSPFLink
- getContent() - Method in class cz.martlin.xspf.playlist.elements.XSPFLink
-
Gets the link content.
- getContent() - Method in class cz.martlin.xspf.playlist.elements.XSPFMeta
-
Returns the meta content.
- getCreator() - Method in class cz.martlin.xspf.playlist.base.XSPFCommon
-
Returns the playlist/track creator.
- getCreator() - Method in interface cz.martlin.xspf.playlist.BaseXSPFElement
-
Deprecated.
- getDate() - Method in interface cz.martlin.xspf.playlist.BaseXSPFElement
-
Deprecated.
- getDate() - Method in class cz.martlin.xspf.playlist.elements.XSPFPlaylist
-
Returns the playlist date.
- getDate(String) - Method in class cz.martlin.xspf.playlist.base.XSPFElement
-
Gets datetime contents of this element's child of given name.
- getDocument() - Method in class cz.martlin.xspf.playlist.elements.XSPFFile
-
Returns the playlist XML document.
- getDuration() - Method in class cz.martlin.xspf.playlist.elements.XSPFTrack
-
Returns the track duration.
- getDuration(String) - Method in class cz.martlin.xspf.playlist.base.XSPFElement
-
Gets duration contents of this element's child of given name.
- getElemClone(Element) - Method in class cz.martlin.xspf.util.XMLDocumentUtility
-
Returns the copy of the given element.
- getElement() - Method in class cz.martlin.xspf.playlist.base.XSPFElement
-
Returns the element.
- getElement() - Method in class cz.martlin.xspf.playlist.elements.XSPFExtension
- getElementAttr(Element, String) - Method in class cz.martlin.xspf.util.XSPFDocumentUtility
- getElementAttr(Element, String, XSPFDocumentUtility.TextToValueMapper<T>) - Method in class cz.martlin.xspf.util.XSPFDocumentUtility
- getElementAttrOrNull(Element, String, XMLDocumentUtilityHelper.NullableTextToValueMapper<T>) - Method in class cz.martlin.xspf.util.XMLDocumentUtility
-
Returns the value of the given element attribute of given name, converted by given mapper.
- getElementText(Element, String) - Method in class cz.martlin.xspf.util.XSPFDocumentUtility
- getElementValue(Element) - Method in class cz.martlin.xspf.util.XMLDocumentUtilityHelper
-
Returns the value of the given element's content.
- getElementValue(Element, XSPFDocumentUtility.TextToValueMapper<T>) - Method in class cz.martlin.xspf.util.XSPFDocumentUtility
- getElementValue(Element, String, XSPFDocumentUtility.TextToValueMapper<T>) - Method in class cz.martlin.xspf.util.XSPFDocumentUtility
- getElementValueOrNull(Element) - Method in class cz.martlin.xspf.util.XMLDocumentUtilityHelper
-
Returns the value of the given element's content.
- getElementValueOrNull(Element, XMLDocumentUtilityHelper.NullableTextToValueMapper<T>) - Method in class cz.martlin.xspf.util.XMLDocumentUtility
-
Returns the value of the given element, converted by given mapper.
- getExtension() - Method in interface cz.martlin.xspf.playlist.BaseXSPFElement
-
Deprecated.
- getExtensions() - Method in class cz.martlin.xspf.playlist.base.XSPFCommon
-
Returns the playlist/track extensions (as copy).
- getChildElem(Element, String) - Method in class cz.martlin.xspf.util.XSPFDocumentUtility
- getChildElemCloneOrNull(Node, String) - Method in class cz.martlin.xspf.util.XMLDocumentUtility
-
Returns the copy of the child element of the given name of the given owner.
- getChildElementValueOrNull(Element, String, XMLDocumentUtilityHelper.NullableTextToValueMapper<T>) - Method in class cz.martlin.xspf.util.XMLDocumentUtility
-
Returns the value of the given element child of given name, converted by given mapper.
- getChildElemOrNull(Node, String) - Method in class cz.martlin.xspf.util.XMLDocumentUtility
-
Returns the child element of the given name of the given owner.
- getChildOrNull(Node, String) - Method in class cz.martlin.xspf.util.XMLDocumentUtilityHelper
-
Returns the child element of the given owner.
- getChildren(Node, String) - Method in class cz.martlin.xspf.util.XMLDocumentUtilityHelper
-
Returns the child elements of the given owner (having given name).
- getIdentifier() - Method in class cz.martlin.xspf.playlist.base.XSPFCommon
-
Returns the playlist/track identifier.
- getIdentifier() - Method in interface cz.martlin.xspf.playlist.BaseXSPFElement
-
Deprecated.
- getImage() - Method in class cz.martlin.xspf.playlist.base.XSPFCommon
-
Returns the playlist/track image.
- getImage() - Method in interface cz.martlin.xspf.playlist.BaseXSPFElement
-
Deprecated.
- getInfo() - Method in class cz.martlin.xspf.playlist.base.XSPFCommon
-
Returns the playlist/track info.
- getInfo() - Method in interface cz.martlin.xspf.playlist.BaseXSPFElement
-
Deprecated.
- getInt(String) - Method in class cz.martlin.xspf.playlist.base.XSPFElement
-
Gets integer contents of this element's child of given name.
- getLicence() - Method in interface cz.martlin.xspf.playlist.BaseXSPFElement
-
Deprecated.
- getLicense() - Method in class cz.martlin.xspf.playlist.elements.XSPFPlaylist
-
Returns the playlist license.
- getLinks() - Method in class cz.martlin.xspf.playlist.base.XSPFCommon
-
Returns the playlist/track links (as a copy).
- getLinks() - Method in interface cz.martlin.xspf.playlist.BaseXSPFElement
-
Deprecated.
- getLocation() - Method in class cz.martlin.xspf.playlist.base.XSPFCommon
-
Returns the playlist/track location.
- getLocation() - Method in interface cz.martlin.xspf.playlist.BaseXSPFElement
-
Deprecated.
- getMetas() - Method in class cz.martlin.xspf.playlist.base.XSPFCommon
-
Returns the playlist/track metas (as a copy).
- getMetas() - Method in interface cz.martlin.xspf.playlist.BaseXSPFElement
-
Deprecated.
- getNode() - Method in class cz.martlin.xspf.playlist.base.XSPFElement
- getNode() - Method in class cz.martlin.xspf.playlist.base.XSPFNode
- getNode() - Method in class cz.martlin.xspf.playlist.elements.XSPFFile
- getOne(String, Function<Element, T>) - Method in class cz.martlin.xspf.playlist.base.XSPFNode
- getOrCreateChild(Node, String) - Method in class cz.martlin.xspf.util.XMLDocumentUtilityHelper
-
Returns the child element of the given owner.
- getOrCreateChildElem(Element, String) - Method in class cz.martlin.xspf.util.XSPFDocumentUtility
- getOrCreateChildElem(Node, String) - Method in class cz.martlin.xspf.util.XMLDocumentUtility
-
Returns the child element of the given name of the given owner.
- getOrCreateRootElem(Document, String) - Method in class cz.martlin.xspf.util.XSPFDocumentUtility
- getPlaylist() - Method in class cz.martlin.xspf.playlist.elements.XSPFFile
-
Returns the (copy of) the playlist.
- getRel() - Method in class cz.martlin.xspf.playlist.collections.XSPFLink
- getRel() - Method in class cz.martlin.xspf.playlist.elements.XSPFLink
-
Returns the link rel.
- getRel() - Method in class cz.martlin.xspf.playlist.elements.XSPFMeta
-
Returns the meta rel.
- getRootElem(Document, String) - Method in class cz.martlin.xspf.util.XSPFDocumentUtility
- getStr() - Method in class cz.martlin.xspf.playlist.base.XSPFElement
-
Returns actual element's string contents.
- getStr(String) - Method in class cz.martlin.xspf.playlist.base.XSPFElement
-
Get string contents of this element's child of given name.
- getTitle() - Method in class cz.martlin.xspf.playlist.base.XSPFCommon
-
Returns the playlist/track title.
- getTitle() - Method in interface cz.martlin.xspf.playlist.BaseXSPFElement
-
Deprecated.
- getTrackNum() - Method in class cz.martlin.xspf.playlist.elements.XSPFTrack
-
Returns the trackNum.
- getTracks() - Method in class cz.martlin.xspf.playlist.elements.XSPFPlaylist
-
Returns the (copy of) the tracks.
- getUri() - Method in class cz.martlin.xspf.playlist.base.XSPFElement
-
Gets uri contents of this element.
- getUri(String) - Method in class cz.martlin.xspf.playlist.base.XSPFElement
-
Gets uri contents of this element's child of given name.
- getUriAttr(String) - Method in class cz.martlin.xspf.playlist.base.XSPFElement
-
Gets uri contents of this element's attribute of given name.
- getUtil() - Method in interface cz.martlin.xspf.playlist.BaseXSPFElement
-
Deprecated.
- getUtility(String, String) - Method in class cz.martlin.xspf.playlist.elements.XSPFExtension
-
Returns the utility for the given extension.
H
- hashCode() - Method in class cz.martlin.xspf.playlist.base.XSPFCollection
- hashCode() - Method in class cz.martlin.xspf.playlist.base.XSPFCommon
- hashCode() - Method in class cz.martlin.xspf.playlist.elements.XSPFAttribution
- hashCode() - Method in class cz.martlin.xspf.playlist.elements.XSPFAttribution.XSPFAttributionItem
- hashCode() - Method in class cz.martlin.xspf.playlist.elements.XSPFExtension
- hashCode() - Method in class cz.martlin.xspf.playlist.elements.XSPFFile
- hashCode() - Method in class cz.martlin.xspf.playlist.elements.XSPFLink
- hashCode() - Method in class cz.martlin.xspf.playlist.elements.XSPFMeta
- hashCode() - Method in class cz.martlin.xspf.playlist.elements.XSPFPlaylist
- hashCode() - Method in class cz.martlin.xspf.playlist.elements.XSPFTrack
- hasChildren(Node, String) - Method in class cz.martlin.xspf.util.XMLDocumentUtilityHelper
-
Returns true whether the given owner has any child elements having the given name.
I
- IDENTIFIER - Static variable in class cz.martlin.xspf.util.Names
- IMAGE - Static variable in class cz.martlin.xspf.util.Names
- INFO - Static variable in class cz.martlin.xspf.util.Names
- init(Document) - Method in class cz.martlin.xspf.util.XSPFDocumentUtility
- iterate() - Method in class cz.martlin.xspf.playlist.base.XSPFCollection
-
Returns iterable version of this collection.
L
- LICENSE - Static variable in class cz.martlin.xspf.util.Names
- link(URI) - Method in class cz.martlin.xspf.playlist.collections.XSPFLinks
-
Returns link having the given rel.
- LINK - Static variable in class cz.martlin.xspf.util.Names
- links() - Method in class cz.martlin.xspf.playlist.base.XSPFCommon
-
Returns the playlist/track links (as a view).
- list() - Method in class cz.martlin.xspf.playlist.base.XSPFCollection
-
Returns the
Streamcontaining all the elements inside of this collection. - list() - Method in class cz.martlin.xspf.playlist.elements.XSPFAttribution
-
Lists the items.
- listChildrenElems(Element, String) - Method in class cz.martlin.xspf.util.XSPFDocumentUtility
- listChildrenElems(Node) - Method in class cz.martlin.xspf.util.XMLDocumentUtility
-
Lists all the children of the given container node (element or document).
- listChildrenElems(Node, String) - Method in class cz.martlin.xspf.util.XMLDocumentUtility
-
Lists the children of the given name of the given container node (element or document).
- listChildrenElemsClones(Node, String) - Method in class cz.martlin.xspf.util.XMLDocumentUtility
-
Lists the copies of the children of the given name of the given container node (element or document).
- load(File) - Static method in class cz.martlin.xspf.playlist.elements.XSPFFile
-
Loads the XSPF playlist from the given file.
- loadDocument(File) - Static method in class cz.martlin.xspf.util.XMLFileLoaderStorer
-
Loads the XML DOM document from the given file.
- LOCATION - Static variable in class cz.martlin.xspf.util.Names
M
- meta(URI) - Method in class cz.martlin.xspf.playlist.collections.XSPFMetas
-
Returns meta having the given rel.
- META - Static variable in class cz.martlin.xspf.util.Names
- metas() - Method in class cz.martlin.xspf.playlist.base.XSPFCommon
-
Returns the playlist/track metas (as a view).
N
- Names - Class in cz.martlin.xspf.util
-
Just the list of all the elements and attribute names.
- Names() - Constructor for class cz.martlin.xspf.util.Names
- newAttribution() - Method in class cz.martlin.xspf.playlist.elements.XSPFFile
-
Creates new attribution.
- newExtensions() - Method in class cz.martlin.xspf.playlist.elements.XSPFFile
-
Creates new collection of extensions.
- newLinks() - Method in class cz.martlin.xspf.playlist.elements.XSPFFile
-
Creates new collection of links.
- newMetas() - Method in class cz.martlin.xspf.playlist.elements.XSPFFile
-
Creates new collection of metas.
- newPlaylist() - Method in class cz.martlin.xspf.playlist.elements.XSPFFile
-
Creates new playlist.
- newTracks() - Method in class cz.martlin.xspf.playlist.elements.XSPFFile
-
Creates new collection of tracks.
O
- one(String, Function<Element, T>) - Method in class cz.martlin.xspf.playlist.base.XSPFNode
P
- playlist() - Method in class cz.martlin.xspf.playlist.elements.XSPFFile
-
Return the (view of) the playlist.
- PLAYLIST - Static variable in class cz.martlin.xspf.util.Names
- print(int, String, XSPFExtensions) - Static method in class cz.martlin.xspf.util.Printer
-
Prints the given extensions with given label and padding.
- print(int, String, XSPFLinks) - Static method in class cz.martlin.xspf.util.Printer
-
Prints the given links with given label and padding.
- print(int, String, XSPFMetas) - Static method in class cz.martlin.xspf.util.Printer
-
Prints the given metas with given label and padding.
- print(int, String, XSPFTracks) - Static method in class cz.martlin.xspf.util.Printer
-
Prints the given tracks with given label and padding.
- print(int, String, XSPFAttribution) - Static method in class cz.martlin.xspf.util.Printer
-
Prints the given attribution with given label and padding.
- print(int, String, XSPFExtension) - Static method in class cz.martlin.xspf.util.Printer
-
Prints the given extension with given label and padding.
- print(int, String, XSPFFile) - Static method in class cz.martlin.xspf.util.Printer
-
Prints the given file with given label and padding.
- print(int, String, XSPFLink) - Static method in class cz.martlin.xspf.util.Printer
-
Prints the given link with given label and padding.
- print(int, String, XSPFMeta) - Static method in class cz.martlin.xspf.util.Printer
-
Prints the given meta with given label and padding.
- print(int, String, XSPFPlaylist) - Static method in class cz.martlin.xspf.util.Printer
-
Prints the given plůaylist with given label and padding.
- print(int, String, XSPFTrack) - Static method in class cz.martlin.xspf.util.Printer
-
Prints the given track with given label and padding.
- Printer - Class in cz.martlin.xspf.util
-
Helper class for printing all the
XSPFElements orXSPFCollections. - Printer() - Constructor for class cz.martlin.xspf.util.Printer
R
- register(Element) - Method in class cz.martlin.xspf.util.XMLDocumentUtility
-
Registers given element to this utility (populates he namespace).
- REL - Static variable in class cz.martlin.xspf.util.Names
- remove(E) - Method in class cz.martlin.xspf.playlist.base.XSPFCollection
-
Removes the given element from this collection.
- removeChild(Node, Element) - Method in class cz.martlin.xspf.util.XMLDocumentUtilityHelper
-
Removes the given child element.
- removeChildElement(Node, String) - Method in class cz.martlin.xspf.util.XMLDocumentUtility
-
Removes one child element of the given name of the given owner.
- removeChildElement(Node, Element) - Method in class cz.martlin.xspf.util.XMLDocumentUtility
-
Just removes the given element from the given owner.
- removeChildElements(Node, String) - Method in class cz.martlin.xspf.util.XMLDocumentUtility
-
Removes all child elements of the given name of the given owner.
- removeChildElements(Node, Stream<Element>) - Method in class cz.martlin.xspf.util.XMLDocumentUtility
-
Just removes the given elements from the given owner.
- replaceAllChildren(Element, String, List<Element>) - Method in class cz.martlin.xspf.util.XSPFDocumentUtility
- replaceChildElem(Element, String) - Method in class cz.martlin.xspf.util.XSPFDocumentUtility
- replaceChildElem(Element, String, Element) - Method in class cz.martlin.xspf.util.XSPFDocumentUtility
- replaceChildElement(Node, String, Element) - Method in class cz.martlin.xspf.util.XMLDocumentUtility
-
Replaces one child element of the given name of the given owner with the another one.
- replaceChildElement(Node, Element, Element) - Method in class cz.martlin.xspf.util.XMLDocumentUtility
-
Just replaces the given element with another one.
- replaceChildElementByClone(Node, String, Element) - Method in class cz.martlin.xspf.util.XMLDocumentUtility
-
Replaces one child element of the given name of the given owner with the clone of another one.
- replaceChildElements(Node, String, Stream<Element>) - Method in class cz.martlin.xspf.util.XMLDocumentUtility
-
Replaces all child elements of the given name of the given owner with the another ones.
- replaceChildElements(Node, Stream<Element>, Stream<Element>) - Method in class cz.martlin.xspf.util.XMLDocumentUtility
-
Just replaces the given elements by another ones.
- replaceChildElementsByClone(Node, String, Stream<Element>) - Method in class cz.martlin.xspf.util.XMLDocumentUtility
-
Replaces all child elements of the given name of the given owner with the clone of another ones.
S
- save(File) - Method in class cz.martlin.xspf.playlist.elements.XSPFFile
-
Saves this xspf file to the given file.
- saveDocument(Document, File) - Static method in class cz.martlin.xspf.util.XMLFileLoaderStorer
-
Saves the XML DOM document to the given file.
- setAlbum(String) - Method in class cz.martlin.xspf.playlist.elements.XSPFTrack
-
Sets the track album.
- setAll(String, List<T>) - Method in class cz.martlin.xspf.playlist.base.XSPFNode
- setAnnotation(String) - Method in class cz.martlin.xspf.playlist.base.XSPFCommon
-
Sets the playlist/track annotation.
- setAnnotation(String) - Method in interface cz.martlin.xspf.playlist.BaseXSPFElement
-
Deprecated.
- setApplication(URI) - Method in class cz.martlin.xspf.playlist.elements.XSPFExtension
-
Sets the application.
- setAttribution(XSPFAttribution) - Method in class cz.martlin.xspf.playlist.elements.XSPFPlaylist
-
Sets the (copy of) playlist attribution.
- setAttrValue(Element, String, String) - Method in class cz.martlin.xspf.util.XMLDocumentUtilityHelper
-
Sets the value of the given element's attribute.
- setCollection(XSPFCollection<E>) - Method in class cz.martlin.xspf.playlist.base.XSPFElement
-
Sets the collection (clone) mapped to this element.
- setCollection(String, XSPFCollection<E>) - Method in class cz.martlin.xspf.playlist.base.XSPFElement
-
Sets the collection (clone) mapped to this element's child of given name.
- setContent(String) - Method in class cz.martlin.xspf.playlist.elements.XSPFMeta
-
Sets the meta content.
- setContent(URI) - Method in class cz.martlin.xspf.playlist.collections.XSPFLink
- setContent(URI) - Method in class cz.martlin.xspf.playlist.elements.XSPFLink
-
Sets the link content.
- setCreator(String) - Method in class cz.martlin.xspf.playlist.base.XSPFCommon
-
Sets the playlist/track creator.
- setCreator(String) - Method in interface cz.martlin.xspf.playlist.BaseXSPFElement
-
Deprecated.
- setDate(String, LocalDateTime) - Method in class cz.martlin.xspf.playlist.base.XSPFElement
-
Sets datetime contents of this element's child of given name.
- setDate(LocalDateTime) - Method in interface cz.martlin.xspf.playlist.BaseXSPFElement
-
Deprecated.
- setDate(LocalDateTime) - Method in class cz.martlin.xspf.playlist.elements.XSPFPlaylist
-
Sets the playlist date.
- setDuration(String, Duration) - Method in class cz.martlin.xspf.playlist.base.XSPFElement
-
Sets duration contents of this element's child of given name.
- setDuration(Duration) - Method in class cz.martlin.xspf.playlist.elements.XSPFTrack
-
Sets the track duration.
- setElementAttr(Element, String, String) - Method in class cz.martlin.xspf.util.XSPFDocumentUtility
- setElementAttr(Element, String, T, XMLDocumentUtilityHelper.NullableValueToTextMapper<T>) - Method in class cz.martlin.xspf.util.XMLDocumentUtility
-
Sets the value of the given element attribute of given name, converted by given mapper.
- setElementAttr(Element, String, T, XSPFDocumentUtility.ValueToTextMapper<T>) - Method in class cz.martlin.xspf.util.XSPFDocumentUtility
- setElementText(Element, String, String) - Method in class cz.martlin.xspf.util.XSPFDocumentUtility
- setElementValue(Element, String) - Method in class cz.martlin.xspf.util.XMLDocumentUtilityHelper
-
Sets the value of the given element's content.
- setElementValue(Element, String, T, XSPFDocumentUtility.ValueToTextMapper<T>) - Method in class cz.martlin.xspf.util.XSPFDocumentUtility
- setElementValue(Element, T, XMLDocumentUtilityHelper.NullableValueToTextMapper<T>) - Method in class cz.martlin.xspf.util.XMLDocumentUtility
-
Sets the value of the given element, converted by given mapper.
- setElementValue(Element, T, XSPFDocumentUtility.ValueToTextMapper<T>) - Method in class cz.martlin.xspf.util.XSPFDocumentUtility
- setExtensions(XSPFExtensions) - Method in class cz.martlin.xspf.playlist.base.XSPFCommon
-
Sets the (copy of the) playlist/track extensions.
- setChildElementValue(Element, String, T, XMLDocumentUtilityHelper.NullableValueToTextMapper<T>) - Method in class cz.martlin.xspf.util.XMLDocumentUtility
-
Sets the value of the given element child of given name, converted by given mapper.
- setIdentifier(URI) - Method in class cz.martlin.xspf.playlist.base.XSPFCommon
-
Sets the playlist/track identifier.
- setIdentifier(URI) - Method in interface cz.martlin.xspf.playlist.BaseXSPFElement
-
Deprecated.
- setImage(URI) - Method in class cz.martlin.xspf.playlist.base.XSPFCommon
-
Sets the playlist/track image.
- setImage(URI) - Method in interface cz.martlin.xspf.playlist.BaseXSPFElement
-
Deprecated.
- setInfo(URI) - Method in class cz.martlin.xspf.playlist.base.XSPFCommon
-
Sets the playlist/track info.
- setInfo(URI) - Method in interface cz.martlin.xspf.playlist.BaseXSPFElement
-
Deprecated.
- setInt(String, int) - Method in class cz.martlin.xspf.playlist.base.XSPFElement
-
Set integer contents of this element's child of given name.
- setLicence(URI) - Method in interface cz.martlin.xspf.playlist.BaseXSPFElement
-
Deprecated.
- setLicense(URI) - Method in class cz.martlin.xspf.playlist.elements.XSPFPlaylist
-
Sets the playlist license.
- setLinks(XSPFLinks) - Method in class cz.martlin.xspf.playlist.base.XSPFCommon
-
Sets the (copy of) the playlist/track links.
- setLocation(URI) - Method in class cz.martlin.xspf.playlist.base.XSPFCommon
-
Sets the playlist/track location.
- setLocation(URI) - Method in interface cz.martlin.xspf.playlist.BaseXSPFElement
-
Deprecated.
- setMetas(XSPFMetas) - Method in class cz.martlin.xspf.playlist.base.XSPFCommon
-
Sets (copy of) the playlist/track metas.
- setOne(String, T) - Method in class cz.martlin.xspf.playlist.base.XSPFNode
- setPlaylist(XSPFPlaylist) - Method in class cz.martlin.xspf.playlist.elements.XSPFFile
-
Sets the (copy of) the playlist.
- setRel(URI) - Method in class cz.martlin.xspf.playlist.collections.XSPFLink
- setRel(URI) - Method in class cz.martlin.xspf.playlist.elements.XSPFLink
-
Sets the link rel.
- setRel(URI) - Method in class cz.martlin.xspf.playlist.elements.XSPFMeta
-
Sets the meta rel.
- setStr(String) - Method in class cz.martlin.xspf.playlist.base.XSPFElement
-
Sets actual element's string contents.
- setStr(String, String) - Method in class cz.martlin.xspf.playlist.base.XSPFElement
-
Sets string contents of this element's child of given name.
- setTitle(String) - Method in class cz.martlin.xspf.playlist.base.XSPFCommon
-
Sets the playlist/track title.
- setTitle(String) - Method in interface cz.martlin.xspf.playlist.BaseXSPFElement
-
Deprecated.
- setTrackNum(int) - Method in class cz.martlin.xspf.playlist.elements.XSPFTrack
-
Sets the trackNum.
- setTracks(XSPFTracks) - Method in class cz.martlin.xspf.playlist.elements.XSPFPlaylist
-
Set the (copy of) the tracks.
- setUri(String, URI) - Method in class cz.martlin.xspf.playlist.base.XSPFElement
-
Sets uri contents of this element's child of given name.
- setUri(URI) - Method in class cz.martlin.xspf.playlist.base.XSPFElement
-
Sets uri contents of this element.
- setUriAttr(String, URI) - Method in class cz.martlin.xspf.playlist.base.XSPFElement
-
Sets uri contents of this element's attribute of given name.
- size() - Method in class cz.martlin.xspf.playlist.base.XSPFCollection
-
Returns the count of elements in this collection.
- specifyNSattribute(Element) - Method in class cz.martlin.xspf.util.XMLDocumentUtilityHelper
-
Sets the namespace declaration attribute to the given element.
- STRING_TO_TEXT - Static variable in interface cz.martlin.xspf.util.XMLDocumentUtilityHelper.NonNullValueToTextMapper
-
An identity (i.e. empty) mapping.
- STRING_TO_TEXT - Static variable in interface cz.martlin.xspf.util.XMLDocumentUtilityHelper.NullableValueToTextMapper
-
An identity (i.e. empty) mapping.
T
- test(T) - Method in interface cz.martlin.xspf.util.ExceptionWrapper.PredicateThrowing
- TEXT_TO_STRING - Static variable in interface cz.martlin.xspf.util.XMLDocumentUtilityHelper.NonNullTextToValueMapper
-
An identity (i.e. empty) mapping.
- TEXT_TO_STRING - Static variable in interface cz.martlin.xspf.util.XMLDocumentUtilityHelper.NullableTextToValueMapper
-
An identity (i.e. empty) mapping.
- textOrNullToValue(String) - Method in interface cz.martlin.xspf.util.XMLDocumentUtilityHelper.NullableTextToValueMapper
-
Converts the given (possibly null) text to the particular value.
- textToValue(String) - Method in interface cz.martlin.xspf.util.XMLDocumentUtilityHelper.NonNullTextToValueMapper
-
Converts the given (non-null) text to the particular value.
- textToValue(String) - Method in interface cz.martlin.xspf.util.XSPFDocumentUtility.TextToValueMapper
- textToValue(String, XMLDocumentUtilityHelper.NullableTextToValueMapper<T>) - Method in class cz.martlin.xspf.util.XMLDocumentUtilityHelper
-
Converts the given text to value of particular type by the given mapper.
- TITLE - Static variable in class cz.martlin.xspf.util.Names
- toString() - Method in class cz.martlin.xspf.playlist.base.XSPFCollection
- toString() - Method in class cz.martlin.xspf.playlist.elements.XSPFAttribution
- toString() - Method in class cz.martlin.xspf.playlist.elements.XSPFAttribution.XSPFAttributionItem
- toString() - Method in class cz.martlin.xspf.playlist.elements.XSPFExtension
- toString() - Method in class cz.martlin.xspf.playlist.elements.XSPFFile
- toString() - Method in class cz.martlin.xspf.playlist.elements.XSPFLink
- toString() - Method in class cz.martlin.xspf.playlist.elements.XSPFMeta
- toString() - Method in class cz.martlin.xspf.playlist.elements.XSPFPlaylist
- toString() - Method in class cz.martlin.xspf.playlist.elements.XSPFTrack
- track(int) - Method in class cz.martlin.xspf.playlist.collections.XSPFTracks
-
Returns track having the given trackNum.
- track(String) - Method in class cz.martlin.xspf.playlist.collections.XSPFTracks
-
Returns track having the given title.
- TRACK - Static variable in class cz.martlin.xspf.util.Names
- TRACK_LIST - Static variable in class cz.martlin.xspf.util.Names
- TRACK_NUM - Static variable in class cz.martlin.xspf.util.Names
- tracks() - Method in class cz.martlin.xspf.playlist.elements.XSPFPlaylist
-
Returns the (view of) the tracks.
U
V
- value - Variable in class cz.martlin.xspf.playlist.elements.XSPFAttribution.XSPFAttributionItem
-
The element value.
- valueOrNullToText(T) - Method in interface cz.martlin.xspf.util.XMLDocumentUtilityHelper.NullableValueToTextMapper
-
Converts the given (possibly null) java object to the xml text.
- valueToText(T) - Method in interface cz.martlin.xspf.util.XMLDocumentUtilityHelper.NonNullValueToTextMapper
-
Converts the given (non-null) java object to the xml text.
- valueToText(T) - Method in interface cz.martlin.xspf.util.XSPFDocumentUtility.ValueToTextMapper
- valueToText(T, XMLDocumentUtilityHelper.NullableValueToTextMapper<T>) - Method in class cz.martlin.xspf.util.XMLDocumentUtilityHelper
-
Converts the given value of particular type to text by the given mapper.
- VERSION - Static variable in class cz.martlin.xspf.util.Names
W
- wrapConsumer(ExceptionWrapper.ConsumerThrowing<T>) - Static method in class cz.martlin.xspf.util.ExceptionWrapper
-
Wraps the given consumer (returns consumer catching all its exceptions and rethrowing as
XSPFRuntimeException). - wrapFunction(ExceptionWrapper.FunctionThrowing<IT, OT>) - Static method in class cz.martlin.xspf.util.ExceptionWrapper
-
Wraps the given function (returns function catching all its exceptions and rethrowing as
XSPFRuntimeException). - wrapPredicate(ExceptionWrapper.PredicateThrowing<T>) - Static method in class cz.martlin.xspf.util.ExceptionWrapper
-
Wraps the given predicated (returns predicate catching all its exceptions and rethrowing as
XSPFRuntimeException).
X
- XMLDocumentUtility - Class in cz.martlin.xspf.util
-
An xml document utility.
- XMLDocumentUtility(String, String) - Constructor for class cz.martlin.xspf.util.XMLDocumentUtility
-
Creates instance for the given xml namespace.
- XMLDocumentUtilityHelper - Class in cz.martlin.xspf.util
-
The xml document utility helper, the actual implementor of the DOM manipulation on the low-level.
- XMLDocumentUtilityHelper(String, String) - Constructor for class cz.martlin.xspf.util.XMLDocumentUtilityHelper
-
Creates instance.
- XMLDocumentUtilityHelper.NonNullTextToValueMapper<T> - Interface in cz.martlin.xspf.util
-
An mapping of the text (never null) obtained from the XML file to some particular java type.
- XMLDocumentUtilityHelper.NonNullValueToTextMapper<T> - Interface in cz.martlin.xspf.util
-
An mapping of the particular java object (never null) to text to fill into the XML file.
- XMLDocumentUtilityHelper.NullableTextToValueMapper<T> - Interface in cz.martlin.xspf.util
-
An mapping of the text (or null) obtained from the XML file to some particular java type.
- XMLDocumentUtilityHelper.NullableValueToTextMapper<T> - Interface in cz.martlin.xspf.util
-
An mapping of the particular java object (or null) to text to fill into the XML file.
- XMLFileLoaderStorer - Class in cz.martlin.xspf.util
-
Just an separated helper class for the XML document IO, thus loading (parsing) and saving (serializing).
- XMLFileLoaderStorer() - Constructor for class cz.martlin.xspf.util.XMLFileLoaderStorer
- XSPF_STANDART_VERSION - Static variable in class cz.martlin.xspf.playlist.elements.XSPFFile
-
The supported version of the XSPF file standart.
- XSPFAttribution - Class in cz.martlin.xspf.playlist.elements
-
An attribution element.
- XSPFAttribution(Element) - Constructor for class cz.martlin.xspf.playlist.elements.XSPFAttribution
-
Creates instance.
- XSPFAttribution.XSPFAttributionItem - Class in cz.martlin.xspf.playlist.elements
-
The attribution item is just an element name with such element's content.
- XSPFAttributionItem(String, String) - Constructor for class cz.martlin.xspf.playlist.elements.XSPFAttribution.XSPFAttributionItem
-
Creates the attribution item for the element of given name and contents.
- XSPFCollection<E extends XSPFElement> - Class in cz.martlin.xspf.playlist.base
-
An abstract collection of sibling
XSPFElements of the same type (element name, type). - XSPFCollection(Element) - Constructor for class cz.martlin.xspf.playlist.base.XSPFCollection
-
Creates instance.
- XSPFCommon - Class in cz.martlin.xspf.playlist.base
-
The abstract superclass containing the common properties of the
XSPFPlaylistandXSPFTrack. - XSPFCommon(Element) - Constructor for class cz.martlin.xspf.playlist.base.XSPFCommon
-
Creates instance for the given playlist/track element.
- XSPFDocumentUtility - Class in cz.martlin.xspf.util
- XSPFDocumentUtility(String, String) - Constructor for class cz.martlin.xspf.util.XSPFDocumentUtility
- XSPFDocumentUtility.TextToValueMapper<T> - Interface in cz.martlin.xspf.util
- XSPFDocumentUtility.ValueToTextMapper<T> - Interface in cz.martlin.xspf.util
- XSPFElement - Class in cz.martlin.xspf.playlist.base
-
The base element in the xspf-playlist implementation.
- XSPFElement(Element) - Constructor for class cz.martlin.xspf.playlist.base.XSPFElement
-
Creates instance for the given element.
- XSPFElement.XSPFCollectionFactory<E extends XSPFElement> - Interface in cz.martlin.xspf.playlist.base
-
The mapping of element to
XSPFCollectioninstance. - XSPFException - Exception in cz.martlin.xspf.util
-
An general (checked) exception occured during the processing of the XSPF file.
- XSPFException(String) - Constructor for exception cz.martlin.xspf.util.XSPFException
-
Creates instance.
- XSPFException(String, Throwable) - Constructor for exception cz.martlin.xspf.util.XSPFException
-
Creates instance.
- XSPFExtension - Class in cz.martlin.xspf.playlist.elements
-
An extension element.
- XSPFExtension(Element) - Constructor for class cz.martlin.xspf.playlist.elements.XSPFExtension
-
Creates instance.
- XSPFExtensions - Class in cz.martlin.xspf.playlist.collections
-
An collection of the
XSPFExtension. - XSPFExtensions(Element) - Constructor for class cz.martlin.xspf.playlist.collections.XSPFExtensions
-
Creates instance.
- XSPFFile - Class in cz.martlin.xspf.playlist.elements
-
The whole xspf file.
- XSPFFile(Document) - Constructor for class cz.martlin.xspf.playlist.elements.XSPFFile
-
Creates instance.
- XSPFLink - Class in cz.martlin.xspf.playlist.collections
- XSPFLink - Class in cz.martlin.xspf.playlist.elements
-
The link element.
- XSPFLink(Element) - Constructor for class cz.martlin.xspf.playlist.collections.XSPFLink
- XSPFLink(Element) - Constructor for class cz.martlin.xspf.playlist.elements.XSPFLink
-
Create instance.
- XSPFLinks - Class in cz.martlin.xspf.playlist.collections
-
An collection of the
XSPFLinks. - XSPFLinks(Element) - Constructor for class cz.martlin.xspf.playlist.collections.XSPFLinks
-
Creates instance.
- XSPFMeta - Class in cz.martlin.xspf.playlist.elements
-
The meta element.
- XSPFMeta(Element) - Constructor for class cz.martlin.xspf.playlist.elements.XSPFMeta
-
Creates instance.
- XSPFMetas - Class in cz.martlin.xspf.playlist.collections
-
An collection fo the
XSPFMetas. - XSPFMetas(Element) - Constructor for class cz.martlin.xspf.playlist.collections.XSPFMetas
-
Creates instance.
- XSPFNode - Class in cz.martlin.xspf.playlist.base
- XSPFNode() - Constructor for class cz.martlin.xspf.playlist.base.XSPFNode
- XSPFPlaylist - Class in cz.martlin.xspf.playlist.elements
-
The playlist element.
- XSPFPlaylist(Element) - Constructor for class cz.martlin.xspf.playlist.elements.XSPFPlaylist
-
Creates instance.
- XSPFRuntimeException - Exception in cz.martlin.xspf.util
-
An general unchecked (runtime) exception occured during the processing of the XSPF file.
- XSPFRuntimeException(String) - Constructor for exception cz.martlin.xspf.util.XSPFRuntimeException
-
Creates instance.
- XSPFRuntimeException(String, Throwable) - Constructor for exception cz.martlin.xspf.util.XSPFRuntimeException
-
Creates instance.
- XSPFRuntimeException(Throwable) - Constructor for exception cz.martlin.xspf.util.XSPFRuntimeException
-
Creates instance.
- XSPFTrack - Class in cz.martlin.xspf.playlist.elements
-
The track element.
- XSPFTrack(Element) - Constructor for class cz.martlin.xspf.playlist.elements.XSPFTrack
-
Creates instance.
- XSPFTracks - Class in cz.martlin.xspf.playlist.collections
-
An collection of the
XSPFTracks. - XSPFTracks(Element) - Constructor for class cz.martlin.xspf.playlist.collections.XSPFTracks
-
Creates instance.
All Classes All Packages