Skip to content

Instantly share code, notes, and snippets.

@xdu
Created November 10, 2011 15:11
Show Gist options
  • Save xdu/1355070 to your computer and use it in GitHub Desktop.
Save xdu/1355070 to your computer and use it in GitHub Desktop.
xml transient inheritence
@XmlSeeAlso({Dog.class,Cat.class})
class Animal {}
class Dog extends Animal {}
class Cat extends Animal {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment