I want to edit/add/remove the XML comments in the XML Content unmarshaled/marshaled by JAXB. Is there any option in xjc / schema bindings so that it generates the java objects corresponding to the XML Comments ? or any other approach to do this.
My requirements is
1. unmarshal the XML Content to java objects
2. add/remove/edit the XML Comments using the java model corresponding to the xml content
3. marshal the modified java objects to XML Content.
thanks,
srini