DBusNodeInfo.for_xml


Description:

[ CCode ( has_construct_function = false ) ]
public DBusNodeInfo.for_xml (string xml_data) throws Error

Parses xml_data and returns a DBusNodeInfo representing the data.

The introspection XML must contain exactly one top-level <node> element.

Note that this routine is using a GMarkup-based parser that only accepts a subset of valid XML documents.

Parameters:

xml_data

Valid D-Bus introspection XML.

Returns:

A DBusNodeInfo structure or null if throws is set. Free with unref.




2022 vala-language.org