Quantcast

unmarshal anaonymous content??

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

unmarshal anaonymous content??

forums
 <foo attr="3">hello world </foo>

if I unmarshall foo.class, how can I access the "hello world" content?

How do I declare the foo java class to have "hello world" copied to a member
variable when unmarshalled?

thanks


--

[Message sent by forum member 'bobcgausa']

View Post: http://forums.java.net/node/882762


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: unmarshal anaonymous content??

forums
 I found my own answer.

stackoverflow.com/questions/3206151/jaxb-how-to-unmarshall-this-xml [1]


[1]  
http://stackoverflow.com/questions/3206151/jaxb-how-to-unmarshall-this-xml

--

[Message sent by forum member 'bobcgausa']

View Post: http://forums.java.net/node/882762


Loading...