libSBML C API
libSBML 5.8.0 C API
|
Class definition of XMLNode, a node in an XML document tree.
Functions | |
LIBLAX_EXTERN int | XMLNode_addAttr (XMLNode_t *node, const char *name, const char *value) |
LIBLAX_EXTERN int | XMLNode_addAttrWithNS (XMLNode_t *node, const char *name, const char *value, const char *namespaceURI, const char *prefix) |
LIBLAX_EXTERN int | XMLNode_addAttrWithTriple (XMLNode_t *node, const XMLTriple_t *triple, const char *value) |
LIBLAX_EXTERN int | XMLNode_addChild (XMLNode_t *node, const XMLNode_t *child) |
LIBLAX_EXTERN int | XMLNode_addNamespace (XMLNode_t *node, const char *uri, const char *prefix) |
LIBLAX_EXTERN int | XMLNode_clearAttributes (XMLNode_t *node) |
LIBLAX_EXTERN int | XMLNode_clearNamespaces (XMLNode_t *node) |
LIBLAX_EXTERN XMLNode_t * | XMLNode_clone (const XMLNode_t *c) |
LIBLAX_EXTERN XMLNode_t * | XMLNode_convertStringToXMLNode (const char *xml, const XMLNamespaces_t *xmlns) |
LIBLAX_EXTERN const char * | XMLNode_convertXMLNodeToString (const XMLNode_t *node) |
LIBLAX_EXTERN XMLNode_t * | XMLNode_create (void) |
LIBLAX_EXTERN XMLNode_t * | XMLNode_createEndElement (const XMLTriple_t *triple) |
LIBLAX_EXTERN XMLNode_t * | XMLNode_createFromToken (const XMLToken_t *token) |
LIBLAX_EXTERN XMLNode_t * | XMLNode_createStartElement (const XMLTriple_t *triple, const XMLAttributes_t *attr) |
LIBLAX_EXTERN XMLNode_t * | XMLNode_createStartElementNS (const XMLTriple_t *triple, const XMLAttributes_t *attr, const XMLNamespaces_t *ns) |
LIBLAX_EXTERN XMLNode_t * | XMLNode_createTextNode (const char *text) |
LIBLAX_EXTERN int | XMLNode_equals (const XMLNode_t *node, const XMLNode_t *other) |
LIBLAX_EXTERN void | XMLNode_free (XMLNode_t *node) |
LIBLAX_EXTERN const XMLAttributes_t * | XMLNode_getAttributes (const XMLNode_t *node) |
LIBLAX_EXTERN int | XMLNode_getAttributesLength (const XMLNode_t *node) |
LIBLAX_EXTERN int | XMLNode_getAttrIndex (const XMLNode_t *node, const char *name, const char *uri) |
LIBLAX_EXTERN int | XMLNode_getAttrIndexByTriple (const XMLNode_t *node, const XMLTriple_t *triple) |
LIBLAX_EXTERN char * | XMLNode_getAttrName (const XMLNode_t *node, int index) |
LIBLAX_EXTERN char * | XMLNode_getAttrPrefix (const XMLNode_t *node, int index) |
LIBLAX_EXTERN char * | XMLNode_getAttrPrefixedName (const XMLNode_t *node, int index) |
LIBLAX_EXTERN char * | XMLNode_getAttrURI (const XMLNode_t *node, int index) |
LIBLAX_EXTERN char * | XMLNode_getAttrValue (const XMLNode_t *node, int index) |
LIBLAX_EXTERN char * | XMLNode_getAttrValueByName (const XMLNode_t *node, const char *name) |
LIBLAX_EXTERN char * | XMLNode_getAttrValueByNS (const XMLNode_t *node, const char *name, const char *uri) |
LIBLAX_EXTERN char * | XMLNode_getAttrValueByTriple (const XMLNode_t *node, const XMLTriple_t *triple) |
LIBLAX_EXTERN const char * | XMLNode_getCharacters (const XMLNode_t *node) |
LIBLAX_EXTERN const XMLNode_t * | XMLNode_getChild (const XMLNode_t *node, const int n) |
LIBLAX_EXTERN const XMLNode_t * | XMLNode_getChildForName (const XMLNode_t *node, const char *name) |
LIBLAX_EXTERN XMLNode_t * | XMLNode_getChildForNameNC (XMLNode_t *node, const char *name) |
LIBLAX_EXTERN XMLNode_t * | XMLNode_getChildNC (XMLNode_t *node, const unsigned int n) |
LIBLAX_EXTERN int | XMLNode_getIndex (const XMLNode_t *node, const char *name) |
LIBLAX_EXTERN const char * | XMLNode_getName (const XMLNode_t *node) |
LIBLAX_EXTERN int | XMLNode_getNamespaceIndex (const XMLNode_t *node, const char *uri) |
LIBLAX_EXTERN int | XMLNode_getNamespaceIndexByPrefix (const XMLNode_t *node, const char *prefix) |
LIBLAX_EXTERN char * | XMLNode_getNamespacePrefix (const XMLNode_t *node, int index) |
LIBLAX_EXTERN char * | XMLNode_getNamespacePrefixByURI (const XMLNode_t *node, const char *uri) |
LIBLAX_EXTERN const XMLNamespaces_t * | XMLNode_getNamespaces (const XMLNode_t *node) |
LIBLAX_EXTERN int | XMLNode_getNamespacesLength (const XMLNode_t *node) |
LIBLAX_EXTERN char * | XMLNode_getNamespaceURI (const XMLNode_t *node, int index) |
LIBLAX_EXTERN char * | XMLNode_getNamespaceURIByPrefix (const XMLNode_t *node, const char *prefix) |
LIBLAX_EXTERN unsigned int | XMLNode_getNumChildren (const XMLNode_t *node) |
LIBLAX_EXTERN const char * | XMLNode_getPrefix (const XMLNode_t *node) |
LIBLAX_EXTERN const char * | XMLNode_getURI (const XMLNode_t *node) |
LIBLAX_EXTERN int | XMLNode_hasAttr (const XMLNode_t *node, int index) |
LIBLAX_EXTERN int | XMLNode_hasAttrWithName (const XMLNode_t *node, const char *name) |
LIBLAX_EXTERN int | XMLNode_hasAttrWithNS (const XMLNode_t *node, const char *name, const char *uri) |
LIBLAX_EXTERN int | XMLNode_hasAttrWithTriple (const XMLNode_t *node, const XMLTriple_t *triple) |
LIBLAX_EXTERN int | XMLNode_hasChild (const XMLNode_t *node, const char *name) |
LIBLAX_EXTERN int | XMLNode_hasNamespaceNS (const XMLNode_t *node, const char *uri, const char *prefix) |
LIBLAX_EXTERN int | XMLNode_hasNamespacePrefix (const XMLNode_t *node, const char *prefix) |
LIBLAX_EXTERN int | XMLNode_hasNamespaceURI (const XMLNode_t *node, const char *uri) |
LIBLAX_EXTERN XMLNode_t * | XMLNode_insertChild (XMLNode_t *node, unsigned int n, const XMLNode_t *child) |
LIBLAX_EXTERN int | XMLNode_isAttributesEmpty (const XMLNode_t *node) |
LIBLAX_EXTERN int | XMLNode_isElement (const XMLNode_t *node) |
LIBLAX_EXTERN int | XMLNode_isEnd (const XMLNode_t *node) |
LIBLAX_EXTERN int | XMLNode_isEndFor (const XMLNode_t *node, const XMLNode_t *element) |
LIBLAX_EXTERN int | XMLNode_isEOF (const XMLNode_t *node) |
LIBLAX_EXTERN int | XMLNode_isNamespacesEmpty (const XMLNode_t *node) |
LIBLAX_EXTERN int | XMLNode_isStart (const XMLNode_t *node) |
LIBLAX_EXTERN int | XMLNode_isText (const XMLNode_t *node) |
LIBLAX_EXTERN int | XMLNode_removeAttr (XMLNode_t *node, int n) |
LIBLAX_EXTERN int | XMLNode_removeAttrByName (XMLNode_t *node, const char *name) |
LIBLAX_EXTERN int | XMLNode_removeAttrByNS (XMLNode_t *node, const char *name, const char *uri) |
LIBLAX_EXTERN int | XMLNode_removeAttrByTriple (XMLNode_t *node, const XMLTriple_t *triple) |
LIBLAX_EXTERN XMLNode_t * | XMLNode_removeChild (XMLNode_t *node, unsigned int n) |
LIBLAX_EXTERN int | XMLNode_removeChildren (XMLNode_t *node) |
LIBLAX_EXTERN int | XMLNode_removeNamespace (XMLNode_t *node, int index) |
LIBLAX_EXTERN int | XMLNode_removeNamespaceByPrefix (XMLNode_t *node, const char *prefix) |
LIBLAX_EXTERN int | XMLNode_setAttributes (XMLNode_t *node, const XMLAttributes_t *attributes) |
LIBLAX_EXTERN int | XMLNode_setEnd (XMLNode_t *node) |
LIBLAX_EXTERN int | XMLNode_setEOF (XMLNode_t *node) |
LIBLAX_EXTERN int | XMLNode_setNamespaces (XMLNode_t *node, const XMLNamespaces_t *namespaces) |
LIBLAX_EXTERN int | XMLNode_setTriple (XMLNode_t *node, const XMLTriple_t *triple) |
LIBLAX_EXTERN char * | XMLNode_toXMLString (const XMLNode_t *node) |
LIBLAX_EXTERN int | XMLNode_unsetEnd (XMLNode_t *node) |
LIBLAX_EXTERN int XMLNode_addAttr | ( | XMLNode_t * | node, |
const char * | name, | ||
const char * | value | ||
) |
LIBLAX_EXTERN int XMLNode_addAttrWithNS | ( | XMLNode_t * | node, |
const char * | name, | ||
const char * | value, | ||
const char * | namespaceURI, | ||
const char * | prefix | ||
) |
LIBLAX_EXTERN int XMLNode_addAttrWithTriple | ( | XMLNode_t * | node, |
const XMLTriple_t * | triple, | ||
const char * | value | ||
) |
LIBLAX_EXTERN int XMLNode_addChild | ( | XMLNode_t * | node, |
const XMLNode_t * | child | ||
) |
LIBLAX_EXTERN int XMLNode_addNamespace | ( | XMLNode_t * | node, |
const char * | uri, | ||
const char * | prefix | ||
) |
LIBLAX_EXTERN int XMLNode_clearAttributes | ( | XMLNode_t * | node | ) |
LIBLAX_EXTERN int XMLNode_clearNamespaces | ( | XMLNode_t * | node | ) |
LIBLAX_EXTERN XMLNode_t* XMLNode_clone | ( | const XMLNode_t * | c | ) |
LIBLAX_EXTERN XMLNode_t* XMLNode_convertStringToXMLNode | ( | const char * | xml, |
const XMLNamespaces_t * | xmlns | ||
) |
LIBLAX_EXTERN const char* XMLNode_convertXMLNodeToString | ( | const XMLNode_t * | node | ) |
LIBLAX_EXTERN XMLNode_t* XMLNode_create | ( | void | ) |
LIBLAX_EXTERN XMLNode_t* XMLNode_createEndElement | ( | const XMLTriple_t * | triple | ) |
LIBLAX_EXTERN XMLNode_t* XMLNode_createFromToken | ( | const XMLToken_t * | token | ) |
LIBLAX_EXTERN XMLNode_t* XMLNode_createStartElement | ( | const XMLTriple_t * | triple, |
const XMLAttributes_t * | attr | ||
) |
LIBLAX_EXTERN XMLNode_t* XMLNode_createStartElementNS | ( | const XMLTriple_t * | triple, |
const XMLAttributes_t * | attr, | ||
const XMLNamespaces_t * | ns | ||
) |
LIBLAX_EXTERN XMLNode_t* XMLNode_createTextNode | ( | const char * | text | ) |
LIBLAX_EXTERN int XMLNode_equals | ( | const XMLNode_t * | node, |
const XMLNode_t * | other | ||
) |
LIBLAX_EXTERN void XMLNode_free | ( | XMLNode_t * | node | ) |
LIBLAX_EXTERN const XMLAttributes_t* XMLNode_getAttributes | ( | const XMLNode_t * | node | ) |
LIBLAX_EXTERN int XMLNode_getAttributesLength | ( | const XMLNode_t * | node | ) |
LIBLAX_EXTERN int XMLNode_getAttrIndex | ( | const XMLNode_t * | node, |
const char * | name, | ||
const char * | uri | ||
) |
LIBLAX_EXTERN int XMLNode_getAttrIndexByTriple | ( | const XMLNode_t * | node, |
const XMLTriple_t * | triple | ||
) |
LIBLAX_EXTERN char* XMLNode_getAttrName | ( | const XMLNode_t * | node, |
int | index | ||
) |
LIBLAX_EXTERN char* XMLNode_getAttrPrefix | ( | const XMLNode_t * | node, |
int | index | ||
) |
LIBLAX_EXTERN char* XMLNode_getAttrPrefixedName | ( | const XMLNode_t * | node, |
int | index | ||
) |
LIBLAX_EXTERN char* XMLNode_getAttrURI | ( | const XMLNode_t * | node, |
int | index | ||
) |
LIBLAX_EXTERN char* XMLNode_getAttrValue | ( | const XMLNode_t * | node, |
int | index | ||
) |
LIBLAX_EXTERN char* XMLNode_getAttrValueByName | ( | const XMLNode_t * | node, |
const char * | name | ||
) |
LIBLAX_EXTERN char* XMLNode_getAttrValueByNS | ( | const XMLNode_t * | node, |
const char * | name, | ||
const char * | uri | ||
) |
LIBLAX_EXTERN char* XMLNode_getAttrValueByTriple | ( | const XMLNode_t * | node, |
const XMLTriple_t * | triple | ||
) |
LIBLAX_EXTERN const char* XMLNode_getCharacters | ( | const XMLNode_t * | node | ) |
LIBLAX_EXTERN const XMLNode_t* XMLNode_getChild | ( | const XMLNode_t * | node, |
const int | n | ||
) |
LIBLAX_EXTERN const XMLNode_t* XMLNode_getChildForName | ( | const XMLNode_t * | node, |
const char * | name | ||
) |
LIBLAX_EXTERN XMLNode_t* XMLNode_getChildForNameNC | ( | XMLNode_t * | node, |
const char * | name | ||
) |
LIBLAX_EXTERN XMLNode_t* XMLNode_getChildNC | ( | XMLNode_t * | node, |
const unsigned int | n | ||
) |
LIBLAX_EXTERN int XMLNode_getIndex | ( | const XMLNode_t * | node, |
const char * | name | ||
) |
LIBLAX_EXTERN const char* XMLNode_getName | ( | const XMLNode_t * | node | ) |
LIBLAX_EXTERN int XMLNode_getNamespaceIndex | ( | const XMLNode_t * | node, |
const char * | uri | ||
) |
LIBLAX_EXTERN int XMLNode_getNamespaceIndexByPrefix | ( | const XMLNode_t * | node, |
const char * | prefix | ||
) |
LIBLAX_EXTERN char* XMLNode_getNamespacePrefix | ( | const XMLNode_t * | node, |
int | index | ||
) |
LIBLAX_EXTERN char* XMLNode_getNamespacePrefixByURI | ( | const XMLNode_t * | node, |
const char * | uri | ||
) |
LIBLAX_EXTERN const XMLNamespaces_t* XMLNode_getNamespaces | ( | const XMLNode_t * | node | ) |
LIBLAX_EXTERN int XMLNode_getNamespacesLength | ( | const XMLNode_t * | node | ) |
LIBLAX_EXTERN char* XMLNode_getNamespaceURI | ( | const XMLNode_t * | node, |
int | index | ||
) |
LIBLAX_EXTERN char* XMLNode_getNamespaceURIByPrefix | ( | const XMLNode_t * | node, |
const char * | prefix | ||
) |
LIBLAX_EXTERN unsigned int XMLNode_getNumChildren | ( | const XMLNode_t * | node | ) |
LIBLAX_EXTERN const char* XMLNode_getPrefix | ( | const XMLNode_t * | node | ) |
LIBLAX_EXTERN const char* XMLNode_getURI | ( | const XMLNode_t * | node | ) |
LIBLAX_EXTERN int XMLNode_hasAttr | ( | const XMLNode_t * | node, |
int | index | ||
) |
LIBLAX_EXTERN int XMLNode_hasAttrWithName | ( | const XMLNode_t * | node, |
const char * | name | ||
) |
LIBLAX_EXTERN int XMLNode_hasAttrWithNS | ( | const XMLNode_t * | node, |
const char * | name, | ||
const char * | uri | ||
) |
LIBLAX_EXTERN int XMLNode_hasAttrWithTriple | ( | const XMLNode_t * | node, |
const XMLTriple_t * | triple | ||
) |
LIBLAX_EXTERN int XMLNode_hasChild | ( | const XMLNode_t * | node, |
const char * | name | ||
) |
LIBLAX_EXTERN int XMLNode_hasNamespaceNS | ( | const XMLNode_t * | node, |
const char * | uri, | ||
const char * | prefix | ||
) |
LIBLAX_EXTERN int XMLNode_hasNamespacePrefix | ( | const XMLNode_t * | node, |
const char * | prefix | ||
) |
LIBLAX_EXTERN int XMLNode_hasNamespaceURI | ( | const XMLNode_t * | node, |
const char * | uri | ||
) |
LIBLAX_EXTERN XMLNode_t* XMLNode_insertChild | ( | XMLNode_t * | node, |
unsigned int | n, | ||
const XMLNode_t * | child | ||
) |
LIBLAX_EXTERN int XMLNode_isAttributesEmpty | ( | const XMLNode_t * | node | ) |
LIBLAX_EXTERN int XMLNode_isElement | ( | const XMLNode_t * | node | ) |
LIBLAX_EXTERN int XMLNode_isEnd | ( | const XMLNode_t * | node | ) |
LIBLAX_EXTERN int XMLNode_isEndFor | ( | const XMLNode_t * | node, |
const XMLNode_t * | element | ||
) |
LIBLAX_EXTERN int XMLNode_isEOF | ( | const XMLNode_t * | node | ) |
LIBLAX_EXTERN int XMLNode_isNamespacesEmpty | ( | const XMLNode_t * | node | ) |
LIBLAX_EXTERN int XMLNode_isStart | ( | const XMLNode_t * | node | ) |
LIBLAX_EXTERN int XMLNode_isText | ( | const XMLNode_t * | node | ) |
LIBLAX_EXTERN int XMLNode_removeAttr | ( | XMLNode_t * | node, |
int | n | ||
) |
LIBLAX_EXTERN int XMLNode_removeAttrByName | ( | XMLNode_t * | node, |
const char * | name | ||
) |
LIBLAX_EXTERN int XMLNode_removeAttrByNS | ( | XMLNode_t * | node, |
const char * | name, | ||
const char * | uri | ||
) |
LIBLAX_EXTERN int XMLNode_removeAttrByTriple | ( | XMLNode_t * | node, |
const XMLTriple_t * | triple | ||
) |
LIBLAX_EXTERN XMLNode_t* XMLNode_removeChild | ( | XMLNode_t * | node, |
unsigned int | n | ||
) |
LIBLAX_EXTERN int XMLNode_removeChildren | ( | XMLNode_t * | node | ) |
LIBLAX_EXTERN int XMLNode_removeNamespace | ( | XMLNode_t * | node, |
int | index | ||
) |
LIBLAX_EXTERN int XMLNode_removeNamespaceByPrefix | ( | XMLNode_t * | node, |
const char * | prefix | ||
) |
LIBLAX_EXTERN int XMLNode_setAttributes | ( | XMLNode_t * | node, |
const XMLAttributes_t * | attributes | ||
) |
LIBLAX_EXTERN int XMLNode_setEnd | ( | XMLNode_t * | node | ) |
LIBLAX_EXTERN int XMLNode_setEOF | ( | XMLNode_t * | node | ) |
LIBLAX_EXTERN int XMLNode_setNamespaces | ( | XMLNode_t * | node, |
const XMLNamespaces_t * | namespaces | ||
) |
LIBLAX_EXTERN int XMLNode_setTriple | ( | XMLNode_t * | node, |
const XMLTriple_t * | triple | ||
) |
LIBLAX_EXTERN char* XMLNode_toXMLString | ( | const XMLNode_t * | node | ) |
LIBLAX_EXTERN int XMLNode_unsetEnd | ( | XMLNode_t * | node | ) |