aspose file tools
The moose likes XML and Related Technologies and the fly likes How to create an instance of javax.xml.bind.JAXBElement<T> Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Engineering » XML and Related Technologies
Reply Bookmark "How to create an instance of javax.xml.bind.JAXBElement<T>" Watch "How to create an instance of javax.xml.bind.JAXBElement<T>" New topic
Author

How to create an instance of javax.xml.bind.JAXBElement<T>

Sayantan Auddy
Ranch Hand

Joined: Dec 18, 2008
Posts: 35
Can somebody please tell me the use of JAXBElement<T> and how to create an instance of it?


Sayantan Auddy,SCJP 5.0
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 16487
    
    2

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: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: How to create an instance of javax.xml.bind.JAXBElement<T>
 
Similar Threads
dynamic class loading and generics
Generics
object creation
java.lang.StackOverflowError
Please hellllllp