IntelliJ IDEA 2016.2 Help

Generating Unmarshallers

With IntelliJ IDEA, you can have unmarshal code stubs generated using JAXB or XMLBeans binding tools.

To generate unmarshal code using JAXB

  1. Position the cursor where you need the unmarshaller to be generated.
  2. Do one of the following:
    • On the main menu, choose Tools | JAXB | JAXB Client Code | Generate JAXB unmarshal code (Java object from XML).
    • On the context menu, choose WebServices | JAXB Client Code | Generate JAXB unmarshal code (Java object from XML).

To generate unmarshal code using XMLBeans

  1. Position the cursor where you need the unmarshaller to be generated.
  2. Do one of the following:
    • On the main menu, choose Tools | XMLBeans | XMLBeans Client Code | Generate XMLBeans unmarshal code (Java object from XML).
    • On the context menu, choose WebServices | XMLBeans Client Code | Generate XMLBeans unmarshal code (Java object from XML).

See Also

Last modified: 23 November 2016