Skip to main content



      Home
Home » Modeling » M2T (model-to-text transformation) » Access XSD model from Xpand java extensions
icon5.gif  Access XSD model from Xpand java extensions [message #498424] Mon, 16 November 2009 15:20 Go to next message
Eclipse UserFriend
Hi,

Is there a way to import the types generated by the XSD adapter in the java extensions?

It is easy to import the model in Xpand and Xtend. But how can I access the specific types in java extensions? There I cannot just import metamodel.

Do I need <registerPackagesGlobally value="true" />?

br
Marco
Re: Access XSD model from Xpand java extensions [message #498648 is a reply to message #498424] Tue, 17 November 2009 16:17 Go to previous message
Eclipse UserFriend
hello

the xsd metamodel works with dynamic emf so there are no physical (java) classes (generated) you could use in your java extensions. but of cource you can use org.eclipse.emf.ecore.impl.DynamicEObjectImpl which is the java type of the elements you work with in your xpand templates / xtend files
Previous Topic:[Acceleo] Acceleo and Rhapsody
Next Topic:XSDMetaModel
Goto Forum:
  


Current Time: Tue Jul 22 15:17:05 EDT 2025

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

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

Back to the top