Class LiteralEqualsStrategy

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

    @Experimental
    public class LiteralEqualsStrategy
    extends org.jvnet.jaxb2_commons.lang.JAXBEqualsStrategy
    Equals strategy that takes namespace prefixes into account. (Used for diff with literal=true.) EXPERIMENTAL
    Author:
    semancik, mederly
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static org.jvnet.jaxb2_commons.lang.EqualsStrategy INSTANCE  
    • 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)  
      • 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
    • Field Detail

      • INSTANCE

        public static final org.jvnet.jaxb2_commons.lang.EqualsStrategy INSTANCE
    • Constructor Detail

      • LiteralEqualsStrategy

        public LiteralEqualsStrategy()
    • Method Detail

      • 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