public class DefaultElementIdentity extends Object implements ElementIdentity
Constructor and Description |
---|
DefaultElementIdentity()
Creates a new instance of DefaultElementIdentity
|
Modifier and Type | Method and Description |
---|---|
void |
addIdentifier(String identifier) |
void |
clear() |
protected boolean |
compareAttr(Element n1,
Element n2) |
boolean |
compareElement(Element n1,
Element n2,
Document doc1,
Document doc2) |
protected boolean |
compareElement(Element n1,
Element n2,
Node parent1,
Document doc1,
Document doc2) |
List |
getIdentifiers() |
public DefaultElementIdentity()
public List getIdentifiers()
getIdentifiers
in interface ElementIdentity
public void addIdentifier(String identifier)
addIdentifier
in interface ElementIdentity
public boolean compareElement(Element n1, Element n2, Document doc1, Document doc2)
compareElement
in interface ElementIdentity
protected boolean compareElement(Element n1, Element n2, Node parent1, Document doc1, Document doc2)
public void clear()