EMF translators [message #145874] |
Wed, 02 November 2005 07:28 |
Eclipse User |
|
|
|
Hello,
could someone help me with understanding some specialized translators
from org.eclipse.wst.common.emf? I know all classes in this plug-in are
internal but they helped me a lot for providing a unique view of our
model and I will dig deeper into this translator framework.
For example the class TranslatorPath, which is probably used to define
some kind of DOM-path from one XML element A to another XML element B
that is used as an attribute or element of A. An example usage is in the
class WebAppTranslator. There it is used to define a path from the
translator for the servlet-name to servlet-mapping or filter-mapping. On
the other end in servlet-mapping or filter-mapping there is the class
SourceLinkTranslator used to define a DOM-path back to the servlet or
filter.
Does this mean that a Translator configured with a some kind of DOM-path
through TranslatorPath's can only be used in conjunction with a
SourceLinkTranslator?
In the WebAppTranslator the DOM-path works with the content of an XML
element A as reference name to an XML element B. Can I also use the
TranslatorPath and SourceLinkTranslator for a mapping where an attribute
of XML element A references an XML element B.
I found the post "Synchronizing SSE and EMF models" in the wst-dev
mailing list. Is there more free information about the EMF/translator
frameworks or do you have only the "weak javadoc". Can I help for
example with providing Javadoc's as far as I understand this framework?
Kind regards,
Daniel
|
|
|
Powered by
FUDForum. Page generated in 0.05748 seconds