Document in xml - Not serializable?

Hi, I was working with the Document in xml.

I tried to serialize it, but it seems that the implemantation of it is not serializable.

The problem is that the object is created with a factory method, so also inheriting it is no use, since the creation is not in our hands.

The only solution i can see is to inherit also the Factory and to ovverde the creation method.

Any suggestion?

Thanks,

Doron

[452 byte] By [doronorbach] at [2007-9-26 1:38:14]
# 1
why do you want to serialize the document object?you might as well serialize the xml file it represents and when or where needed, just parse it and get its document object, which would essentially be the same as the object you are trying to serialize.
parthasarkar at 2007-6-29 2:25:58 > top of Java-index,Core,Core APIs...
# 2
Thanks,It makes sense.Doron
doronorbach at 2007-6-29 2:25:58 > top of Java-index,Core,Core APIs...