|code samples [message #592381]
||Thu, 26 April 2007 02:31
| adam berk
Registered: July 2009
I am working in the RAD6 environment and attempting to learn EMF as a way |
of doing some basic Java / XML binding tasks. Can someone tell me if EMF
supports the functions listed below and if so, where I might find both the
api documentation and some key code samples to get started. I am really
struggling to find code samples and documentation. I have been bouncing
all over following leads but to no avail. I've looked at xmlbeans and
Castor and found ample examples and clear documentation. Probably my fault
but nonetheless, I need some help.
I need to be able to do the following:
1. Unmarshal an xml document from either a file stream or a String, into
the java classes represented in the genmodel.
2. Call a validate method to make sure that the document is in fact well
formed and valid according to the schema.
3. Construct the java object representing a document then call a validate
method to ensure that the object would yield a valid document.
4. Unmarshal the object into a valid XML document.
Powered by FUDForum
. Page generated in 0.03407 seconds