File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
video training course 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