SerializableProperty
Object Hierarchy:
Description:
[ Version ( deprecated = true , deprecated_since = "0.18" , replacement = "GXml.GromProperty" ) ]
public interface SerializableProperty : Object
Warning: SerializableProperty is deprecated since 0.18. Use GXml.GromProperty.
Represent any property to be added as a GXml.Attribute to a
GXml.Element
The actual value stored and returned by
GXml.SerializableProperty.get_serializable_property_value is the actual string in the XML property, this means may the value could
differ from the spected value on some implementations like GXml.SerializableInt.
Take a look in each implementations about retured values.
Implementations of GXml.SerializableProperty, could be used to provide more flexibility when parsing
GXml.Attribute properties values and to exclude to be serialized if they have not been
created in the holding objects.
All known implementing classes:
Content:
Methods:
- public bool default_serializable_property_deserialize_property (Node property_node, ParamSpec prop, bool nick) throws Error
Tryies to deserialize from a
GXml.Node searching a GXml.Attribute
with the name in @param prop or from its nick if @nick is true.
- public Node? default_serializable_property_serialize_property (Node element, ParamSpec prop, bool nick) throws Error
- public virtual bool deserialize_property (Node property_node, ParamSpec prop, bool nick) throws Error
Tryies to deserialize from a
GXml.Node searching a GXml.Attribute
with the name provided in @param prop or its nick if @nick is true, if not set, then GLib.ParamSpec
name should used. If @param nick is set to true, then GLib.ParamSpec nick is used as name.
- public abstract string get_serializable_property_value ()
- public virtual Node? serialize_property (Node property_node, ParamSpec prop, bool nick) throws Error
Serialization method to add a
GXml.Attribute to a GXml.Element
, using GLib.ParamSpec name or nick, if @param nick is set to true, as the attribute's name.
- public abstract void set_serializable_property_value (string? val)
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