View Single Post
  #1 (permalink)  
Old 12-18-2007, 05:31 PM
Bender Bender is offline
Member
 
Join Date: Dec 2007
Posts: 2
Bender is on a distinguished road
Help for dynamic classes
Hello, i have the following problem.
I use Jaxb 2.0 to produse classes from an .xsd file( XML schema) and then let's say I need print the classes.
How can I do this in dynamic way,so that it will work for every .xsd that I give?
The names of the prodused classes can be found in the .xsd file as elements ,so I am thinking about parsing the .xsd either with sax/dom or manually and put the names on a vector or something.Then if I know the name I suppose I can call the classes.Is this solution good?What do you think?
Any other way to do it?
Reply With Quote
Sponsored Links