Very nice feature... Thanks so much Adrian!

--
Kind Regards
Ashish Vijaywargiya
HotWax Media - est. 1997
ApacheCon US 2013 Gold Sponsor
http://na.apachecon.com/sponsors/

On Tuesday 04 June 2013 03:22 PM, adri...@apache.org wrote:
Author: adrianc
Date: Tue Jun  4 09:52:10 2013
New Revision: 1489362

URL: http://svn.apache.org/r1489362
Log:
New feature: Convert an XSD file to Java source code. The feature creates 
immutable Java object models that represent the XML file defined by the schema. 
It supports an optional Visitor implementation.

The feature can be accessed in Web Tools by clicking on the XSD to Java link.

The Java source code is displayed in a text area - where it can be 
copied-and-pasted to your IDE. The source code is fairly complete, but you will 
have to fill in some missing bits.

If anyone wants to adapt the feature to make it a command-line utility, then 
that would be welcome.

Added:
     ofbiz/trunk/framework/webtools/webapp/webtools/XsdToJava.ftl
Modified:
     ofbiz/trunk/framework/webtools/config/WebtoolsUiLabels.xml
     ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/controller.xml
     ofbiz/trunk/framework/webtools/webapp/webtools/main.ftl
     ofbiz/trunk/framework/webtools/widget/MiscForms.xml
     ofbiz/trunk/framework/webtools/widget/MiscScreens.xml

Modified: ofbiz/trunk/framework/webtools/config/WebtoolsUiLabels.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/framework/webtools/config/WebtoolsUiLabels.xml?rev=1489362&r1=1489361&r2=1489362&view=diff
==============================================================================
--- ofbiz/trunk/framework/webtools/config/WebtoolsUiLabels.xml (original)
+++ ofbiz/trunk/framework/webtools/config/WebtoolsUiLabels.xml Tue Jun  4 
09:52:10 2013
@@ -5823,4 +5823,19 @@
          <value xml:lang="zh">创建一个实体 ${entityName} :输å…
¥å€¼ï¼Œç„¶åŽç‚¹å‡»æ–°å»º.</value>
          <value xml:lang="zh_TW">創建一個實體 ${entityName} :輸å…
¥å€¼ï¼Œç„¶å¾Œé»žæ“Šæ–°å»º.</value>
      </property>



Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to