users@jaxb.java.net

Serializing a transformed value

From: MakMak <powgri_at_gmail.com>
Date: Thu, 18 Feb 2010 18:46:53 -0800 (PST)

Hi,

  I have a java object called DateParameter which has
a field - "value" and
a method getDisplayValue(Locale).
When this is serialized, I want the displayvalue to be serialized rather
than the internal value but I dont know how to pass Locale info to the JAXB
system. Is it possible at all?

I am using JAXB with annotations in webservices designed using Jersey.

-thanks a lot!

-- 
View this message in context: http://old.nabble.com/Serializing-a-transformed-value-tp27649120p27649120.html
Sent from the java.net - jaxb users mailing list archive at Nabble.com.