You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@xmlbeans.apache.org by Mert Çalışkan <mc...@gmail.com> on 2006/10/14 13:06:49 UTC

Pojo->xml mapping..

Does XMLBeans have the capability to map java classes to xml by only using
the pojo's?
I was using xmlBeans for marshal/unmarshaling but it needs an xsd to
generate the domain classes.
Castor does the mapping I mentioned but it doesn't have much control, like
it maps list or sets as the Object class.

Regards,

Mert..

RE: Pojo->xml mapping..

Posted by "Roache, Ed (Contr)" <Ed...@ngc.com>.
Mert,
 
You might want to check out XStream (http://xstream.codehaus.org/). It's a great tool for marshalling and demarshalling POJOs as XML striings.
 
Eddie
 

________________________________

From: Mert Çalışkan [mailto:mcaliskan@gmail.com] 
Sent: Saturday, October 14, 2006 7:07 AM
To: user@xmlbeans.apache.org
Subject: Pojo->xml mapping..


Does XMLBeans have the capability to map java classes to xml by only using the pojo's?
I was using xmlBeans for marshal/unmarshaling but it needs an xsd to generate the domain classes. 
Castor does the mapping I mentioned but it doesn't have much control, like it maps list or sets as the Object class. 
 
Regards,
 
Mert..