Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

EDT:XMLConversionGenerationAndRuntime

General Information

XML generation is container based generation and only supports XML conversion for records and handlers to/from XML. The record and handler field types can be the primitive types, records, handlers, or dictionaries. The generators generate meta data for the part and field. The runtime uses the meta data to do the XML conversion. Conversion of dictionaries is done only by the runtime.

Common Plugin Details

org.eclipse.edt.compiler

provides the mof model support. It contains the EGL source for XMLLib native type and the XML annotations in eglx.xml.binding.annotation. These annotations map to Java annotations in javax.xml.binding.annotation. The annotations are placed on the EGL fields and control how the records and handlers are converted to an XML string.

EDT:XMLConversionJavaGenerationAndRuntime

EDT:XMLConversionJavaScriptGenerationAndRuntime

Testing

The Test suite is located in the IBM CVS. org.eclipse.edt.eunit.test/EGLSource/fvt/xml

Back to the top