Injecting code via xsd into a jaxb object
Found a cool feature of jaxb/xjc, -Xinject-code. With example xsd from prior post, look for ‘ci’. The code should probably be wrapped in a CDATA element.
[sourcecode language=”xsd”] <?xml version=”1.0” encoding=”UTF-8”?>
[/sourcecode]