Top | ![]() |
![]() |
![]() |
![]() |
#define | GXML_TYPE_GOM_DOCUMENT |
struct | GXmlGomDocument |
struct | GXmlGomDocumentClass |
#define | GXML_TYPE_GOM_IMPLEMENTATION |
struct | GXmlGomImplementation |
struct | GXmlGomImplementationClass |
#define | GXML_TYPE_GOM_DOCUMENT_TYPE |
struct | GXmlGomDocumentType |
struct | GXmlGomDocumentTypeClass |
#define | GXML_TYPE_GOM_DOCUMENT_FRAGMENT |
struct | GXmlGomDocumentFragment |
struct | GXmlGomDocumentFragmentClass |
void gxml_gom_document_write_file (GXmlGomDocument *self
,GFile *file
,GError **error
);
Writes a dump XML representation of document to a file.
self |
the GXmlGomDocument instance |
|
file |
|
|
error |
location to store the error occuring, or |
void gxml_gom_document_write_stream (GXmlGomDocument *self
,GOutputStream *stream
,GError **error
);
Writes a dump XML representation of document to a stream.
self |
the GXmlGomDocument instance |
|
stream |
|
|
error |
location to store the error occuring, or |
void gxml_gom_document_read_from_file (GXmlGomDocument *self
,GFile *file
,GError **error
);
Reads a file contents and parse it to document.
self |
the GXmlGomDocument instance |
|
file |
|
|
error |
location to store the error occuring, or |
void gxml_gom_document_read_from_string (GXmlGomDocument *self
,const gchar *str
,GError **error
);
Reads a string and parse it to document.
self |
the GXmlGomDocument instance |
|
str |
|
|
error |
location to store the error occuring, or |
GXmlGomDocument * gxml_gom_document_new_from_path (const gchar *path
,GError **error
);
GXmlGomDocument * gxml_gom_document_new_from_uri (const gchar *uri
,GError **error
);
Creates a document parsing a URI file.
GXmlGomDocument * gxml_gom_document_new_from_file (GFile *file
,GError **error
);
Creates a document parsing a file.
GXmlGomDocument * gxml_gom_document_new_from_stream (GInputStream *stream
,GError **error
);
Creates a document parsing a stream.
GXmlGomDocument * gxml_gom_document_new_from_string (const gchar *str
,GError **error
);
Creates a document parsing a string.
GXmlGomDocumentType * gxml_gom_document_type_new_with_name (GXmlDomDocument *doc
,const gchar *name
);
GXmlGomDocumentType * gxml_gom_document_type_new_with_ids (GXmlDomDocument *doc
,const gchar *name
,const gchar *public_id
,const gchar *system_id
);
GXmlGomDocumentFragment *
gxml_gom_document_fragment_new (GXmlDomDocument *doc
);
#define GXML_TYPE_GOM_DOCUMENT (gxml_gom_document_get_type ())
The type for GXmlGomDocument.
struct GXmlGomDocument { GXmlGomNode parent_instance; GXmlGomDocumentPrivate * priv; GXmlDomImplementation* _implementation; gchar* _url; gchar* _origin; gchar* _compat_mode; gchar* _character_set; gchar* _content_type; GXmlDomEvent* _constructor; };
struct GXmlGomDocumentClass { GXmlGomNodeClass parent_class; };
The class structure for GXML_TYPE_GOM_DOCUMENT
. All the fields in this structure are private and should never be accessed directly.
#define GXML_TYPE_GOM_IMPLEMENTATION (gxml_gom_implementation_get_type ())
The type for GXmlGomImplementation.
struct GXmlGomImplementation { GObject parent_instance; GXmlGomImplementationPrivate * priv; };
struct GXmlGomImplementationClass { GObjectClass parent_class; };
The class structure for GXML_TYPE_GOM_IMPLEMENTATION
. All the fields in this structure are private and should never be accessed directly.
#define GXML_TYPE_GOM_DOCUMENT_TYPE (gxml_gom_document_type_get_type ())
The type for GXmlGomDocumentType.
struct GXmlGomDocumentType { GXmlGomNode parent_instance; GXmlGomDocumentTypePrivate * priv; gchar* _name; gchar* _public_id; gchar* _system_id; };
struct GXmlGomDocumentTypeClass { GXmlGomNodeClass parent_class; };
The class structure for GXML_TYPE_GOM_DOCUMENT_TYPE
. All the fields in this structure are private and should never be accessed directly.
#define GXML_TYPE_GOM_DOCUMENT_FRAGMENT (gxml_gom_document_fragment_get_type ())
The type for GXmlGomDocumentFragment.
struct GXmlGomDocumentFragment { GXmlGomNode parent_instance; GXmlGomDocumentFragmentPrivate * priv; };
struct GXmlGomDocumentFragmentClass { GXmlGomNodeClass parent_class; };
The class structure for GXML_TYPE_GOM_DOCUMENT_FRAGMENT
. All the fields in this structure are private and should never be accessed directly.