[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Java Data Binding spec
> Does anybody
know where I can find an online copy of Sun's Java Data
> Binding spec? The Web page says all sorts of nice things Ron,
That's probably the old web page. There have
been recent improvements to the Java Community Process so you actually
can use Java Spec Binding.
You have to download the 'about
JSRxxx' web page and a spec binder program from Sun's web site.
http://java.sun.com/aboutJava/communityprocess/jsr/jsr_xxx31_specbind.jar
where xxx is 031 for Java Data
Binding.
The SpecBinder class opens a
FileInputStream and parses the promotional text from the web page
(http://java.sun.com/aboutJava/communityprocess/jsr/jsr_031_xmld.html).
It emits the specification. If you provide an optional XML schema, it emits
custom Java classes that conform to the spec and the XML document. I think
there's also an option to emit the spec as XML with an XSL stylesheet.
A graduate student wrote the 'about
JSRxxx' parser in one day. Microsoft hired him to work on parsing
'about .NETxxx' pages to emit C# code -- (.NET Spec
Binding).
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|