Sachith,

thanks for moving forward on this without immediate feedback from
myself. Basically, I don't think the JAXB specification defines any
contract in this area. As such, I think it's completely up to us to
define the interface here.

Before doing so, can you please (again) cross-check with the XML schema
specification that no interface is defined for the schema generator
component.

Werner

Sachith Dhanushka wrote:
> 
> 
>     3. How do I know which class to start with to feed in to my code?
>     Basically what will be the external api of my
>     code.For the time being it is public Schema buildSchema(Class clazz)
>     throws CastorException; But this requires the user to pass the root
>     element
>     classname in to the code. But alternatively I was thinking to scan a 
> folder and load the classes. But I am not sure how feasible this is. 
> 
> 
> 
> Just for your information. I just finished writing this code. If the
> user points me where his compiled JAXB2 classes are, now I can generate
> schema for all the classes in it.
> 
> Thanks,
> SD


---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to