- All Implemented Interfaces:
- org.jvnet.jaxb2_commons.lang.HashCodeStrategy
public class DomAwareHashCodeStrategy
extends org.jvnet.jaxb2_commons.lang.JAXBHashCodeStrategy
Strategy for hashCode() methods used in JAXB generated code. The strategy is just returning
a constant. This makes the hashing somehow less efficient if the JAXB objects differ just in
the DOM parts. This this is quite unlikely under usual circumstances. However the main reason
for this is to avoid namespace-related problems.
- Author:
- Radovan Semancik