This is my general problem: I want everything to be automated as much as it can be.
This is my specific problem: I want to marshal/unmarshal CDATA. I know that I can specify my own adapter as here. For building process I use Maven and its maven-jaxb2-plugin. Is there some option how to annotate elements in .xsd
so they will be automatically annotated by my custom adapter? I really don't want to manually change those after each build.
Any other ways how to solve my problem are more than welcome. :)
EDIT: I've ran to a subproblem and it is described there: JAXB binding - "unable to honor this conversion customization".