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?
I will use reflection, I found it as the only possibly solution to call the classes after I create them in realtime