This week's book giveaway is in the
We're giving away four copies of
and have Sam Newman on-line!
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
this week in the
XML and Related Technologies
How to create an instance of javax.xml.bind.JAXBElement<T>
Joined: Dec 18, 2008
Sep 04, 2009 05:04:15
Can somebody please tell me the use of
<T> and how to create an instance of it?
Sayantan Auddy,SCJP 5.0
Joined: Oct 14, 2005
Sep 04, 2009 09:43:13
Using one of the two public constructors seems like the most obvious way to do it. Did you have a problem with doing that or did you just not know of their existence?
I agree. Here's the link:
subject: How to create an instance of javax.xml.bind.JAXBElement<T>
dynamic class loading and generics
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015