> The XQuery Processor
item_factory function of an XQC_Implementation object.
More...
#include <zorba/zorbac.h>
item_factory function of an XQC_Implementation object.
Each create_XXX function of this struct creates an XQC_Item of an XML Schema item. Each of the functions takes either NULL or a valid XQC_Item wrapper. The latter is created by calling XQC_Implementation::create_item. In both cases, the user is responsible for freeing the object by calling the XQC_Item::free() function.
Definition at line 1048 of file zorbac.h.
| XQUERY_ERROR(* XQC_ItemFactory_s::create_anyuri)(XQC_ItemFactory factory, const char *str, XQC_Item_Ref item) |
Creates an AnyURI Item see [http://www.w3.org/TR/xmlschema-2/#anyURI].
| factory | The XQC_ItemFactory that this function pointer is a member of | |
| str | The uri as a char pointer. | |
| [out] | item | The item to create. This can either be a wrapper created using XQC_ItemFactory::create_item or a pointer initialized to 0. |
| XQC_NO_ERROR | ||
| XQP0019_INTERNAL_ERROR | ||
| XQP0025_COULD_NOT_CREATE_ITEM |
| XQUERY_ERROR(* XQC_ItemFactory_s::create_base64binary)(XQC_ItemFactory factory, const char *binary_data, size_t length, XQC_Item_Ref item) |
Creates a Base64Binary Item see [http://www.w3.org/TR/xmlschema-2/#base64Binary].
| factory | The XQC_ItemFactory that this function pointer is a member of | |
| binary_data | The binary data as a char pointer. | |
| letter | The length of the binary data. | |
| [out] | item | The item to create. This can either be a wrapper created using XQC_ItemFactory::create_item or a pointer initialized to 0. |
| XQC_NO_ERROR | ||
| XQP0019_INTERNAL_ERROR | ||
| XQP0025_COULD_NOT_CREATE_ITEM |
| XQUERY_ERROR(* XQC_ItemFactory_s::create_boolean)(XQC_ItemFactory factory, int boolean, XQC_Item_Ref item) |
Creates a Boolean Item see [http://www.w3.org/TR/xmlschema-2/#bool].
| factory | The XQC_ItemFactory that this function pointer is a member of | |
| boolean | 0 for a boolean false boolean item, 1 otherwise. | |
| [out] | item | The item to create. This can either be a wrapper created using XQC_ItemFactory::create_item or a pointer initialized to 0. |
| XQC_NO_ERROR | ||
| XQP0019_INTERNAL_ERROR | ||
| XQP0025_COULD_NOT_CREATE_ITEM |
| XQUERY_ERROR(* XQC_ItemFactory_s::create_byte)(XQC_ItemFactory factory, char byte_value, XQC_Item_Ref item) |
Creates a Byte Item see [http://www.w3.org/TR/xmlschema-2/#byte].
| factory | The XQC_ItemFactory that this function pointer is a member of | |
| byte_value | The byte value as a char. | |
| [out] | item | The item to create. This can either be a wrapper created using XQC_ItemFactory::create_item or a pointer initialized to 0. |
| XQC_NO_ERROR | ||
| XQP0019_INTERNAL_ERROR | ||
| XQP0025_COULD_NOT_CREATE_ITEM |
| XQUERY_ERROR(* XQC_ItemFactory_s::create_date)(XQC_ItemFactory factory, short year, short month, short day, XQC_Item_Ref item) |
Creates a Date Item see [http://www.w3.org/TR/xmlschema-2/#date].
| factory | The XQC_ItemFactory that this function pointer is a member of | |
| year | The year value as a short. | |
| month | The month value as a short. | |
| day | The day value as a short. | |
| [out] | item | The item to create. This can either be a wrapper created using XQC_ItemFactory::create_item or a pointer initialized to 0. |
| XQC_NO_ERROR | ||
| XQP0019_INTERNAL_ERROR | ||
| XQP0025_COULD_NOT_CREATE_ITEM |
| XQUERY_ERROR(* XQC_ItemFactory_s::create_date_char)(XQC_ItemFactory factory, const char *date_value, XQC_Item_Ref item) |
Creates a Date Item see [http://www.w3.org/TR/xmlschema-2/#date].
| factory | The XQC_ItemFactory that this function pointer is a member of | |
| date_value | The date value as a char pointer. | |
| [out] | item | The item to create. This can either be a wrapper created using XQC_ItemFactory::create_item or a pointer initialized to 0. |
| XQC_NO_ERROR | ||
| XQP0019_INTERNAL_ERROR | ||
| XQP0025_COULD_NOT_CREATE_ITEM |
| XQUERY_ERROR(* XQC_ItemFactory_s::create_datetime)(XQC_ItemFactory factory, short year, short month, short day, short hour, short minute, double seconds, short timezone_hours, XQC_Item_Ref item) |
Creates a DateTime Item see [http://www.w3.org/TR/xmlschema-2/#dateTime].
| factory | The XQC_ItemFactory that this function pointer is a member of | |
| year | The year value as a short. | |
| month | The month value as a short. | |
| day | The day value as a short. | |
| hour | The hour value as a short. | |
| minute | The minute value as a short. | |
| seconds | The seconds value as a short. | |
| timezone_hours | The timezone as a short. | |
| [out] | item | The item to create. This can either be a wrapper created using XQC_ItemFactory::create_item or a pointer initialized to 0. |
| XQC_NO_ERROR | ||
| XQP0019_INTERNAL_ERROR | ||
| XQP0025_COULD_NOT_CREATE_ITEM |
| XQUERY_ERROR(* XQC_ItemFactory_s::create_datetime_char)(XQC_ItemFactory factory, const char *datetime_value, XQC_Item_Ref item) |
Creates a DateTime Item see [http://www.w3.org/TR/xmlschema-2/#dateTime].
| factory | The XQC_ItemFactory that this function pointer is a member of | |
| datetime_value | The string representation of the datetime value as a char pointer (for example, 2002-10-10T12:00:00-05:00). | |
| [out] | item | The item to create. This can either be a wrapper created using XQC_ItemFactory::create_item or a pointer initialized to 0. |
| XQC_NO_ERROR | ||
| XQP0019_INTERNAL_ERROR | ||
| XQP0025_COULD_NOT_CREATE_ITEM |
| XQUERY_ERROR(* XQC_ItemFactory_s::create_decimal)(XQC_ItemFactory factory, double value, XQC_Item_Ref item) |
Creates a Decimal Item see [http://www.w3.org/TR/xmlschema-2/#decimal].
| factory | The XQC_ItemFactory that this function pointer is a member of | |
| value | The value as a doule | |
| [out] | item | The item to create. This can either be a wrapper created using XQC_ItemFactory::create_item or a pointer initialized to 0. |
| XQC_NO_ERROR | ||
| XQP0019_INTERNAL_ERROR | ||
| XQP0025_COULD_NOT_CREATE_ITEM |
| XQUERY_ERROR(* XQC_ItemFactory_s::create_decimal_char)(XQC_ItemFactory factory, const char *value, XQC_Item_Ref item) |
Creates a Decimal Item see [http://www.w3.org/TR/xmlschema-2/#decimal].
| factory | The XQC_ItemFactory that this function pointer is a member of | |
| value | The value as a char pointer. | |
| [out] | item | The item to create. This can either be a wrapper created using XQC_ItemFactory::create_item or a pointer initialized to 0. |
| XQC_NO_ERROR | ||
| XQP0019_INTERNAL_ERROR | ||
| XQP0025_COULD_NOT_CREATE_ITEM |
| XQUERY_ERROR(* XQC_ItemFactory_s::create_double)(XQC_ItemFactory factory, double value, XQC_Item_Ref item) |
Creates a Double Item see [http://www.w3.org/TR/xmlschema-2/#double].
| factory | The XQC_ItemFactory that this function pointer is a member of | |
| [out] | item | The item to create. This can either be a wrapper created using XQC_ItemFactory::create_item or a pointer initialized to 0. |
| XQC_NO_ERROR | ||
| XQP0019_INTERNAL_ERROR | ||
| XQP0025_COULD_NOT_CREATE_ITEM |
| XQUERY_ERROR(* XQC_ItemFactory_s::create_double_char)(XQC_ItemFactory factory, const char *value, XQC_Item_Ref item) |
Creates a Double Item see [http://www.w3.org/TR/xmlschema-2/#double].
| factory | The XQC_ItemFactory that this function pointer is a member of | |
| value | The value as a char pointer. | |
| [out] | item | The item to create. This can either be a wrapper created using XQC_ItemFactory::create_item or a pointer initialized to 0. |
| XQC_NO_ERROR | ||
| XQP0019_INTERNAL_ERROR | ||
| XQP0025_COULD_NOT_CREATE_ITEM |
| XQUERY_ERROR(* XQC_ItemFactory_s::create_duration)(XQC_ItemFactory factory, short year, short months, short days, short hours, short minutes, double seconds, XQC_Item_Ref item) |
Creates a Duration Item see [http://www.w3.org/TR/xmlschema-2/#duration].
| factory | The XQC_ItemFactory that this function pointer is a member of | |
| year | The year value as a short. | |
| month | The month value as a short. | |
| day | The day value as a short. | |
| hour | The hour value as a short. | |
| minute | The minute value as a short. | |
| seconds | The seconds value as a short. | |
| [out] | item | The item to create. This can either be a wrapper created using XQC_ItemFactory::create_item or a pointer initialized to 0. |
| XQC_NO_ERROR | ||
| XQP0019_INTERNAL_ERROR | ||
| XQP0025_COULD_NOT_CREATE_ITEM |
| XQUERY_ERROR(* XQC_ItemFactory_s::create_float)(XQC_ItemFactory factory, const char *value, XQC_Item_Ref item) |
Creates a Float Item see [http://www.w3.org/tr/xmlschema-2/#float].
| factory | The XQC_ItemFactory that this function pointer is a member of | |
| value | The float value as a char pointer. | |
| [out] | item | The item to create. This can either be a wrapper created using XQC_ItemFactory::create_item or a pointer initialized to 0. |
| XQC_NO_ERROR | ||
| XQP0019_INTERNAL_ERROR | ||
| XQP0025_COULD_NOT_CREATE_ITEM |
| XQUERY_ERROR(* XQC_ItemFactory_s::create_gday)(XQC_ItemFactory factory, short day, XQC_Item_Ref item) |
Creates a gDay Item see [http://www.w3.org/TR/xmlschema-2/#gDay].
| factory | The XQC_ItemFactory that this function pointer is a member of | |
| day | The day value as a short. | |
| [out] | item | The item to create. This can either be a wrapper created using XQC_ItemFactory::create_item or a pointer initialized to 0. |
| XQC_NO_ERROR | ||
| XQP0019_INTERNAL_ERROR | ||
| XQP0025_COULD_NOT_CREATE_ITEM |
| XQUERY_ERROR(* XQC_ItemFactory_s::create_gmonth)(XQC_ItemFactory factory, short month, XQC_Item_Ref item) |
Creates a gMonth Item see [http://www.w3.org/TR/xmlschema-2/#gMonth].
| factory | The XQC_ItemFactory that this function pointer is a member of | |
| month | The month value as a short. | |
| [out] | item | The item to create. This can either be a wrapper created using XQC_ItemFactory::create_item or a pointer initialized to 0. |
| XQC_NO_ERROR | ||
| XQP0019_INTERNAL_ERROR | ||
| XQP0025_COULD_NOT_CREATE_ITEM |
| XQUERY_ERROR(* XQC_ItemFactory_s::create_gmonthday)(XQC_ItemFactory factory, short month, short day, XQC_Item_Ref item) |
Creates a gMonthDay Item see [http://www.w3.org/TR/xmlschema-2/#gMonthDay].
| factory | The XQC_ItemFactory that this function pointer is a member of | |
| month | The month value as a short. | |
| day | The day value as a short. | |
| [out] | item | The item to create. This can either be a wrapper created using XQC_ItemFactory::create_item or a pointer initialized to 0. |
| XQC_NO_ERROR | ||
| XQP0019_INTERNAL_ERROR | ||
| XQP0025_COULD_NOT_CREATE_ITEM |
| XQUERY_ERROR(* XQC_ItemFactory_s::create_gyear)(XQC_ItemFactory factory, short year, XQC_Item_Ref item) |
Creates a gYear Item see [http://www.w3.org/TR/xmlschema-2/#gYear].
| factory | The XQC_ItemFactory that this function pointer is a member of | |
| year | The year value as a short. | |
| [out] | item | The item to create. This can either be a wrapper created using XQC_ItemFactory::create_item or a pointer initialized to 0. |
| XQC_NO_ERROR | ||
| XQP0019_INTERNAL_ERROR | ||
| XQP0025_COULD_NOT_CREATE_ITEM |
| XQUERY_ERROR(* XQC_ItemFactory_s::create_gyearmonth)(XQC_ItemFactory factory, short year, short month, XQC_Item_Ref item) |
Creates a gYearMonth Item see [http://www.w3.org/TR/xmlschema-2/#gYearMonth].
| factory | The XQC_ItemFactory that this function pointer is a member of | |
| year | The year value as a short. | |
| month | The month value as a short. | |
| [out] | item | The item to create. This can either be a wrapper created using XQC_ItemFactory::create_item or a pointer initialized to 0. |
| XQC_NO_ERROR | ||
| XQP0019_INTERNAL_ERROR | ||
| XQP0025_COULD_NOT_CREATE_ITEM |
| XQUERY_ERROR(* XQC_ItemFactory_s::create_hexbinary)(XQC_ItemFactory factory, const char *hex_data, size_t size, XQC_Item_Ref item) |
Creates a HexBinary Item see [http://www.w3.org/TR/xmlschema-2/#hexBinary].
| factory | The XQC_ItemFactory that this function pointer is a member of | |
| hex_data | The hex data as a char pointer. | |
| size | The size of the hex data. | |
| [out] | item | The item to create. This can either be a wrapper created using XQC_ItemFactory::create_item or a pointer initialized to 0. |
| XQC_NO_ERROR | ||
| XQP0019_INTERNAL_ERROR | ||
| XQP0025_COULD_NOT_CREATE_ITEM |
| XQUERY_ERROR(* XQC_ItemFactory_s::create_int)(XQC_ItemFactory factory, int int_value, XQC_Item_Ref item) |
Creates a Int Item see [http://www.w3.org/TR/xmlschema-2/#int].
| factory | The XQC_ItemFactory that this function pointer is a member of | |
| int_value | The value as an int. | |
| [out] | item | The item to create. This can either be a wrapper created using XQC_ItemFactory::create_item or a pointer initialized to 0. |
| XQC_NO_ERROR | ||
| XQP0019_INTERNAL_ERROR | ||
| XQP0025_COULD_NOT_CREATE_ITEM |
| XQUERY_ERROR(* XQC_ItemFactory_s::create_integer)(XQC_ItemFactory factory, long long integer_value, XQC_Item_Ref item) |
Creates an Integer Item see [http://www.w3.org/TR/xmlschema-2/#integer].
| factory | The XQC_ItemFactory that this function pointer is a member of | |
| integer_value | The value as a long long. | |
| [out] | item | The item to create. This can either be a wrapper created using XQC_ItemFactory::create_item or a pointer initialized to 0. |
| XQC_NO_ERROR | ||
| XQP0019_INTERNAL_ERROR | ||
| XQP0025_COULD_NOT_CREATE_ITEM |
| XQUERY_ERROR(* XQC_ItemFactory_s::create_integer_char)(XQC_ItemFactory factory, const char *integer_value, XQC_Item_Ref item) |
Creates an Integer Item see [http://www.w3.org/TR/xmlschema-2/#integer].
| factory | The XQC_ItemFactory that this function pointer is a member of | |
| integer_value | The value as a char pointer. | |
| [out] | item | The item to create. This can either be a wrapper created using XQC_ItemFactory::create_item or a pointer initialized to 0. |
| XQC_NO_ERROR | ||
| XQP0019_INTERNAL_ERROR | ||
| XQP0025_COULD_NOT_CREATE_ITEM |
| XQUERY_ERROR(* XQC_ItemFactory_s::create_long)(XQC_ItemFactory factory, long long long_value, XQC_Item_Ref item) |
Creates a Long Item see [http://www.w3.org/TR/xmlschema-2/#long].
| factory | The XQC_ItemFactory that this function pointer is a member of | |
| long_value | The value as a long long. | |
| [out] | item | The item to create. This can either be a wrapper created using XQC_ItemFactory::create_item or a pointer initialized to 0. |
| XQC_NO_ERROR | ||
| XQP0019_INTERNAL_ERROR | ||
| XQP0025_COULD_NOT_CREATE_ITEM |
| XQUERY_ERROR(* XQC_ItemFactory_s::create_ncname)(XQC_ItemFactory factory, const char *ncname, XQC_Item_Ref item) |
Creates a NCName Item see [http://www.w3.org/TR/xmlschema-2/#NCName].
| factory | The XQC_ItemFactory that this function pointer is a member of | |
| ncname | The NCName as a char pointer. | |
| [out] | item | The item to create. This can either be a wrapper created using XQC_ItemFactory::create_item or a pointer initialized to 0. |
| XQC_NO_ERROR | ||
| XQP0019_INTERNAL_ERROR | ||
| XQP0025_COULD_NOT_CREATE_ITEM |
| XQUERY_ERROR(* XQC_ItemFactory_s::create_negativeinteger)(XQC_ItemFactory factory, long long value, XQC_Item_Ref item) |
Creates a negativeInteger Item see [http://www.w3.org/TR/xmlschema-2/#negativeInteger].
| factory | The XQC_ItemFactory that this function pointer is a member of | |
| value | The negative integer as a long long value. | |
| [out] | item | The item to create. This can either be a wrapper created using XQC_ItemFactory::create_item or a pointer initialized to 0. |
| XQC_NO_ERROR | ||
| XQP0019_INTERNAL_ERROR | ||
| XQP0025_COULD_NOT_CREATE_ITEM |
| XQUERY_ERROR(* XQC_ItemFactory_s::create_nonnegativeinteger)(XQC_ItemFactory factory, unsigned long long value, XQC_Item_Ref item) |
Creates a nonNegativeInteger Item see [http://www.w3.org/TR/xmlschema-2/#nonNegativeInteger].
| factory | The XQC_ItemFactory that this function pointer is a member of | |
| value | The non-negative integer as an unsigned long long value. | |
| [out] | item | The item to create. This can either be a wrapper created using XQC_ItemFactory::create_item or a pointer initialized to 0. |
| XQC_NO_ERROR | ||
| XQP0019_INTERNAL_ERROR | ||
| XQP0025_COULD_NOT_CREATE_ITEM |
| XQUERY_ERROR(* XQC_ItemFactory_s::create_nonpositiveinteger)(XQC_ItemFactory factory, long long value, XQC_Item_Ref item) |
Creates a nonPositiveInteger Item see [http://www.w3.org/TR/xmlschema-2/#nonPositiveInteger].
| factory | The XQC_ItemFactory that this function pointer is a member of | |
| value | The non-positive integer as a long long value. | |
| [out] | item | The item to create. This can either be a wrapper created using XQC_ItemFactory::create_item or a pointer initialized to 0. |
| XQC_NO_ERROR | ||
| XQP0019_INTERNAL_ERROR | ||
| XQP0025_COULD_NOT_CREATE_ITEM |
| XQUERY_ERROR(* XQC_ItemFactory_s::create_positiveinteger)(XQC_ItemFactory factory, unsigned long long value, XQC_Item_Ref item) |
Creates a positiveInteger Item see [http://www.w3.org/TR/xmlschema-2/#positiveInteger].
| factory | The XQC_ItemFactory that this function pointer is a member of | |
| value | The positive integer as an unsigned long long value. | |
| [out] | item | The item to create. This can either be a wrapper created using XQC_ItemFactory::create_item or a pointer initialized to 0. |
| XQC_NO_ERROR | ||
| XQP0019_INTERNAL_ERROR | ||
| XQP0025_COULD_NOT_CREATE_ITEM |
| XQUERY_ERROR(* XQC_ItemFactory_s::create_qname2)(XQC_ItemFactory factory, const char *uri, const char *localname, XQC_Item_Ref item) |
Creates a QName Item see [http://www.w3.org/TR/xmlschema-2/#QName].
| factory | The XQC_ItemFactory that this function pointer is a member of | |
| str | The uri as a char pointer. | |
| localname | The localname as a char pointer. | |
| [out] | item | The item to create. This can either be a wrapper created using XQC_ItemFactory::create_item or a pointer initialized to 0. |
| XQC_NO_ERROR | ||
| XQP0019_INTERNAL_ERROR | ||
| XQP0025_COULD_NOT_CREATE_ITEM |
| XQUERY_ERROR(* XQC_ItemFactory_s::create_qname3)(XQC_ItemFactory factory, const char *uri, const char *prefix, const char *localname, XQC_Item_Ref item) |
Creates a QName Item see [http://www.w3.org/TR/xmlschema-2/#QName].
| factory | The XQC_ItemFactory that this function pointer is a member of | |
| str | The uri as a char pointer. | |
| prefix | The prefix as a char pointer. | |
| localname | The localname as a char pointer. | |
| [out] | item | The item to create. This can either be a wrapper created using XQC_ItemFactory::create_item or a pointer initialized to 0. |
| XQC_NO_ERROR | ||
| XQP0019_INTERNAL_ERROR | ||
| XQP0025_COULD_NOT_CREATE_ITEM |
| XQUERY_ERROR(* XQC_ItemFactory_s::create_short)(XQC_ItemFactory factory, short short_value, XQC_Item_Ref item) |
Creates a Short Item see [http://www.w3.org/TR/xmlschema-2/#short].
| factory | The XQC_ItemFactory that this function pointer is a member of | |
| short_value | The value as a short. | |
| [out] | item | The item to create. This can either be a wrapper created using XQC_ItemFactory::create_item or a pointer initialized to 0. |
| XQC_NO_ERROR | ||
| XQP0019_INTERNAL_ERROR | ||
| XQP0025_COULD_NOT_CREATE_ITEM |
| XQUERY_ERROR(* XQC_ItemFactory_s::create_string)(XQC_ItemFactory factory, const char *str, XQC_Item_Ref item) |
Creates a String Item see [http://www.w3.org/TR/xmlschema-2/#string].
| factory | The XQC_ItemFactory that this function pointer is a member of | |
| str | The string as a char pointer. | |
| [out] | item | The item to create. This can either be a wrapper created using XQC_ItemFactory::create_item or a pointer initialized to 0. |
| XQC_NO_ERROR | ||
| XQP0019_INTERNAL_ERROR | ||
| XQP0025_COULD_NOT_CREATE_ITEM |
| XQUERY_ERROR(* XQC_ItemFactory_s::create_time)(XQC_ItemFactory factory, short hour, short minute, double second, XQC_Item_Ref item) |
Creates a Time Item see [http://www.w3.org/TR/xmlschema-2/#time].
| factory | The XQC_ItemFactory that this function pointer is a member of | |
| hour | The hour as a short. | |
| minute | The minute as a short. | |
| second | The second as a short. | |
| [out] | item | The item to create. This can either be a wrapper created using XQC_ItemFactory::create_item or a pointer initialized to 0. |
| XQC_NO_ERROR | ||
| XQP0019_INTERNAL_ERROR | ||
| XQP0025_COULD_NOT_CREATE_ITEM |
| XQUERY_ERROR(* XQC_ItemFactory_s::create_time_char)(XQC_ItemFactory factory, const char *value, XQC_Item_Ref item) |
Creates a Time Item see [http://www.w3.org/TR/xmlschema-2/#time].
| factory | The XQC_ItemFactory that this function pointer is a member of | |
| value | The time as a char pointer. | |
| [out] | item | The item to create. This can either be a wrapper created using XQC_ItemFactory::create_item or a pointer initialized to 0. |
| XQC_NO_ERROR | ||
| XQP0019_INTERNAL_ERROR | ||
| XQP0025_COULD_NOT_CREATE_ITEM |
| XQUERY_ERROR(* XQC_ItemFactory_s::create_time_timezone)(XQC_ItemFactory factory, short hour, short minute, double second, short timezone_hours, XQC_Item_Ref item) |
Creates a Time Item see [http://www.w3.org/TR/xmlschema-2/#time].
| factory | The XQC_ItemFactory that this function pointer is a member of | |
| hour | The hour as a short. | |
| minute | The minute as a short. | |
| second | The second as a double. | |
| timezone_hours | The timezone hours as a short. | |
| [out] | item | The item to create. This can either be a wrapper created using XQC_ItemFactory::create_item or a pointer initialized to 0. |
| XQC_NO_ERROR | ||
| XQP0019_INTERNAL_ERROR | ||
| XQP0025_COULD_NOT_CREATE_ITEM |
| XQUERY_ERROR(* XQC_ItemFactory_s::create_unsignedbyte)(XQC_ItemFactory factory, const unsigned char value, XQC_Item_Ref item) |
Creates an Unsigned Byte Item see [http://www.w3.org/TR/xmlschema-2/#unsignedByte].
| factory | The XQC_ItemFactory that this function pointer is a member of | |
| value | The unsigned byte value as an unsigned char. | |
| [out] | item | The item to create. This can either be a wrapper created using XQC_ItemFactory::create_item or a pointer initialized to 0. |
| XQC_NO_ERROR | ||
| XQP0019_INTERNAL_ERROR | ||
| XQP0025_COULD_NOT_CREATE_ITEM |
| XQUERY_ERROR(* XQC_ItemFactory_s::create_unsignedint)(XQC_ItemFactory factory, unsigned int value, XQC_Item_Ref item) |
Creates an unsigned int Item see [http://www.w3.org/TR/xmlschema-2/#unsignedInt].
| factory | The XQC_ItemFactory that this function pointer is a member of | |
| value | The unsigned int value as an unsigned int. | |
| [out] | item | The item to create. This can either be a wrapper created using XQC_ItemFactory::create_item or a pointer initialized to 0. |
| XQC_NO_ERROR | ||
| XQP0019_INTERNAL_ERROR | ||
| XQP0025_COULD_NOT_CREATE_ITEM |
| XQUERY_ERROR(* XQC_ItemFactory_s::create_unsignedlong)(XQC_ItemFactory factory, unsigned long long value, XQC_Item_Ref item) |
Creates an unsignedLong Item see [http://www.w3.org/TR/xmlschema-2/#unsignedLong].
| factory | The XQC_ItemFactory that this function pointer is a member of | |
| value | The unsigned long value as an unsigned long long. | |
| [out] | item | The item to create. This can either be a wrapper created using XQC_ItemFactory::create_item or a pointer initialized to 0. |
| XQC_NO_ERROR | ||
| XQP0019_INTERNAL_ERROR | ||
| XQP0025_COULD_NOT_CREATE_ITEM |
| XQUERY_ERROR(* XQC_ItemFactory_s::create_unsignedshort)(XQC_ItemFactory factory, unsigned short value, XQC_Item_Ref item) |
Creates a unsignedShort Item see [http://www.w3.org/TR/xmlschema-2/#unsignedShort].
| factory | The XQC_ItemFactory that this function pointer is a member of | |
| value | The unsigned short value as an unsigned short. | |
| [out] | item | The item to create. This can either be a wrapper created using XQC_ItemFactory::create_item or a pointer initialized to 0. |
| XQC_NO_ERROR | ||
| XQP0019_INTERNAL_ERROR | ||
| XQP0025_COULD_NOT_CREATE_ITEM |
| void* XQC_ItemFactory_s::data |
| void(* XQC_ItemFactory_s::free)(XQC_ItemFactory factory) |
Called to free the resources associated with the XQC_ItemFactory.
| factory | The XQC_ItemFactory that this function pointer is a member of | |
| [out] | item | The item to create. This can either be a wrapper created using XQC_ItemFactory::create_item or a pointer initialized to 0. |