Package ch.bailu.gtk.gio
Klasse DBusNodeInfo
java.lang.Object
ch.bailu.gtk.type.Type
ch.bailu.gtk.type.Pointer
ch.bailu.gtk.type.Record
ch.bailu.gtk.gio.DBusNodeInfo
- Alle implementierten Schnittstellen:
PointerInterface
Information about nodes in a remote object hierarchy.
-
Feldübersicht
Felder -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
generateXml
(int indent, GString string_builder) Appends an XML representation of @info (and its children) to @string_builder.static ClassHandler
The path of the node or %NULL if omitted.int
The reference count or -1 if statically allocated.static int
static long
static TypeSystem.TypeSize
static long
static TypeSystem.TypeSize
lookupInterface
(Str name) Looks up information about an interface.lookupInterface
(String name) Looks up information about an interface.static DBusNodeInfo
newForXmlDBusNodeInfo
(Str xml_data) Parses @xml_data and returns a #GDBusNodeInfo representing the data.static DBusNodeInfo
newForXmlDBusNodeInfo
(String xml_data) Parses @xml_data and returns a #GDBusNodeInfo representing the data.ref()
If @info is statically allocated does nothing.void
setFieldPath
(Str path) The path of the node or %NULL if omitted.void
setFieldRefCount
(int ref_count) The reference count or -1 if statically allocated.void
unref()
If @info is statically allocated, does nothing.Von Klasse geerbte Methoden ch.bailu.gtk.type.Pointer
asCPointer, cast, connectSignal, disconnectSignals, disconnectSignals, equals, hashCode, throwIfNull, throwNullPointerException, toString, unregisterCallbacks, unregisterCallbacks
Von Klasse geerbte Methoden ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNull
Von Klasse geerbte Methoden java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Von Schnittstelle geerbte Methoden ch.bailu.gtk.type.PointerInterface
asCPointerNotNull, asJnaPointer, asPointer, isNotNull, isNull
-
Felddetails
-
REF_COUNT
The reference count or -1 if statically allocated.- Siehe auch:
-
PATH
The path of the node or %NULL if omitted. Note that this may be a relative path. See the D-Bus specification for more details.- Siehe auch:
-
-
Konstruktordetails
-
DBusNodeInfo
-
-
Methodendetails
-
getClassHandler
-
setFieldRefCount
public void setFieldRefCount(int ref_count) The reference count or -1 if statically allocated. -
getFieldRefCount
public int getFieldRefCount()The reference count or -1 if statically allocated. -
setFieldPath
The path of the node or %NULL if omitted. Note that this may be a relative path. See the D-Bus specification for more details. -
getFieldPath
The path of the node or %NULL if omitted. Note that this may be a relative path. See the D-Bus specification for more details. -
newForXmlDBusNodeInfo
Parses @xml_data and returns a #GDBusNodeInfo representing the data.
The introspection XML must contain exactly one top-level
`<node>` element.
Note that this routine is using a
[GMarkup](../glib/markup.html)-based
parser that only accepts a subset of valid XML documents.- Parameter:
xml_data
- Valid D-Bus introspection XML.- Gibt zurück:
- A #GDBusNodeInfo structure or %NULL if @error is set. Free with g_dbus_node_info_unref().
- Löst aus:
AllocationError
-
newForXmlDBusNodeInfo
Parses @xml_data and returns a #GDBusNodeInfo representing the data.
The introspection XML must contain exactly one top-level
`<node>` element.
Note that this routine is using a
[GMarkup](../glib/markup.html)-based
parser that only accepts a subset of valid XML documents.- Parameter:
xml_data
- Valid D-Bus introspection XML.- Gibt zurück:
- A #GDBusNodeInfo structure or %NULL if @error is set. Free with g_dbus_node_info_unref().
- Löst aus:
AllocationError
-
generateXml
Appends an XML representation of @info (and its children) to @string_builder.
This function is typically used for generating introspection XML documents at run-time for
handling the `org.freedesktop.DBus.Introspectable.Introspect` method.- Parameter:
indent
- Indentation level.string_builder
- A #GString to to append XML data to.
-
lookupInterface
Looks up information about an interface.
The cost of this function is O(n) in number of interfaces.- Parameter:
name
- A D-Bus interface name.- Gibt zurück:
- A #GDBusInterfaceInfo or %NULL if not found. Do not free, it is owned by @info.
-
lookupInterface
Looks up information about an interface.
The cost of this function is O(n) in number of interfaces.- Parameter:
name
- A D-Bus interface name.- Gibt zurück:
- A #GDBusInterfaceInfo or %NULL if not found. Do not free, it is owned by @info.
-
ref
If @info is statically allocated does nothing. Otherwise increases
the reference count.- Gibt zurück:
- The same @info.
-
unref
public void unref()If @info is statically allocated, does nothing. Otherwise decreases
the reference count of @info. When its reference count drops to 0,
the memory used is freed. -
getTypeID
public static long getTypeID() -
getParentTypeID
public static long getParentTypeID() -
getTypeSize
-
getParentTypeSize
-
getInstanceSize
public static int getInstanceSize()
-