Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » XML Schema Definition (XSD) » derivation from existing Java classes
derivation from existing Java classes [message #597026] Thu, 20 October 2005 03:52
Enrique is currently offline Enrique
Messages: 44
Registered: July 2009
Member
Hi,
if I understood well, the generated classes are notifiers, but they aren`t
adapters.
I would like them to derive from an adapter class.

As simpleType it could look like this:

<xsd:simpleType ecore:name="AnotherAdapter"
ecore:instanceClass="org.eclipse.emf.common.notify.impl.AdapterImpl ">
<xsd:restriction/>
</xsd:simpleType>

But as it is not possible to derive from a simpleType, that doesn`t work.

The only thing which comes in my mind is to have an adapter as instance in
the specified objects.
Is there another possibility to derive objects from existing Java classes?
Thanks for help in advance.
Previous Topic:problems loading xml schema with targetNamespace
Next Topic:derivation from existing Java classes
Goto Forum:
  


Current Time: Wed Aug 27 17:14:08 EDT 2014

Powered by FUDForum. Page generated in 0.03628 seconds