Title: JDO: can't map boolean -> char[01]?
Mette:
 
The short answer to your question is to
instantiate your bean,
Marshaller.marshal(writer, object);
...
 
MyType object = (MyType)Unmarshaller.unmarshal(reader);
 
 
----- Original Message -----
Sent: Tuesday, October 02, 2001 5:35 PM
Subject: [castor-dev] Rountrip example?

Are there any code examples on how to do a roundtrip of an XML document in Castor? What I mean by roundtrip is an application that loads an XML document into the beans, and then outputs it back out again.
 
As I understand it, this has to be done through the API, but I would like to see an example of it, to make sure I am going about it the right way. If there is a command line application that does this that I am not aware of, that would be great too.

Mette Hedin

Reply via email to