Basically, the generated XMLBeans impl classes extend (eventually)
XmlObjectBase, and that implements Serializable:

public abstract class XmlObjectBase implements TypeStoreUser,
Serializable, XmlObject, SimpleValue 

You can find the src for XmlObjectBase in

src/typeimpl/org/apache/xmlbeans/impl/values/XmlObjectBase.java

in the svn repository.
- Wing Yew

-----Original Message-----
From: Wing Yew Poon [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 17, 2007 11:01 AM
To: user@xmlbeans.apache.org; [EMAIL PROTECTED]
Subject: RE: General question

>From the archives:
------------------

From    "Radu Preotiuc-Pietro" <[EMAIL PROTECTED]>
Subject RE: Serialization (again)
Date    Wed, 12 Oct 2005 22:53:03 GMT

I think the definitive answer is:

- generated Java classes are serializable and the serialization format
is XML, so that when you deserialize it you can go to parent, to DOM
etc, and the behavior will be exactly the same as on the original
instance (except for classoading-related things, of course)

- the DOM implementation is currently not serializable, I don't really
know what the reason for that is.

Radu 

-----Original Message-----
From: Schalk Neethling [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 17, 2007 9:44 AM
To: user@xmlbeans.apache.org
Subject: General question

Hey there everyone,

A quick question. Is XMLBeans serializable? If so, is there somewhere
documentation to confirm this? If not, is there a way to make them
serializable?

Thanks,
Schalk

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Notice:  This email message, together with any attachments, may contain
information  of  BEA Systems,  Inc.,  its subsidiaries  and  affiliated
entities,  that may be confidential,  proprietary,  copyrighted  and/or
legally privileged, and is intended solely for the use of the individual
or entity named in this message. If you are not the intended recipient,
and have received this message in error, please immediately return this
by email and then delete it.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Notice:  This email message, together with any attachments, may contain 
information  of  BEA Systems,  Inc.,  its subsidiaries  and  affiliated 
entities,  that may be confidential,  proprietary,  copyrighted  and/or legally 
privileged, and is intended solely for the use of the individual or entity 
named in this message. If you are not the intended recipient, and have received 
this message in error, please immediately return this by email and then delete 
it.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to