| Summary: | Support default xml binding | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Konstantin Komissarchik <konstantin> |
| Component: | Sapphire | Assignee: | Konstantin Komissarchik <konstantin> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | ling.hao |
| Version: | unspecified | Keywords: | plan |
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Konstantin Komissarchik
This feature has been implemented. Unit tests have been added. Documentation is available under Sapphire Developer Guide -> Modeling Framework -> XML -> Binding -> Default XML Binding. Implementation Details Default XML binding uses property and type names for element names in XML. More formally: 1. A model element is mapped to an XML element whose name is derived from model element type. The local type name is used (no package prefix) and the 'I' prefix is removed. 2. A property is mapped to an XML element whose name is equal to the property name. 3. The value of a value property is stored as text content inside the property's XML element. Marking as fixed. Removed @XmlBinding from an example, and verify that default XML binding was generated as described in the docs. |