#include <XspfXmlFormatter.h>
List of all members.
Detailed Description
Outputs XML.
Definition at line 90 of file XspfXmlFormatter.h.
Constructor & Destructor Documentation
Copy constructor.
- Parameters:
-
| source | Source to copy from |
Destroys this formatter and deletes all memory associated with it.
Member Function Documentation
| std::basic_ostringstream<XML_Char>* & getOutput |
( |
| ) |
[protected] |
Returns the output stream in use.
Assignment operator.
- Parameters:
-
| source | Source to copy from |
| void setOutput |
( |
std::basic_ostringstream< XML_Char > & |
output | ) |
|
Associate the formatter with an output accumulator.
- Parameters:
-
| virtual void writeBody |
( |
XML_Char const * |
text | ) |
[pure virtual] |
Adds element content.
- Parameters:
-
| virtual void writeBody |
( |
int |
number | ) |
[pure virtual] |
Adds element content.
- Parameters:
-
Writes well-formed character data to the output accumulator.
- Parameters:
-
| void writeEnd |
( |
XML_Char const * |
ns, |
|
|
XML_Char const * |
localName |
|
) |
| |
Closes the tag localname from namespace ns.
- Parameters:
-
| ns | Namespace URI |
| localName | Local element name |
| virtual void writeEnd |
( |
XML_Char const * |
name | ) |
[protected, pure virtual] |
Closes the tag name.
- Parameters:
-
| name | Name of the tag to close |
Closes the tag localname from the XSPF namespace.
- Parameters:
-
| localName | Local element name |
| void writeHomeStart |
( |
XML_Char const * |
localName, |
|
|
XML_Char const *const * |
atts, |
|
|
XML_Char const *const * |
nsRegs = NULL |
|
) |
| |
Opens the tag localname from the XSPF namespace.
- Parameters:
-
| localName | Local element name |
| atts | NULL-terminated list of attributes (key/value pairs) |
| nsRegs | NULL-terminated list of namespace registrations (uri/prefix pairs) |
| void writeStart |
( |
XML_Char const * |
ns, |
|
|
XML_Char const * |
localName, |
|
|
XML_Char const *const * |
atts, |
|
|
XML_Char const *const * |
nsRegs = NULL |
|
) |
| |
Opens the tag localname from namespace ns.
- Parameters:
-
| ns | Namespace URI |
| localName | Local element name |
| atts | NULL-terminated list of attributes (key/value pairs) |
| nsRegs | NULL-terminated list of namespace registrations (uri/prefix pairs) |
| virtual void writeStart |
( |
XML_Char const * |
name, |
|
|
XML_Char const *const * |
atts |
|
) |
| [protected, pure virtual] |
Opens the tag name and adds the attributes atts. atts is not NULL and *atts is an alternating list of attribute keys and values. Its length is uneven and the last entry is NULL.
- Parameters:
-
| name | Name of the tag to open |
| atts | Alternating list of attribute key and value |
Writes the XML declaration.
The documentation for this class was generated from the following file: