The Source for Java Technology Collaboration

Home » java.net Forums » GlassFish » Metro and JAXB

Thread: Unmarshal by Declared Type

Welcome, Guest Help
Login Login
Guest Settings Guest Settings
Reply to this Thread Reply to this Thread Search Forum Search Forum Back to Thread List Back to Thread List

Permlink Replies: 0
fredgarvin

Posts: 7
Unmarshal by Declared Type
Posted: May 13, 2008 2:08 AM
  Click to reply to this thread Reply

hello all

jaxb 2.0 has been working great so far with a project i have at hand. it turns out i have to unmarshall xml documents where the root node in the document is actually a subnode from the original xml document. I am able to deserialize by unmarshalling by a declared type. but i had to manually add the namespace to the element. is there anyway to programatically set the namespace of this subelement or somehow deal with it??

thanks for any help




 XML java.net RSS