I don't know castor very well, but as far as I know a mapping needs an xml file. I don't have an xml file. In fact, I don't have anything, just the big java object that needs to be converted into an xml file. How does the castor mapping works? I wonder if it can help me. Many thanks Fabio. --- Keith Visco <[EMAIL PROTECTED]> escreveu: > > Have you tried using a Castor mapping file? > > --Keith > > > F�bio Luciano Verdi wrote: > > > > Hi everybody, > > I am facing a problem and have been looking for an > > answer in many lists but I haven't found a > solution. > > The problem is that I need to generate an xml file > > from a big java object. I don't have the source > code, > > only the .class and from that .class I need to > > generate its corresponding xml file. I have been > > trying many ways: JAXB (needs an schema, I don't > > have), Castor (needs setter and getter methods, I > > don't have the source code to add such methods), > DOM > > API from Sun (requires serializable classes - > > implements serializable). I have used JSX > > (http://www.jsx.org/) that can be used in my > situation > > but it is a bit comercial, not a standard I think! > > I read that xmlspy can generate an schema. Then, > if I > > have an schema I can use JAXB to generate the xml > > file. > > Any idea? > > Thanks in advance. > > Fabio. > > > > > ______________________________________________________________________ > > > > Yahoo! Mail: 6MB, anti-spam e antiv�rus gratuito! > Crie sua conta agora: > > http://mail.yahoo.com.br > > > > > ----------------------------------------------------------- > > If you wish to unsubscribe from this mailing, send > mail to > > [EMAIL PROTECTED] with a subject of: > > unsubscribe castor-dev > > ----------------------------------------------------------- > > If you wish to unsubscribe from this mailing, send > mail to > [EMAIL PROTECTED] with a subject of: > unsubscribe castor-dev >
______________________________________________________________________ Yahoo! Mail: 6MB, anti-spam e antiv�rus gratuito! Crie sua conta agora: http://mail.yahoo.com.br ----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of: unsubscribe castor-dev
