Hi,
I want to give people who are interested in the new castor JAXB2 support
a short overview of my progress concering my Google Summer of Code project.
The scope of this project is to use a templating engine during source
generation to get rid of the StringBuffers in the JClass/JField/.. print
methods.
In addition, there should be a (switchable) way of generating JAXB2
compliant class files with castor.
Things already done:
- integration of velocity into castor build and source generator
- generation castor style classes with velocity templates
- generation of jaxb annotations for classes (@XMLType, @XMLRootType)
and fields (@XMLElement, @XMLAttribute)
My next steps are: (the places where to do what in the code are identified)
- using a java5 enum for enumeration facets of simple types
- using java mapping for XML schema built-in types according to the jaxb
spec. some types differ between castor and jaxb (eg. xs:date)
- adding missing annotations (e.g. @XMLID)
Regards,
matthias
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email