Hi Stefan, XMLBeans doesn't create immutable XMLBeans out of the box, but using the extension feature it is possible.
Please check this test case: http://svn.apache.org/viewvc/xmlbeans/trunk/test/src/xmlobject/extension s/prePostFeature/readOnlyBean/ and http://svn.apache.org/viewvc/xmlbeans/trunk/test/cases/xbean/extensions/ prePostFeature/readOnlyBean/ Cezar > -----Original Message----- > From: Stefan Lischke [mailto:[EMAIL PROTECTED] > Sent: Tuesday, September 11, 2007 9:34 AM > To: [email protected] > Subject: How to get an immutable XmlObject > > Hi there, > > I just had a discussion with someone who said XMLBeans are useless, > cause they do not support immutable objects. > > Is there any way to instantiate and set properties of an XmlObject and > get an immutable Object of it to give it to other implementations. So > that these implementations can only read the XmlObject without editing it. > > Thanx in advance > > Stefan 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]

