## GUPnPDIDLLiteContributor GUPnPDIDLLiteContributor — DIDL-Lite Contributor |

## Synopsis

                        GUPnPDIDLLiteContributor;
    xmlNode *           gupnp_didl_lite_contributor_get_xml_node
                                                            (GUPnPDIDLLiteContributor *contributor);
    const char *        gupnp_didl_lite_contributor_get_role
                                                            (GUPnPDIDLLiteContributor *contributor);
    const char *        gupnp_didl_lite_contributor_get_name
                                                            (GUPnPDIDLLiteContributor *contributor);
    void                gupnp_didl_lite_contributor_set_role
                                                            (GUPnPDIDLLiteContributor *contributor,
                                                             const char *role);
    void                gupnp_didl_lite_contributor_set_name
                                                            (GUPnPDIDLLiteContributor *contributor,
                                                             const char *name);

## Object Hierarchy

      GObject
       +----GUPnPDIDLLiteContributor

## Properties

      "name"                     gchar*                : Read / Write
      "role"                     gchar*                : Read / Write
      "xml-doc"                  GUPnPXMLDoc*          : Write / Construct Only
      "xml-node"                 gpointer              : Read / Write / Construct Only

## Description

GUPnPDIDLLiteContributor respresents a contributor (artist, author, actor, producer, director, producer and contributor) property in a DIDL-Lite object.

## Details

### GUPnPDIDLLiteContributor

    typedef struct _GUPnPDIDLLiteContributor GUPnPDIDLLiteContributor;

### gupnp_didl_lite_contributor_get_xml_node ()

    xmlNode *           gupnp_didl_lite_contributor_get_xml_node
                                                            (GUPnPDIDLLiteContributor *contributor);

Get the pointer to relevant node in XML document.

`contributor` : | The GUPnPDIDLLiteContributor
Returns : | The pointer to relevant node in XML document. [transfer none]

### gupnp_didl_lite_contributor_get_role ()

    const char *        gupnp_didl_lite_contributor_get_role
                                                            (GUPnPDIDLLiteContributor *contributor);

Get the role of the `contributor`.

`contributor` : | GUPnPDIDLLiteContributor
Returns : | The role of the `contributor`, or `NULL`.

### gupnp_didl_lite_contributor_get_name ()

    const char *        gupnp_didl_lite_contributor_get_name
                                                            (GUPnPDIDLLiteContributor *contributor);

Get the name of the `contributor`.

`contributor` : | A GUPnPDIDLLiteContributor
Returns : | The name of the `contributor` or `NULL`.

### gupnp_didl_lite_contributor_set_role ()

    void                gupnp_didl_lite_contributor_set_role
                                                            (GUPnPDIDLLiteContributor *contributor,
                                                             const char *role);

Set the role of the `contributor` to `role`.

`contributor` : | GUPnPDIDLLiteContributor
`role` : | The role of the `contributor`
Returns : | None.

### gupnp_didl_lite_contributor_set_name ()

    void                gupnp_didl_lite_contributor_set_name
                                                            (GUPnPDIDLLiteContributor *contributor,
                                                             const char *name);

Set the name of the `contributor` to `name`.

`contributor` : | A GUPnPDIDLLiteContributor
`name` : | The name of the contributor
Returns : | None.

## Property Details

### The `"name"` property

      "name"                     gchar*                : Read / Write

The name of this contributor.

Default value: NULL

### The `"role"` property

      "role"                     gchar*                : Read / Write

The role of this contributor.

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 object node in XML document.