We plan to use JAXB to map xml to objects. Our requirement is that we will work with only one part of the document (a little biggie), so we only want to convert this part (fragment) into objects. Therefore, we do not want to create classes for all elements in xsd.
How can we ask xjc to ignore certain elements or consider certain elements when generating classes?
From what I read, we can use the bindings file to customize the behavior of xjc, but what can we put in the circuit to ignore the elements.
source share