#include <XspfReader.h>
List of all members.
Detailed Description
Reads a XSPF playlist from a file.
Definition at line 209 of file XspfReader.h.
Constructor & Destructor Documentation
Creates a new reader.
- Parameters:
-
| handlerFactory | Factory used to create handlers |
Copy constructor.
- Parameters:
-
| source | Source to copy from |
Member Function Documentation
void enableMaliciousXmlDetection |
( |
bool |
enabled |
) |
|
static bool isXmlBase |
( |
XML_Char const * |
attributeKey |
) |
[static] |
Checks if attributeKey
is the xml:base attribute
- Parameters:
-
| attributeKey | Attribute key to check |
- Returns:
- Equality flag
void limitLengthPerEntityValue |
( |
bool |
enabled |
) |
|
Enables/disables the restriction on the length of entity values.
- Experimental:
- This feature is marked as experimental.
- Parameters:
-
- See also:
- setMaxLengthPerEntityValue
- Since:
- 1.0.0
void limitLookupDepthPerEntityValue |
( |
bool |
enabled |
) |
|
Enables/disables the restriction on the lookup depth of entity values.
- Experimental:
- This feature is marked as experimental.
- Parameters:
-
- See also:
- setMaxLookupDepthPerEntityValue
- Since:
- 1.0.0
void limitLookupSumPerEntityValue |
( |
bool |
enabled |
) |
|
Enables/disables the restriction on the sum of lookups per entity value.
- Experimental:
- This feature is marked as experimental.
- Parameters:
-
- See also:
- setMaxLookupSumPerEntityValue
- Since:
- 1.0.0
Assignment operator.
- Parameters:
-
| source | Source to copy from |
Reads an XSPF playlist from a chunk callback.
- Parameters:
-
| inputCallback | Chunk callback, must not be NULL |
| dataCallback | Reader callback that will receive the playlist's information Passing NULL will make the reader use a XspfStrictReaderCallback instance internally. |
| baseUri | Absolute external base URI to resolve URIs against |
- Returns:
- Error/warning code that aborted parsing or
XSPF_READER_SUCCESS
.
- Since:
- 1.0.0rc1
int parseFile |
( |
XML_Char const * |
filename, |
|
|
XspfReaderCallback * |
callback, |
|
|
XML_Char const * |
baseUri | |
|
) |
| | |
Reads an XSPF playlist from a file.
- Parameters:
-
| filename | Filename of the file to read |
| callback | Reader callback that will receive the playlist's information. Passing NULL will make the reader use a XspfStrictReaderCallback instance internally. |
| baseUri | Absolute external base URI to resolve URIs against |
- Returns:
- Error/warning code that aborted parsing or
XSPF_READER_SUCCESS
.
- Since:
- 1.0.0rc1
int parseMemory |
( |
char const * |
memory, |
|
|
int |
numBytes, |
|
|
XspfReaderCallback * |
callback, |
|
|
XML_Char const * |
baseUri | |
|
) |
| | |
Reads an XSPF playlist from a block of memory.
- Parameters:
-
| memory | Memory block to parse |
| numBytes | Size of memory in bytes |
| callback | Reader callback that will receive the playlist's information Passing NULL will make the reader use a XspfStrictReaderCallback instance internally. |
| baseUri | Absolute external base URI to resolve URIs against |
- Returns:
- Error/warning code that aborted parsing or
XSPF_READER_SUCCESS
.
- Since:
- 1.0.0rc1
void setMaxLengthPerEntityValue |
( |
int |
maxLength |
) |
|
Adjusts the limit on the length of entity values.
- Experimental:
- This feature is marked as experimental.
- Parameters:
-
| maxLength | Inclusive limit to set |
- See also:
- limitLengthPerEntityValue
- Since:
- 1.0.0
void setMaxLookupDepthPerEntityValue |
( |
int |
maxLookupDepth |
) |
|
Adjusts the limit on the lookup depth of entity values.
- Experimental:
- This feature is marked as experimental.
- Parameters:
-
| maxLookupDepth | Inclusive limit to set |
- See also:
- limitLookupDepthPerEntityValue
- Since:
- 1.0.0
void setMaxLookupSumPerEntityValue |
( |
int |
maxLookupSum |
) |
|
Adjusts the limit on the sum of lookups per entity value.
- Experimental:
- This feature is marked as experimental.
- Parameters:
-
| maxLookupSum | Inclusive limit to set |
- See also:
- limitLookupSumPerEntityValue
- Since:
- 1.0.0
The documentation for this class was generated from the following file: