Class DomAwareEqualsStrategy

  • All Implemented Interfaces:
    org.jvnet.jaxb2_commons.lang.EqualsStrategy

    public class DomAwareEqualsStrategy
    extends org.jvnet.jaxb2_commons.lang.JAXBEqualsStrategy
    Strategy for equals() methods used in JAXB generated code. The strategy is using our DOMUtil to compare DOM elements. The comparison is quite liberal when it comes to namespaces.
    Author:
    Radovan Semancik
    • Constructor Detail

      • DomAwareEqualsStrategy

        public DomAwareEqualsStrategy()
    • Method Detail

      • isTraceAll

        public boolean isTraceAll()
      • setTraceAll

        public void setTraceAll​(boolean traceAll)
      • isTraceNotEqual

        public boolean isTraceNotEqual()
      • setTraceNotEqual

        public void setTraceNotEqual​(boolean traceNotEqual)
      • equalsInternal

        protected boolean equalsInternal​(org.jvnet.jaxb2_commons.locator.ObjectLocator leftLocator,
                                         org.jvnet.jaxb2_commons.locator.ObjectLocator rightLocator,
                                         Object lhs,
                                         Object rhs)
        Overrides:
        equalsInternal in class org.jvnet.jaxb2_commons.lang.JAXBEqualsStrategy