[jdom-interest] Element serializing and deserializing from st ring

Chris Poe CPoe at mediaconnex.com
Wed Nov 1 17:50:45 PST 2000

Sibon -

If you mean serialize a Java object, I've just recently done this. I used
the encoding functionality of the JavaMail 1.1 package.
This is what I did:

1. Use the javax.mail.internet.MimeUtility methods, encode and decode with a
'base64' encoding on the ObjectInputStreams and serialize the object(s).

2. Stick the resulting string into a JDOM element and voila! Serialized
objects in an XML document!

Good luck,

-----Original Message-----
From: Sibon Barman [mailto:sibon at ss8networks.com]
Sent: Wednesday, November 01, 2000 11:44 AM
To: jdom-interest
Subject: [jdom-interest] Element serializing and deserializing from

Hi all,
Is it possible to serialize an Element into a String and then use that
String to deserialize into an Element? If so what would be the code to
deserialize an Element from a string?

To control your jdom-interest membership:

More information about the jdom-interest mailing list