XspfExtensionReaderFactory Class Reference

#include <XspfExtensionReaderFactory.h>

List of all members.

Public Member Functions

 XspfExtensionReaderFactory ()
 XspfExtensionReaderFactory (const XspfExtensionReaderFactory &source)
XspfExtensionReaderFactoryoperator= (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)
XspfExtensionReadernewPlaylistExtensionReader (XML_Char const *applicationUri, XspfReader *reader)
XspfExtensionReadernewTrackExtensionReader (XML_Char const *applicationUri, XspfReader *reader)


Detailed Description

Manages creation of XspfExtensionReader instances. XspfExtensionReaders can be registered/unregistered dynamically.

Definition at line 66 of file XspfExtensionReaderFactory.h.


Constructor & Destructor Documentation

Creates a new XspfExtensionReaderFactory object.

Copy constructor.

Parameters:
source Source to copy from

Destroys this XspfExtensionReaderFactory object and deletes all memory associated with it.


Member Function Documentation

XspfExtensionReader* newPlaylistExtensionReader ( XML_Char const *  applicationUri,
XspfReader reader 
)

Creates a new XspfExtensionReader whose type was registered for this application URI.

Parameters:
applicationUri Application URI
reader XspfReader for the extension reader
Returns:
New playlist extension reader

XspfExtensionReader* newTrackExtensionReader ( XML_Char const *  applicationUri,
XspfReader reader 
)

Creates a new XspfExtensionReader whose type was registered for this application URI.

Parameters:
applicationUri Application URI
reader XspfReader for the extension reader
Returns:
New track extension reader

XspfExtensionReaderFactory& operator= ( XspfExtensionReaderFactory const &  source  ) 

Assignment operator.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
triggerUri Application URI to unregister


The documentation for this class was generated from the following file:

Generated on Sat Mar 7 01:09:37 2009 for libxspf by  doxygen 1.5.8