You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wink.apache.org by Bryant Luk <br...@gmail.com> on 2010/02/11 00:31:16 UTC

Inherited JAXB types

Hi,

For http://issues.apache.org/jira/browse/WINK-219 , I didn't
understand the discussion for why the generic type was not a viable
option (i.e. so the XAtomEntry extends from AtomEntry but it should be
effectively treated like an AtomEntry since it doesn't declare any new
JAXB fields).  I tried a few simple JAXB types and one that inherited
from AtomEntry and it seems that checking the generic type and using
it (if the raw type was not an @XmlType or @XmlRootElement) is the way
to go for that issue.

Thanks for any help.