JAXB multiple inheritance propOrder

Viewed 1197

I have a structure like

public class Grandpa...

public class Father extends Grandpa...

public class Son extends Father...

I want to marshall it to file with propOrder annotation.

So i can use @XmlTransient on Grandpa and set propOrder on Father class, but How can i apply propOrder to all 3 classes?

As i understand '@XmlTransient'-approach is only for one super class, and one child class?

1 Answers
Related