Modello JDOM Plugin generates XML writers based on JDOM 1 API. It attempts to preserve formatting of not changed elements and even with the changed ones it does some tricks to keep the formatting in line with the rest.
Notice: DOM content type is represented as plexus-utils' Xpp3Dom objects
jdom-writer generator creates my.model.package.io.jdom.ModelNameJDOMWriter class with following public methods: