you need to use JAXB on the server side, not on the client side. There you can use reflection. Parse your XML and set to POJOs and get back to client.
On Sat, Sep 3, 2011 at 11:51 PM, Kyle Anderson <[email protected]>wrote: > 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 [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
