users@jaxb.java.net

how to make parent class property transient on subclass

From: mule1 <uap001_at_yahoo.com>
Date: Mon, 26 Jan 2009 11:39:48 -0800 (PST)

Hello,

I have a parent class "P" - and two subclasses "A", and "B". On "P", I have
a property called "id". I want my jaxb generated xml to have the value of
"id" property shown for class "A", but not for class "B" - is there a way to
somehow use XmlTransient for a parent class property on a subclass?

Thanks.
-- 
View this message in context: http://www.nabble.com/how-to-make-parent-class-property-transient-on-subclass-tp21672182p21672182.html
Sent from the java.net - jaxb users mailing list archive at Nabble.com.