Saturday, September 3, 2011

JAXB + GWT

I have an XML Schema defined in XSD format. Basically, there are a
whole lot of objects with attributes associated with them. The
attributes have various types (strings, enumerated types, integers).
The restrictions on these attributes are all defined in the XSD
format. I would like to create an "editor" in GWT which allows the
user to edit a file in XSD format. The editor should be able to
create a form using the XSD. For example, if there is an enumerated
type attribute, the editor should create a drop down menu.

I experimented with JAXB to generate the java bean classes from the
XSD format. The problem with this is that you cannot do reflection in
GWT, so there's no great way to view the attributes of the class in
order to create the editor window.

I imagine people have done similar things before.

Thanks!!
Kyle

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate