GUPnP.XMLDoc¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
class |
|
|
Virtual Methods¶
- Inherited:
Properties¶
Name |
Type |
Flags |
Short Description |
---|---|---|---|
w/co |
doc |
||
w/co |
path |
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class GUPnP.XMLDoc(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
Reference-counting wrapper for libxml’s
libxml2.Doc
New in version 0.14.0.
- classmethod new(xml_doc)¶
- Parameters:
xml_doc (
libxml2.Doc
) – Pointer tolibxml2.Doc
to wrap under this object- Returns:
A new
GUPnP.XMLDoc
, orNone
on an error- Return type:
Create a new
GUPnP.XMLDoc
for xml_doc.New in version 0.14.0.
- classmethod new_from_path(path)¶
- Parameters:
path (
str
) – Path to xml document- Raises:
- Returns:
A new
GUPnP.XMLDoc
, orNone
on an error- Return type:
GUPnP.XMLDoc
orNone
Create a new
GUPnP.XMLDoc
for the XML document at path.New in version 0.14.0.
- get_doc()¶
- Returns:
a pointer to the wrapped
libxml2.Doc
- Return type:
Property Details¶
- GUPnP.XMLDoc.props.doc¶
- Name:
doc
- Type:
- Default Value:
- Flags:
doc
- GUPnP.XMLDoc.props.path¶
- Name:
path
- Type:
- Default Value:
- Flags:
path