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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
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: 18121
    
    8

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://aspose.com/file-tools
 
subject: How to create an instance of javax.xml.bind.JAXBElement<T>
 
Similar Threads
Please hellllllp
object creation
dynamic class loading and generics
Generics
java.lang.StackOverflowError