## GUPnPDIDLLiteDescriptor

GUPnPDIDLLiteDescriptor — DIDL-Lite Descriptor

## Synopsis

                        GUPnPDIDLLiteDescriptor;
    xmlNode *           gupnp_didl_lite_descriptor_get_xml_node
                                                            (GUPnPDIDLLiteDescriptor *descriptor);
    const char *        gupnp_didl_lite_descriptor_get_content
                                                            (GUPnPDIDLLiteDescriptor *descriptor);
    const char *        gupnp_didl_lite_descriptor_get_id   (GUPnPDIDLLiteDescriptor *descriptor);
    const char *        gupnp_didl_lite_descriptor_get_metadata_type
                                                            (GUPnPDIDLLiteDescriptor *descriptor);
    const char *        gupnp_didl_lite_descriptor_get_name_space
                                                            (GUPnPDIDLLiteDescriptor *descriptor);
    void                gupnp_didl_lite_descriptor_set_content
                                                            (GUPnPDIDLLiteDescriptor *descriptor,
                                                             const char *content);
    void                gupnp_didl_lite_descriptor_set_id   (GUPnPDIDLLiteDescriptor *descriptor,
                                                             const char *id);
    void                gupnp_didl_lite_descriptor_set_metadata_type
                                                            (GUPnPDIDLLiteDescriptor *descriptor,
                                                             const char *type);
    void                gupnp_didl_lite_descriptor_set_name_space
                                                            (GUPnPDIDLLiteDescriptor *descriptor,
                                                             const char *name_space);

## Object Hierarchy

      GObject
       +----GUPnPDIDLLiteDescriptor

## Properties

      "content"                  gchar*                : Read / Write
      "id"                       gchar*                : Read / Write
      "metadata-type"            gchar*                : Read / Write
      "name-space"               gchar*                : Read / Write
      "xml-doc"                  GUPnPXMLDoc*          : Write / Construct Only
      "xml-node"                 gpointer              : Read / Write / Construct Only

## Description

GUPnPDIDLLiteDescriptor respresent a DIDL-Lite descriptor (desc) element.

## Details

### GUPnPDIDLLiteDescriptor

    typedef struct _GUPnPDIDLLiteDescriptor GUPnPDIDLLiteDescriptor;

### gupnp_didl_lite_descriptor_get_xml_node ()

    xmlNode *           gupnp_didl_lite_descriptor_get_xml_node
                                                            (GUPnPDIDLLiteDescriptor *descriptor);

Get the pointer to desc node in XML document.

`descriptor` : | The GUPnPDIDLLiteDescriptor
Returns : | The pointer to desc node in XML document.

### gupnp_didl_lite_descriptor_get_content ()

    const char *        gupnp_didl_lite_descriptor_get_content
                                                            (GUPnPDIDLLiteDescriptor *descriptor);

Get the content of the `descriptor`.

`descriptor` : | A GUPnPDIDLLiteDescriptor
Returns : | The content of the `descriptor` or `NULL`.

### gupnp_didl_lite_descriptor_get_id ()

    const char *        gupnp_didl_lite_descriptor_get_id   (GUPnPDIDLLiteDescriptor *descriptor);

Get the ID of the `descriptor`.

`descriptor` : | A GUPnPDIDLLiteDescriptor
Returns : | The ID string or `NULL`.

### gupnp_didl_lite_descriptor_get_metadata_type ()

    const char *        gupnp_didl_lite_descriptor_get_metadata_type
                                                            (GUPnPDIDLLiteDescriptor *descriptor);

Get the metadata type of the `descriptor`.

`descriptor` : | A GUPnPDIDLLiteDescriptor
Returns : | The type as string or `NULL`.

### gupnp_didl_lite_descriptor_get_name_space ()

    const char *        gupnp_didl_lite_descriptor_get_name_space
                                                            (GUPnPDIDLLiteDescriptor *descriptor);

Get the name space associated with the `descriptor`.

`descriptor` : | A GUPnPDIDLLiteDescriptor
Returns : | The name space or `NULL`.

### gupnp_didl_lite_descriptor_set_content ()

    void                gupnp_didl_lite_descriptor_set_content
                                                            (GUPnPDIDLLiteDescriptor *descriptor,
                                                             const char *content);

Set the content of the `descriptor`.

`descriptor` : | A GUPnPDIDLLiteDescriptor
`content` : | The content as string
Returns : | None.

### gupnp_didl_lite_descriptor_set_id ()

    void                gupnp_didl_lite_descriptor_set_id   (GUPnPDIDLLiteDescriptor *descriptor,
                                                             const char *id);

Set the ID of the `descriptor`.

`descriptor` : | A GUPnPDIDLLiteDescriptor
`id` : | The ID as string
Returns : | None.

### gupnp_didl_lite_descriptor_set_metadata_type ()

    void                gupnp_didl_lite_descriptor_set_metadata_type
                                                            (GUPnPDIDLLiteDescriptor *descriptor,
                                                             const char *type);

Set the metadata type of the `descriptor`.

`descriptor` : | A GUPnPDIDLLiteDescriptor
`type` : | The metadata type as string
Returns : | None.

### gupnp_didl_lite_descriptor_set_name_space ()

    void                gupnp_didl_lite_descriptor_set_name_space
                                                            (GUPnPDIDLLiteDescriptor *descriptor,
                                                             const char *name_space);

Set the name space associated with the `descriptor`.

`descriptor` : | A GUPnPDIDLLiteDescriptor
`name_space` : | The name space URI as string
Returns : | None.

## Property Details

### The `"content"` property

      "content"                  gchar*                : Read / Write

The content of this descriptor.

Default value: NULL

### The `"id"` property

      "id"                       gchar*                : Read / Write

The ID of this descriptor.

Default value: NULL

### The `"metadata-type"` property

      "metadata-type"            gchar*                : Read / Write

The type of this descriptor.

Default value: NULL

### The `"name-space"` property

      "name-space"               gchar*                : Read / Write

The name space associated with this descriptor.

Default value: NULL

### The `"xml-doc"` property

      "xml-doc"                  GUPnPXMLDoc*          : Write / Construct Only

The reference to XML document containing this object.

Internal property.

Stability Level: Private

### The `"xml-node"` property

      "xml-node"                 gpointer              : Read / Write / Construct Only

The pointer to desc node in XML document.