IntelliJ IDEA 14.0.0 Web Help

Generating Marshallers

WithIntelliJ IDEA, you can have marshal code stubs generated using JAXB or XMLBeans binding tools.

To generate marshal code using jaxb

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

To generate marshal code using xmlbeans

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

See Also

Last modified: 12 November 2014
comments powered by Disqus