I have a class called Ability that inherits from an abstract class `CampaignObject`.

`CampaignObject` has an abstract method called `getInfo()`.

Abilities do not have their own Info. If they are asked for info, the info of their Owner should be provided.

When I use `JAXB.marshal(...)` to marshal that, it includes the owners info text as an `XmlElement` on every ability. Annotating `Ability.getInfo()` with `@XmlTransient` does not make a difference. 

What can I do?

Thanks a lot.

Code like this:

```
@XmlRootElement(name = "ability")
public class Ability extends CampaignObject {

    private String val;
    private Hero owner;

    ...

    @Override
    @XmlTransient
    public String getInfo() {
       return getOwner().getInfo();
    }

    @XmlAttribute
    public String getVal() {
        return val;
    }

    @XmlTransient
    public Hero getOwner() {
        return owner;
    }

```