GUPnPAV.DIDLLiteDescriptor

g GObject.Object GObject.Object GUPnPAV.DIDLLiteDescriptor GUPnPAV.DIDLLiteDescriptor GObject.Object->GUPnPAV.DIDLLiteDescriptor

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new ()

get_content ()

get_id ()

get_metadata_type ()

get_name_space ()

get_xml_node ()

set_content (content)

set_id (id)

set_metadata_type (type)

set_name_space (name_space)

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Name

Type

Flags

Short Description

content

str

r/w

The content of this descriptor

id

str

r/w

The ID of this descriptor

metadata-type

str

r/w

The metadata type of this descriptor

name-space

str

r/w

The name space associated with this descriptor

xml-node

int

r/w/co

The pointer to desc node in XML document.

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent_instance

GObject.Object

r

Class Details

class GUPnPAV.DIDLLiteDescriptor(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

GUPnPAV.DIDLLiteDescriptorClass

classmethod new()
Returns:

A new GUPnPAV.DIDLLiteDescriptor object. Unref after usage.

Return type:

GUPnPAV.DIDLLiteDescriptor

get_content()
Returns:

The content of the self or None.

Return type:

str

Get the content of the self.

get_id()
Returns:

The ID string or None.

Return type:

str

Get the ID of the self.

get_metadata_type()
Returns:

The type as string or None.

Return type:

str

Get the metadata type of the self.

get_name_space()
Returns:

The name space or None.

Return type:

str

Get the name space associated with the self.

get_xml_node()
Returns:

The pointer to desc node in XML document.

Return type:

libxml2.Node

Get the pointer to desc node in XML document.

set_content(content)
Parameters:

content (str) – The content as string

Set the content of the self.

set_id(id)
Parameters:

id (str) – The ID as string

Set the ID of the self.

set_metadata_type(type)
Parameters:

type (str) – The metadata type as string

Set the metadata type of the self.

set_name_space(name_space)
Parameters:

name_space (str) – The name space URI as string

Set the name space associated with the self.

Property Details

GUPnPAV.DIDLLiteDescriptor.props.content
Name:

content

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE

The content of this descriptor.

GUPnPAV.DIDLLiteDescriptor.props.id
Name:

id

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE

The ID of this descriptor.

GUPnPAV.DIDLLiteDescriptor.props.metadata_type
Name:

metadata-type

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE

The type of this descriptor.

GUPnPAV.DIDLLiteDescriptor.props.name_space
Name:

name-space

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE

The name space associated with this descriptor.

GUPnPAV.DIDLLiteDescriptor.props.xml_node
Name:

xml-node

Type:

int

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

The pointer to desc node in XML document.