Customizing the java classes for the NCBI generated by XJC by Pierre Lindenbaum.
From the post:
Reminder: XJC is the Java XML Binding Compiler. It automates the mapping between XML documents and Java objects:
(mapping graphic omitted)
The code generated by XJC allows to :
- Unmarshal XML content into a Java representation
- Access and update the Java representation
- Marshal the Java representation of the XML content into XML content
This post caught my eye because Pierre is adding an “equals” method.
It is a string equivalence test and for data in question that makes sense.
Your “equivalence” test might be more challenging.