To unmarshal an existing JAXB class object, drag and drop the JAXB Unmarshal palette icon into the IDE editor.
The Generate JAXB Unmarshal code dialog box is displayed.
Enter the JAXB object's class name or use the Find... button to search for the class. (as in the Construct's Figure 1–3section)
Select the Unmarshal From option. You can generate the code to unmarshal a JAXB object from one of String, Reader, InputStream, JMSTextMessage, or File.
The Unmarshal Method will be generated as shown below.