Either parse the Schema using the SchemaReader, or use the generated
class descriptors.

ClassDescriptor has a getFields() method...which will return you the
FieldDescriptors for each field allowed in the Class.

Thanks,

--Keith


Risheng Lin wrote:
> 
> Hi,
> 
> Castor's source generator can generate java classes for elements defined in
> XML schema, but I want to know how to get each element's  allowable
> children lists and its allowable attributes sets from Source Generator,
> similar to Schema Parser?
> 
> Is there any way to do it? - Thanks!
> 
> -----------------------------------------------------------
> 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