Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » XML Schema Definition (XSD) » Feature request: can XSDEcoreBuilder use EcorePackage.eINSTANCE.getEFactoryInstance() instead of
Feature request: can XSDEcoreBuilder use EcorePackage.eINSTANCE.getEFactoryInstance() instead of [message #598752] Tue, 26 September 2006 08:56
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Hi,
I noticed that the XSDEcoreBuilder uses the EcoreFactory.eINSTANCE to create eenums (and maybe also
other model elements). Would it be possible to let it use
EcorePackage.eINSTANCE.getEFactoryInstance() instead?

The reason that I ask is that this makes it possible to override the default EcoreFactory with our
own implementation (by setting the EcoreFactory in the EcorePackage). We require our own
implementation to make use of our own serializable EEnumLiteral.

Btw, is overriding EcoreFactory a valid approach in this case?

--

With Regards, Martin Taal

Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org
Previous Topic:adding an import to a schema and validating
Next Topic:Feature request: can XSDEcoreBuilder use EcorePackage.eINSTANCE.getEFactoryInstance() instead of
Goto Forum:
  


Current Time: Sat Apr 20 00:11:53 GMT 2024

Powered by FUDForum. Page generated in 0.03276 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top