This module is used internally by XML::Pastor.
You do not normally know much about this module to actually use XML::Pastor.
It is documented here for completeness and for XML::Pastor developers.
Do not count on the interface of this module.
It may change in any of the subsequent releases.
You have been warned.

XML::Pastor::Schema::SimpleType is a data-oriented object class that reprsents a W3C Simple Type. It is parsed from the W3C schema and is used a building block for the produced schema model. It is also used embedded as class data within the simple classes generated by XML::Pastor. This way, objects of this class contain META information about the W3C schema simple type that they represent.

Like other schema object classes, this is a data-oriented object class, meaning it doesn't have many methods other than a constructor and various accessors.

This is a W3C facet. For more information please refer to W3C XML schema documentation.

This field, if present, signifies the number of fractional digits that numeric values of this simple type must have. This is obtained directly from the W3C schema and placed here by the parser. It is later used for validation.

This is a W3C facet. For more information please refer to W3C XML schema documentation.

Returns (GET) and expects (SET) a string value that represents the type of the items in a 'list' type. A W3C list type is a whitespace separeted list of tokens (called items) which must have a common atomic type. This value is obtained from the W3C schema by the parser and is later used for validation.

Returns (GET) and expects (SET) a Perl Class name that represents the type of the items in a 'list' type. A W3C list type is a whitespace separeted list of tokens (called items) which must have a common atomic type. This value is computed from the itemType at schema model resolution time and is later used for validation.

This is a W3C facet. For more information please refer to W3C XML schema documentation.

This field, if present, signifies a numeric value that the values of this simple type must be less than. This is obtained directly from the W3C schema and placed here by the parser. It is later used for validation.

This is a W3C facet. For more information please refer to W3C XML schema documentation.

This field, if present, signifies the maximum numeric value that the values of this simple type can have. This is obtained directly from the W3C schema and placed here by the parser. It is later used for validation.

This is a W3C facet. For more information please refer to W3C XML schema documentation.

This field, if present, signifies the maximum string length that the values of this simple type can have. This is obtained directly from the W3C schema and placed here by the parser. It is later used for validation.

This is a W3C facet. For more information please refer to W3C XML schema documentation.

This is a whitespace separated list of member type names in the context of a W3C union. The value is retrieved from the W3C schema and further enriched by the implicit (local) type names by the schema parser. It is later used for validation.

This is a reference to an array of Perl classes each of which represent a type mentioned in "memberTypes()". So it makes sense only in a W3C union context. The value is computed at schema model resolution time. It is later used for validation.

This is a W3C facet. For more information please refer to W3C XML schema documentation.

This field, if present, signifies a numeric value that the values of this simple type must be greater than. This is obtained directly from the W3C schema and placed here by the parser. It is later used for validation.

This is a W3C facet. For more information please refer to W3C XML schema documentation.

This field, if present, signifies the minimum numeric value that the values of this simple type can have. This is obtained directly from the W3C schema and placed here by the parser. It is later used for validation.

This is a W3C facet. For more information please refer to W3C XML schema documentation.

This field, if present, signifies the minimum string length that the values of this simple type can have. This is obtained directly from the W3C schema and placed here by the parser. It is later used for validation.

This is a W3C facet. For more information please refer to W3C XML schema documentation.

This field, if present, gives a W3C regular expression to which the values of this simple type must match. This is obtained directly from the W3C schema and placed here by the parser. It is later used for validation.

This is NOT a W3C facet. But it is used as such internally by XML::Pastor in order to give constraints to builtin types.

This field, if present, gives a Perl regular expression to which the values of this simple type must match. It is similar to the "pattern()" field accept that the regex() field will always be guaranteed to be a Perl regular expression whereas 'pattern' may digresse in the future. This is obtained directly from the W3C schema and placed here by the parser. It is later used for validation.

This is a W3C facet. For more information please refer to W3C XML schema documentation.

This field, if present, signifies the total number of digits that numeric values of this simple type must have. This is obtained directly from the W3C schema and placed here by the parser. It is later used for validation.

This is a W3C facet. For more information please refer to W3C XML schema documentation.

This field, if present, signifies treatment of whitespace within a the values of this simple type upon validation. Currently, three values are possible => 'preserve'(default), 'collapse', 'replace'. This is obtained directly from the W3C schema and placed here by the parser. It is later used for validation.

There no known bugs at this time, but this doesn't mean there are aren't any. Note that, although some testing was done prior to releasing the module, this should still be considered alpha code. So use it at your own risk.

Note that there may be other bugs or limitations that the author is not aware of.