Class StructuredEqualsStrategy
- java.lang.Object
-
- com.evolveum.midpoint.prism.binding.StructuredEqualsStrategy
-
public abstract class StructuredEqualsStrategy extends Object
Strategy for equals computation ofPlainStructured
objects
-
-
Field Summary
Fields Modifier and Type Field Description static StructuredEqualsStrategy
DEFAULT
static StructuredEqualsStrategy
DOM_AWARE
DOM Aware strategy, which ignores differences in namespace prefixes.static StructuredEqualsStrategy
LITERAL
DOM Aware strategy, which takes into account also differences in namespace prefixes.
-
Constructor Summary
Constructors Constructor Description StructuredEqualsStrategy()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description boolean
equals(byte[] left, byte[] right)
boolean
equals(PlainStructured left, PlainStructured right)
boolean
equals(Object left, Object right)
<T> boolean
equals(List<T> left, List<T> right)
protected boolean
equalsNonNull(Object left, Object right)
boolean
equalsNonNull(String left, String right)
protected boolean
equalsNonNull(javax.xml.bind.JAXBElement<?> left, javax.xml.bind.JAXBElement<?> right)
protected abstract boolean
equalsNonNull(QName left, QName right)
protected abstract boolean
equalsNonNull(Element left, Element right)
-
-
-
Field Detail
-
DOM_AWARE
public static final StructuredEqualsStrategy DOM_AWARE
DOM Aware strategy, which ignores differences in namespace prefixes.
-
LITERAL
public static final StructuredEqualsStrategy LITERAL
DOM Aware strategy, which takes into account also differences in namespace prefixes.
-
DEFAULT
public static final StructuredEqualsStrategy DEFAULT
-
-
Method Detail
-
equals
public boolean equals(PlainStructured left, PlainStructured right)
-
equalsNonNull
protected boolean equalsNonNull(javax.xml.bind.JAXBElement<?> left, javax.xml.bind.JAXBElement<?> right)
-
equals
public boolean equals(byte[] left, byte[] right)
-
-