Functions | |
int | mdlXMLSchemaCache_create (XmlSchemaCacheRef *pSchemaCacheRef) |
Creates an instance of a XML Schema Cache. More... | |
int | mdlXMLSchemaCache_createWithSchema (XmlSchemaCacheRef *pSchemaCacheRef, WChar const *pXMLNSTarget, WChar const *pSchemaFilename) |
Creates an instance of a XML Schema Cache with the given file name. More... | |
int | mdlXMLSchemaCache_free (XmlSchemaCacheRef schemaCacheRef) |
Frees an instance of a XML Schema Cache. More... | |
int | mdlXMLSchemaCache_getValidateError (long *pErrorCode, long *pFilepos, long *pLine, long *pLinepos, WCharP pReason, int maxReasonLength, WCharP pSrcText, int maxSrcTextLength, WCharP pUrl, int maxUrlLength, XmlSchemaCacheRef schemaCacheRef) |
Returns the last validate error if one of the dom creation function fails. More... | |
long | mdlXMLSchemaCache_getSchemaCount (XmlSchemaCacheRef schemaCacheRef) |
Returns the number of schema in the given XML Schema Cache. More... | |
int | mdlXMLSchemaCache_addSchemaByDom (XmlSchemaCacheRef schemaCacheRef, WChar const *pXMLNSTarget, XmlDomRef pSchemaDom) |
Adds a XML Schema DOM to the given Schema Cache. More... | |
int | mdlXMLSchemaCache_addSchemaByFilename (XmlSchemaCacheRef schemaCacheRef, WChar const *pXMLNSTarget, WChar const *pSchemaFilename) |
Adds a schema to the given Schema Cache. More... | |
int | mdlXMLSchemaCache_removeSchema (XmlSchemaCacheRef schemaCacheRef, WChar const *pXMLNSTarget) |
Removes a schema from the given schema cache. More... | |
int | mdlXMLSchemaCache_getSchema (XmlSchemaRef *pSchemaRef, XmlSchemaCacheRef schemaCacheRef, WChar const *pXMLNSTarget) |
Returns the XML Schema that corresponds to the given namespace target. More... | |
int | mdlXMLSchemaCache_getNamespaceByIndex (WChar *pNamespace, long *pMaxChars, XmlSchemaCacheRef schemaCacheRef, long index) |
Returns the namespace at the index of the given schema cache. More... | |
int | mdlXMLSchemaCache_getSchemaItemByXPath (XmlSchemaItemRef *pSchemaItemRef, XmlSchemaCacheRef schemaCacheRef, WChar const *pXMLNSTarget, WChar const *pXPath) |
Returns a schema Item defined by its Path in the XML Schema Cache. More... | |
int | mdlXMLSchema_free (XmlSchemaRef schemaRef) |
Frees an instance of an XML Schema. More... | |
int | mdlXMLSchema_getSchemaItemsList (XmlSchemaItemsListRef *pSchemaItemsListRef, XmlSchemaRef schemaRef, int listType) |
Returns the XML Schema Items List of type listype from the give XML Schema. More... | |
int | mdlXMLSchemaList_free (XmlSchemaItemsListRef schemaItemsListRef) |
Frees an instance of XML Schema Items List. More... | |
long | mdlXMLSchemaList_getNumItems (XmlSchemaItemsListRef schemaItemsListRef) |
Returns the number of items in the given XML Schema Items List. More... | |
int | mdlXMLSchemaList_getItem (XmlSchemaItemRef *pSchemaItemRef, XmlSchemaItemsListRef schemaItemsListRef, long index) |
Returns the XML Schema Item at the given index of the XML Schema List. More... | |
int | mdlXMLSchemaList_getItemByName (XmlSchemaItemRef *pSchemaItemRef, XmlSchemaItemsListRef schemaItemsListRef, WChar const *pName) |
Returns a XML Schema Item by name from the given XML Schema List. More... | |
int | mdlXMLSchemaList_getItemByQName (XmlSchemaItemRef *pSchemaItemRef, XmlSchemaItemsListRef schemaItemsListRef, WChar const *pName, WChar const *pNamespaceURI) |
Returns a XML Schema Item by qualified name from the given XML Schema List. More... | |
int | mdlXMLSchemaItem_free (XmlSchemaItemRef schemaItemRef) |
Frees an instance of an XML Schema Item. More... | |
long | mdlXMLSchemaItem_getItemType (XmlSchemaItemRef schemaItemRef) |
Returns the item Type of the given XML Schema Item. More... | |
bool | mdlXMLSchemaItem_isSimpleType (XmlSchemaItemRef schemaItemRef) |
Returns true if the given schema item is a simple type. More... | |
int | mdlXMLSchemaItem_getSchemaType (XmlSchemaTypeRef *pSchemaTypeRef, XmlSchemaItemRef schemaItemRef) |
Returns the Schema Type for the given Schema Item. More... | |
int | mdlXMLSchemaType_getDataTypeName (WChar *pDataTypeName, int *pMaxCharsDataTypeName, XmlSchemaTypeRef schemaTypeRef) |
Returns the datatype for the given schema type. More... | |
long | mdlXMLSchemaType_getNumBaseTypes (XmlSchemaTypeRef schemaTypeRef) |
Returns the number of Base Types from the given XML Schema Type. More... | |
int | mdlXMLSchemaType_getBaseType (XmlSchemaTypeRef *pSchemaTypeRef, XmlSchemaTypeRef schemaTypeRef, long index) |
Returns the XML Schema Base Type for the given Schema Item. More... | |
int | mdlXMLSchemaType_getDigitFacets (long *pTotalDigits, long *pFractionDigits, XmlSchemaTypeRef schemaTypeRef) |
Returns the digit facets for the given schema type. More... | |
bool | mdlXMLSchemaType_isEnumeration (XmlSchemaStringsListRef *pEnumListRef, XmlSchemaTypeRef schemaTypeRef) |
Returns a strings list of the enum types for the given schema type, if the given schema type is an enumeration. More... | |
int | mdlXMLSchemaType_getEnumerationFacets (XmlSchemaStringsListRef *pSchemaEnumerationList, XmlSchemaTypeRef schemaTypeRef) |
Returns the enumeration facets for the given schema type. More... | |
int | mdlXMLSchemaType_getLengthFacets (long *pLength, long *pMinLength, long *pMaxLength, XmlSchemaTypeRef schemaTypeRef) |
Returns the length facets for the given schema type. More... | |
int | mdlXMLSchemaType_getMinMaxFacets (WChar *pMinExclusive, int *pMinExclusiveMaxChars, WChar *pMaxExclusive, int *pMaxExclusiveMaxChars, WChar *pMinInclusive, int *pMinInclusiveMaxChars, WChar *pMaxInclusive, int *pMaxInclusiveMaxChars, XmlSchemaTypeRef schemaTypeRef) |
Returns the min/max facets for the given schema type. More... | |
int | mdlXMLSchemaType_getPatternFacets (XmlSchemaStringsListRef *pSchemaPatternsList, XmlSchemaTypeRef schemaTypeRef) |
Returns the pattern facets for the given schema type. More... | |
bool | mdlXMLSchemaType_isValid (XmlSchemaTypeRef schemaTypeRef, WChar const *pStringToValidate) |
Returns true is the given string is validfor the given schema type. More... | |
int | mdlXMLSchemaItem_getName (WChar *pNameValue, int *pMaxChars, XmlSchemaItemRef schemaItemRef) |
Returns the name for the given schema Item. More... | |
int | mdlXMLSchemaItem_getDefaultValue (WChar *pDefaultValue, int *pMaxChars, XmlSchemaItemRef schemaItemRef) |
Returns the default value for the given schema, if it has one. More... | |
int | mdlXMLSchemaItem_getFixedValue (WChar *pFixedValue, int *pMaxChars, XmlSchemaItemRef schemaItemRef) |
Returns the fixed value for the given schema, if it has one. More... | |
bool | mdlXMLSchemaItem_isReference (XmlSchemaItemRef schemaItemRef) |
Returns true if the given schema item is a reference. More... | |
bool | mdlXMLSchemaElement_isAbstract (XmlSchemaItemRef schemaItemRef) |
Returns true if the given schema item is an abstract schema item. More... | |
bool | mdlXMLSchemaElement_isNillable (XmlSchemaItemRef schemaItemRef) |
Returns true if the given schema element item is able to be NULL. More... | |
bool | mdlXMLSchemaAttribute_isRequired (XmlSchemaItemRef schemaItemRef) |
Returns true if the given attrribute item is a required attribute. More... | |
bool | mdlXMLSchemaAttribute_isOptional (XmlSchemaItemRef schemaItemRef) |
Returns true if the given attrribute item is an optional attribute. More... | |
bool | mdlXMLSchemaAttribute_isProhibited (XmlSchemaItemRef schemaItemRef) |
Returns true if the given schema attribute item is prohibited. More... | |
int | mdlXMLSchemaElement_getChildElements (XmlSchemaItemsListRef *pSchemaItemsListRef, long *numChildElements, XmlSchemaItemRef schemaItemRef) |
Returns an XML Schema Elements List. More... | |
int | mdlXMLSchemaElement_getAttributes (XmlSchemaItemsListRef *pSchemaItemsListRef, long *numAttributes, XmlSchemaItemRef schemaItemRef) |
Returns an XML Schema Elements List. More... | |
int | mdlXMLSchemaType_free (XmlSchemaTypeRef schemaTypeRef) |
Frees an instance an XML Schema Type. More... | |
int | mdlXMLSchemaStringsList_free (XmlSchemaStringsListRef schemaStringsListRef) |
Frees a XML Schema Strings List. More... | |
long | mdlXMLSchemaStringsList_getNumStrings (XmlSchemaStringsListRef schemaStringsListRef) |
Returns the number of strings in the given XML Schema Strings List. More... | |
int | mdlXMLSchemaStringsList_getString (WChar *pSchemaString, int *pMaxChars, XmlSchemaStringsListRef schemaStringsListRef, long index) |
Returns the string at given index of the given schema string list. More... | |
int mdlXMLSchema_free | ( | XmlSchemaRef | schemaRef | ) |
Frees an instance of an XML Schema.
[in] | schemaRef | Reference to a XML Schema Cache |
int mdlXMLSchema_getSchemaItemsList | ( | XmlSchemaItemsListRef * | pSchemaItemsListRef, |
XmlSchemaRef | schemaRef, | ||
int | listType | ||
) |
Returns the XML Schema Items List of type listype from the give XML Schema.
[out] | pSchemaItemsListRef | Returned XML Schema Items List |
[in] | schemaRef | Reference to a XML Schema Cache |
[in] | listType | List Type (one of SCHEMAITEMSLIST_ELEMENTS, SCHEMAITEMSLIST_ATTRIBUTES, SCHEMAITEMSLIST_TYPES) to return |
bool mdlXMLSchemaAttribute_isOptional | ( | XmlSchemaItemRef | schemaItemRef | ) |
Returns true if the given attrribute item is an optional attribute.
[in] | schemaItemRef | Reference to Schema Attribute Item class |
bool mdlXMLSchemaAttribute_isProhibited | ( | XmlSchemaItemRef | schemaItemRef | ) |
Returns true if the given schema attribute item is prohibited.
[in] | schemaItemRef | Reference to Schema Attribute Item class |
bool mdlXMLSchemaAttribute_isRequired | ( | XmlSchemaItemRef | schemaItemRef | ) |
Returns true if the given attrribute item is a required attribute.
[in] | schemaItemRef | Reference to Schema Attribute Item class |
int mdlXMLSchemaCache_addSchemaByDom | ( | XmlSchemaCacheRef | schemaCacheRef, |
WChar const * | pXMLNSTarget, | ||
XmlDomRef | pSchemaDom | ||
) |
Adds a XML Schema DOM to the given Schema Cache.
[in] | schemaCacheRef | Reference to a XML Schema Cache |
[in] | pXMLNSTarget | Associated Namespace with newly added schema |
[in] | pSchemaDom | XML DOM of Schema to load into XML Schema Cache |
int mdlXMLSchemaCache_addSchemaByFilename | ( | XmlSchemaCacheRef | schemaCacheRef, |
WChar const * | pXMLNSTarget, | ||
WChar const * | pSchemaFilename | ||
) |
Adds a schema to the given Schema Cache.
[in] | schemaCacheRef | Reference to a XML Schema Cache |
[in] | pXMLNSTarget | Associated Namespace with newly added schema |
[in] | pSchemaFilename | Schema to load into XML Schema Cache |
int mdlXMLSchemaCache_create | ( | XmlSchemaCacheRef * | pSchemaCacheRef | ) |
Creates an instance of a XML Schema Cache.
[out] | pSchemaCacheRef | Newly created XML Schema Cache |
int mdlXMLSchemaCache_createWithSchema | ( | XmlSchemaCacheRef * | pSchemaCacheRef, |
WChar const * | pXMLNSTarget, | ||
WChar const * | pSchemaFilename | ||
) |
Creates an instance of a XML Schema Cache with the given file name.
[out] | pSchemaCacheRef | Newly created XML Schema Cache |
[in] | pXMLNSTarget | Namespace of associated schema to add |
[in] | pSchemaFilename | Schema to load into XML Schema Cache |
int mdlXMLSchemaCache_free | ( | XmlSchemaCacheRef | schemaCacheRef | ) |
Frees an instance of a XML Schema Cache.
[in] | schemaCacheRef | Reference to a XML Schema Cache |
int mdlXMLSchemaCache_getNamespaceByIndex | ( | WChar * | pNamespace, |
long * | pMaxChars, | ||
XmlSchemaCacheRef | schemaCacheRef, | ||
long | index | ||
) |
Returns the namespace at the index of the given schema cache.
[out] | pNamespace | Returned namespace name |
[in,out] | pMaxChars | Max. Number of charst to return, actual number of chars is returned |
[in] | schemaCacheRef | Reference to a XML Schema Cache |
[in] | index | The index of the namespace to be retrieved |
int mdlXMLSchemaCache_getSchema | ( | XmlSchemaRef * | pSchemaRef, |
XmlSchemaCacheRef | schemaCacheRef, | ||
WChar const * | pXMLNSTarget | ||
) |
Returns the XML Schema that corresponds to the given namespace target.
[out] | pSchemaRef | Returned XML Schema that correspondes to given namespace |
[in] | schemaCacheRef | Reference to a XML Schema Cache |
[in] | pXMLNSTarget | Namespace of associated schema to get |
long mdlXMLSchemaCache_getSchemaCount | ( | XmlSchemaCacheRef | schemaCacheRef | ) |
Returns the number of schema in the given XML Schema Cache.
[in] | schemaCacheRef | Reference to a XML Schema Cache |
int mdlXMLSchemaCache_getSchemaItemByXPath | ( | XmlSchemaItemRef * | pSchemaItemRef, |
XmlSchemaCacheRef | schemaCacheRef, | ||
WChar const * | pXMLNSTarget, | ||
WChar const * | pXPath | ||
) |
Returns a schema Item defined by its Path in the XML Schema Cache.
[out] | pSchemaItemRef | Returned XML Schema Item |
[in] | schemaCacheRef | Reference to a XML Schema Cache |
[in] | pXMLNSTarget | Namespace of associated schema |
[in] | pXPath | Xpath criteria to get schema Item |
int mdlXMLSchemaCache_getValidateError | ( | long * | pErrorCode, |
long * | pFilepos, | ||
long * | pLine, | ||
long * | pLinepos, | ||
WCharP | pReason, | ||
int | maxReasonLength, | ||
WCharP | pSrcText, | ||
int | maxSrcTextLength, | ||
WCharP | pUrl, | ||
int | maxUrlLength, | ||
XmlSchemaCacheRef | schemaCacheRef | ||
) |
Returns the last validate error if one of the dom creation function fails.
[out] | pErrorCode | Contains the error code of the last parse error, or NULL if NOT wanted |
[out] | pFilepos | Contains the absolute file position where the error occurred, or NULL if NOT wanted |
[out] | pLine | Specifies the line number that contains the error, or NULL if NOT wanted |
[out] | pLinepos | Contains the character position within the line where the error occurred, or NULL if NOT wanted |
[out] | pReason | Describes the reason for the error, or NULL if NOT wanted |
[in] | maxReasonLength | Max length of pReason to return, if pReason is not NULL |
[out] | pSrcText | Returns the text of the line containing the error, or NULL if NOT wanted |
[in] | maxSrcTextLength | Max length of pSrcText to return, if pSrcText is not NULL |
[out] | pUrl | Returns the URL of the XML document containing the last error, or NULL if NOT wanted |
[in] | maxUrlLength | Max length of pUrl to return, if pUrl is not NULL |
[in] | schemaCacheRef | Reference to a XML Schema Cache |
int mdlXMLSchemaCache_removeSchema | ( | XmlSchemaCacheRef | schemaCacheRef, |
WChar const * | pXMLNSTarget | ||
) |
Removes a schema from the given schema cache.
[in] | schemaCacheRef | Reference to a XML Schema Cache |
[in] | pXMLNSTarget | Namespace of associated schema to be removed |
int mdlXMLSchemaElement_getAttributes | ( | XmlSchemaItemsListRef * | pSchemaItemsListRef, |
long * | numAttributes, | ||
XmlSchemaItemRef | schemaItemRef | ||
) |
Returns an XML Schema Elements List.
[out] | pSchemaItemsListRef | Returned List of XML Schema Element List |
[out] | numAttributes | Returned number of XML Attributes in list |
[in] | schemaItemRef | Reference to Schema Element Item class |
int mdlXMLSchemaElement_getChildElements | ( | XmlSchemaItemsListRef * | pSchemaItemsListRef, |
long * | numChildElements, | ||
XmlSchemaItemRef | schemaItemRef | ||
) |
Returns an XML Schema Elements List.
[out] | pSchemaItemsListRef | Returned List of XML Schema Element List |
[out] | numChildElements | Returned number of XML Child Elements in list |
[in] | schemaItemRef | Reference to Schema Element Item class |
bool mdlXMLSchemaElement_isAbstract | ( | XmlSchemaItemRef | schemaItemRef | ) |
Returns true if the given schema item is an abstract schema item.
[in] | schemaItemRef | Reference to Schema Element Item class |
bool mdlXMLSchemaElement_isNillable | ( | XmlSchemaItemRef | schemaItemRef | ) |
Returns true if the given schema element item is able to be NULL.
[in] | schemaItemRef | Reference to Schema Element Item class |
int mdlXMLSchemaItem_free | ( | XmlSchemaItemRef | schemaItemRef | ) |
Frees an instance of an XML Schema Item.
[in] | schemaItemRef | Reference to Schema Item class |
int mdlXMLSchemaItem_getDefaultValue | ( | WChar * | pDefaultValue, |
int * | pMaxChars, | ||
XmlSchemaItemRef | schemaItemRef | ||
) |
Returns the default value for the given schema, if it has one.
[in,out] | pDefaultValue | Returned default value |
[in,out] | pMaxChars | Max. number of chars of pDefaultValue to return, actual number of chars in pDefaultValue returned |
[in] | schemaItemRef | Reference to Schema Item class |
int mdlXMLSchemaItem_getFixedValue | ( | WChar * | pFixedValue, |
int * | pMaxChars, | ||
XmlSchemaItemRef | schemaItemRef | ||
) |
Returns the fixed value for the given schema, if it has one.
[in,out] | pFixedValue | Returned fixed value |
[in,out] | pMaxChars | Max. number of chars of pFixedValue to return, actual number of chars in pFixedValue returned |
[in] | schemaItemRef | Reference to Schema Item class |
long mdlXMLSchemaItem_getItemType | ( | XmlSchemaItemRef | schemaItemRef | ) |
Returns the item Type of the given XML Schema Item.
[in] | schemaItemRef | Reference to Schema Item class |
int mdlXMLSchemaItem_getName | ( | WChar * | pNameValue, |
int * | pMaxChars, | ||
XmlSchemaItemRef | schemaItemRef | ||
) |
Returns the name for the given schema Item.
[in,out] | pNameValue | Returned value of named attribute returned as the attribute type |
[in,out] | pMaxChars | Max. number of chars of pNameValue to return, actual number of chars in pNameValue returned |
[in] | schemaItemRef | Reference to Schema Item class |
int mdlXMLSchemaItem_getSchemaType | ( | XmlSchemaTypeRef * | pSchemaTypeRef, |
XmlSchemaItemRef | schemaItemRef | ||
) |
Returns the Schema Type for the given Schema Item.
[out] | pSchemaTypeRef | Returned Schema Type |
[in] | schemaItemRef | Reference to Schema Item class |
bool mdlXMLSchemaItem_isReference | ( | XmlSchemaItemRef | schemaItemRef | ) |
Returns true if the given schema item is a reference.
[in] | schemaItemRef | Reference to Schema Item class |
bool mdlXMLSchemaItem_isSimpleType | ( | XmlSchemaItemRef | schemaItemRef | ) |
Returns true if the given schema item is a simple type.
[in] | schemaItemRef | Reference to Schema Item class |
int mdlXMLSchemaList_free | ( | XmlSchemaItemsListRef | schemaItemsListRef | ) |
Frees an instance of XML Schema Items List.
[in] | schemaItemsListRef | reference to a XML Schema Items List |
int mdlXMLSchemaList_getItem | ( | XmlSchemaItemRef * | pSchemaItemRef, |
XmlSchemaItemsListRef | schemaItemsListRef, | ||
long | index | ||
) |
Returns the XML Schema Item at the given index of the XML Schema List.
[out] | pSchemaItemRef | Returned XML Schema Item |
[in] | schemaItemsListRef | reference to a XML Schema Items List |
[in] | index | the index of the schema item list to be retrieved |
int mdlXMLSchemaList_getItemByName | ( | XmlSchemaItemRef * | pSchemaItemRef, |
XmlSchemaItemsListRef | schemaItemsListRef, | ||
WChar const * | pName | ||
) |
Returns a XML Schema Item by name from the given XML Schema List.
[out] | pSchemaItemRef | Returned XML Schema Item |
[in] | schemaItemsListRef | Reference to a XML Schema Items List |
[in] | pName | Name to search for XML Schema Item |
int mdlXMLSchemaList_getItemByQName | ( | XmlSchemaItemRef * | pSchemaItemRef, |
XmlSchemaItemsListRef | schemaItemsListRef, | ||
WChar const * | pName, | ||
WChar const * | pNamespaceURI | ||
) |
Returns a XML Schema Item by qualified name from the given XML Schema List.
[out] | pSchemaItemRef | Returned XML Schema Item |
[in] | schemaItemsListRef | Reference to a XML Schema Items List |
[in] | pName | Name to search for XML Schema Item |
[in] | pNamespaceURI | Namespace URI to search for XML Schema Item |
long mdlXMLSchemaList_getNumItems | ( | XmlSchemaItemsListRef | schemaItemsListRef | ) |
Returns the number of items in the given XML Schema Items List.
[in] | schemaItemsListRef | reference to a XML Schema Items List |
int mdlXMLSchemaStringsList_free | ( | XmlSchemaStringsListRef | schemaStringsListRef | ) |
Frees a XML Schema Strings List.
[in] | schemaStringsListRef | Reference to a XML Schema Strings List |
long mdlXMLSchemaStringsList_getNumStrings | ( | XmlSchemaStringsListRef | schemaStringsListRef | ) |
Returns the number of strings in the given XML Schema Strings List.
[in] | schemaStringsListRef | reference to a XML Schema Strings List |
int mdlXMLSchemaStringsList_getString | ( | WChar * | pSchemaString, |
int * | pMaxChars, | ||
XmlSchemaStringsListRef | schemaStringsListRef, | ||
long | index | ||
) |
Returns the string at given index of the given schema string list.
[in,out] | pSchemaString | Returned string at given index in schema string list |
[in,out] | pMaxChars | Max. number of chars of pSchemaString to return, actual number of chars in pSchemaString returned |
[in] | schemaStringsListRef | Reference to a XML Schema Strings List |
[in] | index | Index of the schema string list to be retrieved |
int mdlXMLSchemaType_free | ( | XmlSchemaTypeRef | schemaTypeRef | ) |
Frees an instance an XML Schema Type.
[in] | schemaTypeRef | Reference to Schema Type class |
int mdlXMLSchemaType_getBaseType | ( | XmlSchemaTypeRef * | pSchemaTypeRef, |
XmlSchemaTypeRef | schemaTypeRef, | ||
long | index | ||
) |
Returns the XML Schema Base Type for the given Schema Item.
[out] | pSchemaTypeRef | Returned Schema Type |
[in] | schemaTypeRef | Reference to Schema Type class |
[in] | index | Index of the base type list to be retrieved |
int mdlXMLSchemaType_getDataTypeName | ( | WChar * | pDataTypeName, |
int * | pMaxCharsDataTypeName, | ||
XmlSchemaTypeRef | schemaTypeRef | ||
) |
Returns the datatype for the given schema type.
[out] | pDataTypeName | Reference to XML Schema Type class |
[in,out] | pMaxCharsDataTypeName | Max. number of chars of pDataTypeName to return, actual number of chars in pValue returned |
[in] | schemaTypeRef | Reference to XML Schema Type class |
int mdlXMLSchemaType_getDigitFacets | ( | long * | pTotalDigits, |
long * | pFractionDigits, | ||
XmlSchemaTypeRef | schemaTypeRef | ||
) |
Returns the digit facets for the given schema type.
[in,out] | pTotalDigits | Returned Total Digits Facet, or NULL |
[in,out] | pFractionDigits | Returned Total Fractional Facet, or NULL |
[in] | schemaTypeRef | Reference to Schema Type class |
int mdlXMLSchemaType_getEnumerationFacets | ( | XmlSchemaStringsListRef * | pSchemaEnumerationList, |
XmlSchemaTypeRef | schemaTypeRef | ||
) |
Returns the enumeration facets for the given schema type.
[in] | pSchemaEnumerationList | XML Schema Strings Enumeration List |
[in] | schemaTypeRef | Reference to Schema Type class |
int mdlXMLSchemaType_getLengthFacets | ( | long * | pLength, |
long * | pMinLength, | ||
long * | pMaxLength, | ||
XmlSchemaTypeRef | schemaTypeRef | ||
) |
Returns the length facets for the given schema type.
[in,out] | pLength | Returned Length Facet, or NULL |
[in,out] | pMinLength | Returned Minimum Length Facet, or NULL |
[in,out] | pMaxLength | Returned Maximum Length Facet, or NULL |
[in] | schemaTypeRef | Reference to Schema Type class |
int mdlXMLSchemaType_getMinMaxFacets | ( | WChar * | pMinExclusive, |
int * | pMinExclusiveMaxChars, | ||
WChar * | pMaxExclusive, | ||
int * | pMaxExclusiveMaxChars, | ||
WChar * | pMinInclusive, | ||
int * | pMinInclusiveMaxChars, | ||
WChar * | pMaxInclusive, | ||
int * | pMaxInclusiveMaxChars, | ||
XmlSchemaTypeRef | schemaTypeRef | ||
) |
Returns the min/max facets for the given schema type.
[in,out] | pMinExclusive | Returned Min Exclusive Facet, or NULL |
[in,out] | pMinExclusiveMaxChars | Max. Number of chars to return in pMinExclusive, actual size of pMinExclusive |
[in,out] | pMaxExclusive | Returned Max Exclusive Facet, or NULL |
[in,out] | pMaxExclusiveMaxChars | Max. Number of chars to return in pMaxExclusive, actual size of pMaxExclusive |
[in,out] | pMinInclusive | Returned Min Inclusive Facet, or NULL |
[in,out] | pMinInclusiveMaxChars | Max. Number of chars to return in pMinInclusive, actual size of pMinInclusive |
[in,out] | pMaxInclusive | Returned Max Inclusive Facet, or NULL |
[in,out] | pMaxInclusiveMaxChars | Max. Number of chars to return in pMaxInclusive, actual size of pMaxInclusive |
[in] | schemaTypeRef | Reference to Schema Type class |
long mdlXMLSchemaType_getNumBaseTypes | ( | XmlSchemaTypeRef | schemaTypeRef | ) |
Returns the number of Base Types from the given XML Schema Type.
[in] | schemaTypeRef | Reference to XML Schema Type class |
int mdlXMLSchemaType_getPatternFacets | ( | XmlSchemaStringsListRef * | pSchemaPatternsList, |
XmlSchemaTypeRef | schemaTypeRef | ||
) |
Returns the pattern facets for the given schema type.
[in] | pSchemaPatternsList | XML Schema Strings Enumeration List |
[in] | schemaTypeRef | Reference to Schema Type class |
bool mdlXMLSchemaType_isEnumeration | ( | XmlSchemaStringsListRef * | pEnumListRef, |
XmlSchemaTypeRef | schemaTypeRef | ||
) |
Returns a strings list of the enum types for the given schema type, if the given schema type is an enumeration.
[out] | pEnumListRef | Returned XML Schema Strings Enumeration List, if schema type is an enumeration |
[in] | schemaTypeRef | Reference to Schema Type class |
bool mdlXMLSchemaType_isValid | ( | XmlSchemaTypeRef | schemaTypeRef, |
WChar const * | pStringToValidate | ||
) |
Returns true is the given string is validfor the given schema type.
[in] | schemaTypeRef | Reference to Schema Type class |
[in] | pStringToValidate | string to validate |