Class DomAwareEqualsStrategy

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

    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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected boolean equalsInternal​(org.jvnet.jaxb2_commons.locator.ObjectLocator leftLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator rightLocator, Object lhs, Object rhs)  
      boolean isTraceAll()  
      boolean isTraceNotEqual()  
      void setTraceAll​(boolean traceAll)  
      void setTraceNotEqual​(boolean traceNotEqual)  
      • Methods inherited from class org.jvnet.jaxb2_commons.lang.JAXBEqualsStrategy

        equalsInternal, equalsInternal
      • Methods inherited from class org.jvnet.jaxb2_commons.lang.DefaultEqualsStrategy

        equals, equals, equals, equals, equals, equals, equals, equals, equals, equals, equals, equals, equals, equals, equals, equals, equals, equals, equals, equals, equals, equals, equals, equals, equals, equals, equals, equals, equals, equals, equals, equals, equals, equals, equals, equals, equalsInternal, equalsInternal, equalsInternal, equalsInternal, equalsInternal, equalsInternal
    • 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