Gdome2 Reference Manual | |||
---|---|---|---|
<<< Previous Page | Home | Up | Next Page >>> |
typedef enum { GDOME_ELEMENT_NODE = 1, GDOME_ATTRIBUTE_NODE = 2, GDOME_TEXT_NODE = 3, GDOME_CDATA_SECTION_NODE = 4, GDOME_ENTITY_REFERENCE_NODE = 5, GDOME_ENTITY_NODE = 6, GDOME_PROCESSING_INSTRUCTION_NODE = 7, GDOME_COMMENT_NODE = 8, GDOME_DOCUMENT_NODE = 9, GDOME_DOCUMENT_TYPE_NODE = 10, GDOME_DOCUMENT_FRAGMENT_NODE = 11, GDOME_NOTATION_NODE = 12, GDOME_XPATH_NAMESPACE_NODE = 13 } GdomeNodeType; |
typedef enum { GDOME_NOEXCEPTION_ERR = 0, GDOME_INDEX_SIZE_ERR = 1, GDOME_DOMSTRING_SIZE_ERR = 2, GDOME_HIERARCHY_REQUEST_ERR = 3, GDOME_WRONG_DOCUMENT_ERR = 4, GDOME_INVALID_CHARACTER_ERR = 5, GDOME_NO_DATA_ALLOWED_ERR = 6, GDOME_NO_MODIFICATION_ALLOWED_ERR = 7, GDOME_NOT_FOUND_ERR = 8, GDOME_NOT_SUPPORTED_ERR = 9, GDOME_INUSE_ATTRIBUTE_ERR = 10, GDOME_INVALID_STATE_ERR = 11, GDOME_SYNTAX_ERR = 12, GDOME_INVALID_MODIFICATION_ERR = 13, GDOME_NAMESPACE_ERR = 14, GDOME_INVALID_ACCESS_ERR = 15, GDOME_NULL_POINTER_ERR = 100 } GdomeExceptionCode; |
typedef enum { GDOME_READONLY_NODE = 0, GDOME_READWRITE_NODE = 1 } GdomeAccessType; |
typedef enum { GDOME_LOAD_PARSING = 0, GDOME_LOAD_VALIDATING = 1, GDOME_LOAD_RECOVERING = 2, GDOME_LOAD_SUBSTITUTE_ENTITIES = 4, GDOME_LOAD_COMPLETE_ATTRS = 8 } GdomeLoadingCode; |
typedef enum { GDOME_SAVE_STANDARD = 0, GDOME_SAVE_LIBXML_INDENT = 1 } GdomeSavingCode; |
struct GdomeEntitiesTableEntry { gchar *name; gchar *value; gchar *publicID; gchar *systemID; }; |
#define GDOME_A(node) gdome_cast_a((GdomeNode *)node) |
Cast a ganeral GdomeNode reference to a GdomeAttr one.
#define GDOME_C(node) gdome_cast_c((GdomeNode *)node) |
Cast a ganeral GdomeNode reference to a GdomeComment one.
#define GDOME_CD(node) gdome_cast_cd((GdomeNode *)node) |
Cast a ganeral GdomeNode reference to a GdomeCharacterData one.
#define GDOME_CDS(node) gdome_cast_cds((GdomeNode *)node) |
Cast a ganeral GdomeNode reference to a GdomeCDATASection one.
#define GDOME_DF(node) gdome_cast_df((GdomeNode *)node) |
Cast a ganeral GdomeNode reference to a GdomeDocumentFragment one.
#define GDOME_DOC(node) gdome_cast_doc((GdomeNode *)node) |
Cast a ganeral GdomeNode reference to a GdomeDocument one.
#define GDOME_DT(node) gdome_cast_dt((GdomeNode *)node) |
Cast a ganeral GdomeNode reference to a GdomeDocumentType one.
#define GDOME_EL(node) gdome_cast_el((GdomeNode *)node) |
Cast a ganeral GdomeNode reference to a GdomeElement one.
#define GDOME_ENT(node) gdome_cast_ent((GdomeNode *)node) |
Cast a ganeral GdomeNode reference to a GdomeEntity one.
#define GDOME_ER(node) gdome_cast_er((GdomeNode *)node) |
Cast a ganeral GdomeNode reference to a GdomeEntityReference one.
#define GDOME_N(node) gdome_cast_n((GdomeNode *)node) |
Cast a ganeral GdomeNode reference to a GdomeNode one.
#define GDOME_NOT(node) gdome_cast_not((GdomeNode *)node) |
Cast a ganeral GdomeNode reference to a GdomeNotation one.
#define GDOME_PI(node) gdome_cast_pi((GdomeNode *)node) |
Cast a ganeral GdomeNode reference to a GdomeProcessingInstruction one.
#define GDOME_T(node) gdome_cast_t((GdomeNode *)node) |
Cast a ganeral GdomeNode reference to a GdomeText one.
#define GDOME_EVNTT(node) gdome_cast_evntt((GdomeNode *)node) |
Cast a ganeral GdomeNode reference to a GdomeEventTarget one.
typedef enum { GDOME_EXCEPTION_TYPE_MASK = 0x00FF0000, GDOME_EXCEPTION_CODE_MASK = 0x0000FFFF } GdomeExceptionMasks; |
typedef enum { GDOME_CORE_EXCEPTION = 0 << 16, GDOME_EVENT_EXCEPTION = 1 << 16, GDOME_XPATH_EXCEPTION = 2 << 16 } GdomeExceptionType; |
struct GdomeDOMString { gchar *str; gint refcnt; void (*unref) (GdomeDOMString *self); }; |
GdomeDOMString* gdome_str_mkref (const |
Creates a GdomeDOMString from a statically allocated string.
GdomeDOMString* gdome_str_mkref_own ( |
Creates a GdomeDOMString from a dynamically allocated gchar buffer.
GdomeDOMString* gdome_str_mkref_dup (const |
Creates a GdomeDOMString from a static or dynamically allocated gchar buffer, but a copy of the initializing string is done before construction.
void gdome_str_ref (GdomeDOMString *self); |
Increase the reference count of the specified GdomeDOMString.
void gdome_str_unref (GdomeDOMString *self); |
Decrease the reference count of the specified GdomeDOMString. Free the structure if the object will have zero reference.
GdomeBoolean gdome_str_equalIgnoreCase (GdomeDOMString *self, GdomeDOMString *str); |
GdomeDOMString* gdome_str_concat (GdomeDOMString *self, GdomeDOMString *str); |
self : | DOMString Object ref |
str : | DOMString to be appended |
Returns : | a new GdomeDOMString that is the concatenation of this string with str. If str is NULL a new reference to this string is returned. |
GdomeBoolean gdome_str_endsWith (GdomeDOMString *self, GdomeDOMString *suffix); |
GdomeBoolean gdome_str_startsWith (GdomeDOMString *self, GdomeDOMString *prefix); |