[Simple-support] XJC and SimpleXML
Brought to you by:
niallg
|
From: kyle p. <kyl...@gm...> - 2012-04-21 06:47:50
|
Hi All, I had been doing development using Jaxb for a desktop Java application. The XML schema I am using has an XSD file which defines over 200 objects. I used the xjc application to create all the class files I needed. I want to port my application to Android, and discovered there is no support for Jaxb there. Many posts pointed me to the wonderfully light weight SimpleXML library. My problem is that SimpleXML does not support the annotations used in the class files created by xjc. Is there an equivalent tool for SimpleXML which can produce compatible classes from an XSD file? Alternatively, is there any tool for translating the annotations I have now into ones SimpleXML will like? Thanks, Kyle |