Top | ![]() |
![]() |
![]() |
![]() |
GXmlGDocumentGXmlGDocument — Class implemeting GXmlDocument interface, not tied to libxml-2.0 library. |
#define | GXML_TYPE_GDOCUMENT |
struct | GXmlGDocument |
struct | GXmlGDocumentClass |
#define | GXML_TYPE_GIMPLEMENTATION |
struct | GXmlGImplementation |
struct | GXmlGImplementationClass |
#define | GXML_TYPE_GDOCUMENT_TYPE |
struct | GXmlGDocumentType |
struct | GXmlGDocumentTypeClass |
#define | GXML_TYPE_GDOCUMENT_FRAGMENT |
struct | GXmlGDocumentFragment |
struct | GXmlGDocumentFragmentClass |
#define | GXML_TYPE_GDOM_NODE_ITERATOR |
struct | GXmlGDomNodeIterator |
struct | GXmlGDomNodeIteratorClass |
#define | GXML_TYPE_GDOM_TREE_WALKER |
struct | GXmlGDomTreeWalker |
struct | GXmlGDomTreeWalkerClass |
This class use xmlTextWriter to write down XML documents using its contained GXmlNode children or other XML structures.
gchar *
gxml_gdocument_libxml_to_string (GXmlGDocument *self
);
Uses libxml2 internal dump to memory function over owned
gboolean gxml_gdocument_save (GXmlGDocument *self
,GCancellable *cancellable
,GError **error
);
self |
the GXmlGDocument instance |
|
cancellable |
|
|
error |
location to store the error occuring, or |
gboolean gxml_gdocument_save_as (GXmlGDocument *self
,GFile *f
,GCancellable *cancellable
,GError **error
);
self |
the GXmlGDocument instance |
|
f |
|
|
cancellable |
|
|
error |
location to store the error occuring, or |
GXmlGDocument * gxml_gdocument_new_from_path (const gchar *path
,gint options
,GError **error
);
GXmlGDocument * gxml_gdocument_new_from_uri (const gchar *uri
,gint options
,GError **error
);
GXmlGDocument * gxml_gdocument_new_from_file (GFile *file
,gint options
,GCancellable *cancel
,GError **error
);
GXmlGDocument * gxml_gdocument_new_from_string (const gchar *str
,gint options
,GError **error
);
GXmlGDocument * gxml_gdocument_new_from_stream (GInputStream *istream
,GError **error
);
GXmlGDocumentType *
gxml_gdocument_type_new_with_name (const gchar *name
);
GXmlGDocumentType * gxml_gdocument_type_new_with_ids (const gchar *name
,const gchar *public_id
,const gchar *system_id
);
GXmlGDocumentFragment *
gxml_gdocument_fragment_new (GXmlGDocument *d
);
GXmlGDomNodeIterator * gxml_gdom_node_iterator_new (GXmlDomNode *n
,gint what_to_show
,GXmlDomNodeFilter *filter
);
GXmlGDomTreeWalker * gxml_gdom_tree_walker_new (GXmlDomNode *r
,gint w
,GXmlDomNodeFilter *f
);
#define GXML_TYPE_GDOCUMENT (gxml_gdocument_get_type ())
The type for GXmlGDocument.
struct GXmlGDocument { GXmlGNode parent_instance; GXmlGDocumentPrivate * priv; xmlDoc* doc; xmlBuffer* _buffer; GXmlGImplementation* _implementation; gchar* _url; gchar* _origin; gchar* _compat_mode; gchar* _character_set; gchar* _content_type; GXmlDomEvent* _constructor; };
Class implemeting GXmlDocument interface, not tied to libxml-2.0 library.
This class use xmlTextWriter to write down XML documents using its contained GXmlNode children or other XML structures.
struct GXmlGDocumentClass { GXmlGNodeClass parent_class; gboolean (*save) (GXmlGDocument* self, GCancellable* cancellable, GError** error); gboolean (*save_as) (GXmlGDocument* self, GFile* f, GCancellable* cancellable, GError** error); };
The class structure for GXML_TYPE_GDOCUMENT
. All the fields in this structure are private and should never be accessed directly.
virtual method called by |
||
virtual method called by |
#define GXML_TYPE_GIMPLEMENTATION (gxml_gimplementation_get_type ())
The type for GXmlGImplementation.
struct GXmlGImplementation { GObject parent_instance; GXmlGImplementationPrivate * priv; };
struct GXmlGImplementationClass { GObjectClass parent_class; };
The class structure for GXML_TYPE_GIMPLEMENTATION
. All the fields in this structure are private and should never be accessed directly.
#define GXML_TYPE_GDOCUMENT_TYPE (gxml_gdocument_type_get_type ())
The type for GXmlGDocumentType.
struct GXmlGDocumentType { GXmlGChildNode parent_instance; GXmlGDocumentTypePrivate * priv; gchar* _name; gchar* _public_id; gchar* _system_id; };
struct GXmlGDocumentTypeClass { GXmlGChildNodeClass parent_class; };
The class structure for GXML_TYPE_GDOCUMENT_TYPE
. All the fields in this structure are private and should never be accessed directly.
#define GXML_TYPE_GDOCUMENT_FRAGMENT (gxml_gdocument_fragment_get_type ())
The type for GXmlGDocumentFragment.
struct GXmlGDocumentFragment { GXmlGDocument parent_instance; GXmlGDocumentFragmentPrivate * priv; };
struct GXmlGDocumentFragmentClass { GXmlGDocumentClass parent_class; };
The class structure for GXML_TYPE_GDOCUMENT_FRAGMENT
. All the fields in this structure are private and should never be accessed directly.
#define GXML_TYPE_GDOM_NODE_ITERATOR (gxml_gdom_node_iterator_get_type ())
The type for GXmlGDomNodeIterator.
struct GXmlGDomNodeIterator { GObject parent_instance; GXmlGDomNodeIteratorPrivate * priv; GXmlDomNode* _root; GXmlDomNode* _reference_node; gboolean _pointer_before_reference_node; gint _what_to_show; GXmlDomNodeFilter* _filter; };
struct GXmlGDomNodeIteratorClass { GObjectClass parent_class; };
The class structure for GXML_TYPE_GDOM_NODE_ITERATOR
. All the fields in this structure are private and should never be accessed directly.
#define GXML_TYPE_GDOM_TREE_WALKER (gxml_gdom_tree_walker_get_type ())
The type for GXmlGDomTreeWalker.
struct GXmlGDomTreeWalker { GObject parent_instance; GXmlGDomTreeWalkerPrivate * priv; GXmlDomNode* _root; gint _what_to_show; GXmlDomNodeFilter* _filter; GXmlDomNode* _current_node; };
struct GXmlGDomTreeWalkerClass { GObjectClass parent_class; };
The class structure for GXML_TYPE_GDOM_TREE_WALKER
. All the fields in this structure are private and should never be accessed directly.