jakartaee / jakartaee/jaxb-api
Add support for unwrapping a XMLElement into other XMLElement
- Dominant language
- Java
- Stars
- 79
- Forks
- 48
- Avg merge
- 7h 12m
- Merged PRs (30d)
- 2
Description
Looking for a solution to unwrap an XMLElement into other XML Element, similar to `@JsonUnwrapped`
Example :
**Car** class
```
public class Car {
private String carModel;
private Engine engine;
}
```
**Engine** class
```
public class Engine {
private String capacity;
private String power;
}
```
Expected XML for some scenarios should be like below.
```
Audi
500L
200
```
Contributor guide
Research direction
Start with the Car and Engine examples in the issue and review the existing JAXB XML binding behavior and annotation support. Define what unwrapped output should mean for these classes and verify that the requested scenarios produce the expected XML.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend-api-design
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100