Packages
gupnp-av-1.0
GUPnP
DIDLLiteWriter
NAMESPACE_DC
NAMESPACE_DLNA
NAMESPACE_UPNP
language
xml_node
DIDLLiteWriter
add_container
add_descriptor
add_item
filter
get_language
get_string
get_xml_node
DIDLLiteWriter
Object Hierarchy:
GUPnP.DIDLLiteWriter
GUPnP.DIDLLiteWriter
GUPnP.DIDLLiteWriter
GLib.Object
GLib.Object
GLib.Object->GUPnP.DIDLLiteWriter
Description:
[
CCode
( type_id =
"gupnp_didl_lite_writer_get_type ()"
) ]
public
class
DIDLLiteWriter
:
Object
Namespace:
GUPnP
Package:
gupnp-av-1.0
Content:
Constants:
public
const
string
NAMESPACE_DC
public
const
string
NAMESPACE_DLNA
public
const
string
NAMESPACE_UPNP
Properties:
public
string
language
{
get
;
construct
; }
The language the DIDL-Lite fragment is in.
public
unowned
Node
*
xml_node
{
get
; }
The pointer to root node in XML document.
Creation methods:
public
DIDLLiteWriter
(
string
? language)
Note:
language
should always be set to
null
, DLNA does not support the language parameter.
Methods:
public
DIDLLiteContainer
add_container
()
Creates a new container, attaches it to
this
and returns it.
public
DIDLLiteDescriptor
add_descriptor
()
Creates a new descriptor, attaches it to
object
and returns it.
public
DIDLLiteItem
add_item
()
Creates a new item, attaches it to
this
and returns it.
public
void
filter
(
string
filter)
Clears the DIDL-Lite XML document of the properties not specified in the
filter
.
public
unowned
string
get_language
()
Get the language the DIDL-Lite fragment is in.
public
string
get_string
()
Creates a string representation of the DIDL-Lite XML document.
public
unowned
Node
get_xml_node
()
Get the pointer to root node in XML document.
Inherited Members:
All known members inherited from class GLib.Object
@get
@new
@ref
@set
add_toggle_ref
add_weak_pointer
bind_property
connect
constructed
disconnect
dispose
dup_data
dup_qdata
force_floating
freeze_notify
get_class
get_data
get_property
get_qdata
get_type
getv
interface_find_property
interface_install_property
interface_list_properties
is_floating
new_valist
new_with_properties
newv
notify
notify_property
ref_count
ref_sink
remove_toggle_ref
remove_weak_pointer
replace_data
replace_qdata
set_data
set_data_full
set_property
set_qdata
set_qdata_full
set_valist
setv
steal_data
steal_qdata
thaw_notify
unref
watch_closure
weak_ref
weak_unref