Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Modeling (top-level project) » code samples
code samples [message #592381] Thu, 26 April 2007 02:31
adam berk is currently offline adam berkFriend
Messages: 2
Registered: July 2009
Junior Member
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.
Previous Topic:security
Next Topic:code samples
Goto Forum:

Current Time: Mon May 21 13:01:21 GMT 2018

Powered by FUDForum. Page generated in 0.01936 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top