#include <XspfExtensionReaderFactory.h>
Public Member Functions | |
XspfExtensionReaderFactory () | |
XspfExtensionReaderFactory (const XspfExtensionReaderFactory &source) | |
XspfExtensionReaderFactory & | operator= (XspfExtensionReaderFactory const &source) |
~XspfExtensionReaderFactory () | |
void | registerPlaylistExtensionReader (XspfExtensionReader const *example, XML_Char const *triggerUri) |
void | registerTrackExtensionReader (XspfExtensionReader const *example, XML_Char const *triggerUri) |
void | unregisterPlaylistExtensionReader (XML_Char const *triggerUri) |
void | unregisterTrackExtensionReader (XML_Char const *triggerUri) |
XspfExtensionReader * | newPlaylistExtensionReader (XML_Char const *applicationUri, XspfReader *reader) |
XspfExtensionReader * | newTrackExtensionReader (XML_Char const *applicationUri, XspfReader *reader) |
Definition at line 66 of file XspfExtensionReaderFactory.h.
Creates a new XspfExtensionReaderFactory object.
XspfExtensionReaderFactory | ( | const XspfExtensionReaderFactory & | source | ) |
Copy constructor.
source | Source to copy from |
Destroys this XspfExtensionReaderFactory object and deletes all memory associated with it.
XspfExtensionReader* newPlaylistExtensionReader | ( | XML_Char const * | applicationUri, | |
XspfReader * | reader | |||
) |
Creates a new XspfExtensionReader whose type was registered for this application URI.
applicationUri | Application URI | |
reader | XspfReader for the extension reader |
XspfExtensionReader* newTrackExtensionReader | ( | XML_Char const * | applicationUri, | |
XspfReader * | reader | |||
) |
Creates a new XspfExtensionReader whose type was registered for this application URI.
applicationUri | Application URI | |
reader | XspfReader for the extension reader |
XspfExtensionReaderFactory& operator= | ( | XspfExtensionReaderFactory const & | source | ) |
Assignment operator.
source | Source to copy from |
void registerPlaylistExtensionReader | ( | XspfExtensionReader const * | example, | |
XML_Char const * | triggerUri | |||
) |
Overwrites the registered reader for the given application URI. Pass NULL for the URI to make this the catch-all reader. The reader will be cloned internally so can safely delete the instance passed for registration.
example | Representative for the extension reader cleass | |
triggerUri | Application URI associate, must not be NULL |
void registerTrackExtensionReader | ( | XspfExtensionReader const * | example, | |
XML_Char const * | triggerUri | |||
) |
Overwrites the registered reader for the given application URI. Pass NULL for the URI to make this the catch-all reader. The reader will be cloned internally so can safely delete the instance passed for registration.
example | Representative for the extension reader cleass | |
triggerUri | Application URI associate, must not be NULL |
void unregisterPlaylistExtensionReader | ( | XML_Char const * | triggerUri | ) |
Unregisteres the given application URI. NOTE: This URI will still be handled if a catch-all handler has been set.
triggerUri | Application URI to unregister |
void unregisterTrackExtensionReader | ( | XML_Char const * | triggerUri | ) |
Unregisteres the given application URI. NOTE: This URI will still be handled if a catch-all handler has been set.
triggerUri | Application URI to unregister |