Ben, Take a look at extensions, it's probably what you're looking for: http://wiki.apache.org/xmlbeans/ExtensionInterfacesFeature
Cezar > -----Original Message----- > From: Ben Jelloul Marouane [mailto:[EMAIL PROTECTED] > Sent: Friday, April 28, 2006 7:32 AM > To: xmlbeans user mailing list > Subject: inheritance: I m I allowed to subClass an > XmlMyGeneratedObjectImpl > > Hi, > > my problem is this: > I have a generated with scomp: > Public Interface XmlHolderTypeLib > Public Class XmlHolderTypeLibImpl > extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl > implements HolderTypeLib > > I need a Class HolderTypeLib that I can load with an xml file > but that have also a lot of other methods that I will add. > The problem is that the XmlHolderTypeLib.Factory.parse(file) > will create a instance of XmlHolderTypeLibImpl. > > Is it correct to do (I m not sure because XmlHolderTypeLibImpl is in an > impl package): > Class HolderTypeLib extends XmlHolderTypeLibImpl > and even if it is correct how I will create an instance of HolderTypeLib. > > Thanks, > Marouane > > > --------------------------------------------------------------------- > 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]