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

Reply via email to