Skip to main content

unmarshal anaonymous content??

Please note these java.net forums are being decommissioned and use the new and improved forums at https://community.oracle.com/community/java.
1 reply [Last post]
bobcgausa
Offline
Joined: 2012-01-17

<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

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
bobcgausa
Offline
Joined: 2012-01-17