GXmlGomDocument

GXmlGomDocument

Functions

Types and Values

Description

Functions

gxml_gom_document_write_file ()

void
gxml_gom_document_write_file (GXmlGomDocument *self,
                              GFile *file,
                              GError **error);

Writes a dump XML representation of document to a file.

Parameters

self

the GXmlGomDocument instance

 

file

 

 

error

location to store the error occuring, or NULL to ignore

 

gxml_gom_document_write_stream ()

void
gxml_gom_document_write_stream (GXmlGomDocument *self,
                                GOutputStream *stream,
                                GError **error);

Writes a dump XML representation of document to a stream.

Parameters

self

the GXmlGomDocument instance

 

stream

 

 

error

location to store the error occuring, or NULL to ignore

 

gxml_gom_document_read_from_file ()

void
gxml_gom_document_read_from_file (GXmlGomDocument *self,
                                  GFile *file,
                                  GError **error);

Reads a file contents and parse it to document.

Parameters

self

the GXmlGomDocument instance

 

file

 

 

error

location to store the error occuring, or NULL to ignore

 

gxml_gom_document_read_from_string ()

void
gxml_gom_document_read_from_string (GXmlGomDocument *self,
                                    const gchar *str,
                                    GError **error);

Reads a string and parse it to document.

Parameters

self

the GXmlGomDocument instance

 

str

 

 

error

location to store the error occuring, or NULL to ignore

 

gxml_gom_document_new ()

GXmlGomDocument *
gxml_gom_document_new (void);

gxml_gom_document_new_from_path ()

GXmlGomDocument *
gxml_gom_document_new_from_path (const gchar *path,
                                 GError **error);

Parameters

path

 

 

error

location to store the error occuring, or NULL to ignore

 

gxml_gom_document_new_from_uri ()

GXmlGomDocument *
gxml_gom_document_new_from_uri (const gchar *uri,
                                GError **error);

Creates a document parsing a URI file.

Parameters

uri

 

 

error

location to store the error occuring, or NULL to ignore

 

gxml_gom_document_new_from_file ()

GXmlGomDocument *
gxml_gom_document_new_from_file (GFile *file,
                                 GError **error);

Creates a document parsing a file.

Parameters

file

 

 

error

location to store the error occuring, or NULL to ignore

 

gxml_gom_document_new_from_stream ()

GXmlGomDocument *
gxml_gom_document_new_from_stream (GInputStream *stream,
                                   GError **error);

Creates a document parsing a stream.

Parameters

stream

 

 

error

location to store the error occuring, or NULL to ignore

 

gxml_gom_document_new_from_string ()

GXmlGomDocument *
gxml_gom_document_new_from_string (const gchar *str,
                                   GError **error);

Creates a document parsing a string.

Parameters

str

 

 

error

location to store the error occuring, or NULL to ignore

 

gxml_gom_implementation_new ()

GXmlGomImplementation *
gxml_gom_implementation_new (void);

gxml_gom_document_type_new_with_name ()

GXmlGomDocumentType *
gxml_gom_document_type_new_with_name (GXmlDomDocument *doc,
                                      const gchar *name);

Parameters

doc

 

 

name

 

 

gxml_gom_document_type_new_with_ids ()

GXmlGomDocumentType *
gxml_gom_document_type_new_with_ids (GXmlDomDocument *doc,
                                     const gchar *name,
                                     const gchar *public_id,
                                     const gchar *system_id);

Parameters

doc

 

 

name

 

 

public_id

 

 

system_id

 

 

gxml_gom_document_type_new ()

GXmlGomDocumentType *
gxml_gom_document_type_new (void);

gxml_gom_document_fragment_new ()

GXmlGomDocumentFragment *
gxml_gom_document_fragment_new (GXmlDomDocument *doc);

Parameters

doc

 

 

Types and Values

GXML_TYPE_GOM_DOCUMENT

#define GXML_TYPE_GOM_DOCUMENT (gxml_gom_document_get_type ())

The type for GXmlGomDocument.


struct 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

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.

Members


GXML_TYPE_GOM_IMPLEMENTATION

#define GXML_TYPE_GOM_IMPLEMENTATION (gxml_gom_implementation_get_type ())

The type for GXmlGomImplementation.


struct GXmlGomImplementation

struct GXmlGomImplementation {
	GObject parent_instance;
	GXmlGomImplementationPrivate * priv;
};

struct GXmlGomImplementationClass

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.

Members


GXML_TYPE_GOM_DOCUMENT_TYPE

#define GXML_TYPE_GOM_DOCUMENT_TYPE (gxml_gom_document_type_get_type ())

The type for GXmlGomDocumentType.


struct GXmlGomDocumentType

struct GXmlGomDocumentType {
	GXmlGomNode parent_instance;
	GXmlGomDocumentTypePrivate * priv;
	gchar* _name;
	gchar* _public_id;
	gchar* _system_id;
};

struct GXmlGomDocumentTypeClass

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.

Members


GXML_TYPE_GOM_DOCUMENT_FRAGMENT

#define GXML_TYPE_GOM_DOCUMENT_FRAGMENT (gxml_gom_document_fragment_get_type ())

The type for GXmlGomDocumentFragment.


struct GXmlGomDocumentFragment

struct GXmlGomDocumentFragment {
	GXmlGomNode parent_instance;
	GXmlGomDocumentFragmentPrivate * priv;
};

struct GXmlGomDocumentFragmentClass

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.

Members