Package com.evolveum.midpoint.util.xml
Class DomAwareHashCodeStrategy
- java.lang.Object
-
- org.jvnet.jaxb2_commons.lang.DefaultHashCodeStrategy
-
- org.jvnet.jaxb2_commons.lang.JAXBHashCodeStrategy
-
- com.evolveum.midpoint.util.xml.DomAwareHashCodeStrategy
-
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.HashCodeStrategy
,org.jvnet.jaxb2_commons.lang.HashCodeStrategy2
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
-
-
Field Summary
Fields Modifier and Type Field Description static org.jvnet.jaxb2_commons.lang.HashCodeStrategy
INSTANCE
-
Constructor Summary
Constructors Constructor Description DomAwareHashCodeStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected int
hashCodeInternal(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, int hashCode, Object value)
-
Methods inherited from class org.jvnet.jaxb2_commons.lang.JAXBHashCodeStrategy
hashCodeInternal, hashCodeInternal
-
Methods inherited from class org.jvnet.jaxb2_commons.lang.DefaultHashCodeStrategy
hashCode, hashCode, hashCode, hashCode, hashCode, hashCode, hashCode, hashCode, hashCode, hashCode, hashCode, hashCode, hashCode, hashCode, hashCode, hashCode, hashCode, hashCode, hashCode, hashCode, hashCode, hashCode, hashCode, hashCode, hashCode, hashCode, hashCode, hashCode, hashCode, hashCode, hashCode, hashCode, hashCode, hashCode, hashCode, hashCode, hashCodeInternal, hashCodeInternal, hashCodeInternal, hashCodeInternal, hashCodeInternal, hashCodeInternal
-
-
-
-
Method Detail
-
hashCodeInternal
protected int hashCodeInternal(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, int hashCode, Object value)
- Overrides:
hashCodeInternal
in classorg.jvnet.jaxb2_commons.lang.JAXBHashCodeStrategy
-
-