{"id":183,"date":"2001-04-05T09:31:00","date_gmt":"2001-04-05T17:31:00","guid":{"rendered":"http:\/\/www.netjeff.com\/wp\/?p=183"},"modified":"2001-04-05T09:31:00","modified_gmt":"2001-04-05T17:31:00","slug":"generating-java-classes-to-parse-xml","status":"publish","type":"post","link":"https:\/\/www.netjeff.com\/wp\/?p=183","title":{"rendered":"Generating Java classes to parse XML"},"content":{"rendered":"<p>\nWe want a system that will take a DTD and generate a Java class. This<br \/>\nclass would hide all the DOM\/SAX details. The user would say something<br \/>\nsimple like getName() and you'd get the content of the <name> element.<\/p>\n<p>Patrick Carey pointed us to <a href=\"http:\/\/www.breezefactor.com\/\">Breeze XML Studio<\/a><br \/>\nafter the CTIA show. Proprietary, but looks pretty good. I hear it has<br \/>\na nice GUI too, something that we probably would not be able to<br \/>\nimplement here at TCS. <\/p>\n<p>Sun has a proposed spec, <a href=\"http:\/\/java.sun.com\/aboutJava\/communityprocess\/jsr\/jsr_031_xmld.html\">XML Data Binding Specification (JSR 031)<\/a>,<br \/>\nalso known as Adelard, that seeks accomplish the same thing. This JSR<br \/>\nis very early in it's life cycle. There's a good little <a href=\"http:\/\/java.sun.com\/xml\/jaxp-docs-1.0.1\/docs\/bind.pdf\">white paper (pdf)<\/a>about the general problem of data binding XML and Java.<\/p>\n<p>BreezeFactor, the company that make Breeze XML Studio, has a FAQ on the <a href=\"http:\/\/www.breezefactor.com\/papers\/BreezeAdelard.htm#_ftn1\">relationship between their product and Adelard<\/a>.<\/name><\/p>\n","protected":false},"excerpt":{"rendered":"<p>We want a system that will take a DTD and generate a Java class. This class would hide all the DOM\/SAX details. The user would say something simple like getName() and you'd get the content of the element. Patrick Carey pointed us to Breeze XML <a class=\"more-link\" href=\"https:\/\/www.netjeff.com\/wp\/?p=183\">Read More &#8230;<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-183","post","type-post","status-publish","format-standard","hentry","category-programming"],"_links":{"self":[{"href":"https:\/\/www.netjeff.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/183","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.netjeff.com\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.netjeff.com\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.netjeff.com\/wp\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.netjeff.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=183"}],"version-history":[{"count":0,"href":"https:\/\/www.netjeff.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/183\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.netjeff.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=183"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.netjeff.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=183"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.netjeff.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=183"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}