Hi Paul,

To have a direct access to the facets, you should use the Castor Schema
Object Model.
The source generator is using this model to generate the sources and the
facets relevant code is set in the Validators created in the generated
xxxDescriptor classes.

Hope that helps,

Arnaud
> -----Original Message-----
> From: Young, Paul [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, April 04, 2002 3:28 PM
> To: [EMAIL PROTECTED]
> Subject: [castor-dev] XML Schema Datatype Facet Support
> 
> In reading sections 2.3.1.1 and 2.3.1.2 of the Castor XML Source Code
> Generator User Document, it states that the XML Schema Datatypes and
their
> corresponding facets printed in bold type are supported by the Source
> Generator (I refer to the 2/15/01 version where bold annotations are
> visible).  How can I access the values set for the supported facets?
I
> have
> discovered in the descriptor files for a generated class where some of
the
> facets are being set, however it does not appear that methods are
provided
> to get the values set for all of the supported facets.  Could you
please
> confirm whether such methods are available and if so direct me to
their
> location in order that I might make use of them in my application?
Thanks
> in advance for your help!
> 
> Paul Young
> 
> -----------------------------------------------------------
> If you wish to unsubscribe from this mailing, send mail to
> [EMAIL PROTECTED] with a subject of:
>       unsubscribe castor-dev

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to