GUPnPDIDLLiteWriter
GUPnPDIDLLiteWriter — DIDL-Lite fragment writer
|
|
Object Hierarchy
GObject
+----GUPnPDIDLLiteWriter
Properties
"language" gchar* : Read / Write / Construct Only
"xml-node" gpointer : Read
Details
GUPnPDIDLLiteWriter
typedef struct _GUPnPDIDLLiteWriter GUPnPDIDLLiteWriter;
gupnp_didl_lite_writer_new ()
GUPnPDIDLLiteWriter* gupnp_didl_lite_writer_new (const char *language);
language : |
The language the DIDL-Lite fragment is in, or NULL
|
Returns : |
A new GUPnPDIDLLiteWriter object.
|
gupnp_didl_lite_writer_get_xml_node ()
xmlNode* gupnp_didl_lite_writer_get_xml_node (GUPnPDIDLLiteWriter *writer);
Get the pointer to root node in XML document.
gupnp_didl_lite_writer_get_string ()
char* gupnp_didl_lite_writer_get_string (GUPnPDIDLLiteWriter *writer);
Creates a string representation of the DIDL-Lite XML document.
writer : |
A GUPnPDIDLLiteWriter
|
Returns : |
The DIDL-Lite XML string, or NULL . g_free after usage.
|
gupnp_didl_lite_writer_get_language ()
const char* gupnp_didl_lite_writer_get_language (GUPnPDIDLLiteWriter *writer);
Get the language the DIDL-Lite fragment is in.
gupnp_didl_lite_writer_filter ()
void gupnp_didl_lite_writer_filter (GUPnPDIDLLiteWriter *writer,
const char *filter);
Clears the DIDL-Lite XML document of the properties not specified in the
filter
. The passed filter string would typically come from the 'Filter'
argument of Browse or Search actions from a ContentDirectory control point.
Please refer to Section 2.3.15 of UPnP AV ContentDirectory version 3
specification for details on this string.
Property Details
The "language"
property
"language" gchar* : Read / Write / Construct Only
The language the DIDL-Lite fragment is in.
Default value: NULL
The "xml-node"
property
"xml-node" gpointer : Read
The pointer to root node in XML document.