XQC_Collection_s Struct Reference
A Collection is a sequence of Node Items.
More...
#include <zorba/zorbac.h>
Detailed Description
A Collection is a sequence of Node Items.
Each Collection is created by the XmlDataManager and referenced by a URI. The URI can be accessed in a query's fn:collection function.
- Examples:
-
cdatamanager.c.
Definition at line 1747 of file zorbac.h.
Field Documentation
Adds a document given by the FILE pointer to this collection.
- Parameters:
-
| collection | the XQC_Collection_s that this function pointer is a member of |
| doc | The document to add as a FILE pointer. |
- Return values:
-
Adds a document given by the char pointer to this collection.
- Parameters:
-
| collection | the XQC_Collection_s that this function pointer is a member of |
| doc | The document to add as a char pointer. |
- Return values:
-
- Examples:
-
cdatamanager.c.
Adds a Node Item to the Collection.
- Parameters:
-
| collection | the XQC_Collection_s that this function pointer is a member of |
| node | The node item to add to the given collection. |
- Return values:
-
Adds a sequence of Node Items to the Collection.
- Parameters:
-
| collection | the XQC_Collection_s that this function pointer is a member of |
| sequence | The sequence of node items to add to the given collection. |
- Return values:
-
for internal use only
Definition at line 1840 of file zorbac.h.
Deletes a Node Item from the given Collection.
- Parameters:
-
| collection | the XQC_Collection_s that this function pointer is a member of |
| node | The node item to delete from the given collection. |
- Return values:
-
called to free the resources associated with the xqc_itemfactory.
- Parameters:
-
| collection | the XQC_Collection that this function pointer is a member of |
- Examples:
-
cdatamanager.c.
Get the URI of a collection as an anyURI Item.
- Parameters:
-
| collection | the XQC_Collection_s that this function pointer is a member of |
| [out] | uri_item | The uri item of the given collection. The user is responsible for freeing the object by calling the XQC_Item::free() function. |
- Return values:
-
- Examples:
-
cdatamanager.c.
The documentation for this struct was generated from the following file: