protected boolean isAttributeEqual(Attr control, Attr test) { if (!isStringEqual(control.getNamespaceURI(), test.getNamespaceURI())) { return false; } if (!isStringEqual(control.getName(), test.getName())) { return false; } if (!isStringEqual(control.getNodeValue(), test.getNodeValue())) { return false; } return true; }
protected boolean isAttributeEqual(Attr control, Attr test) { if (!isStringEqual(control.getNamespaceURI(), test.getNamespaceURI())) { return false; } if (!isStringEqual(control.getName(), test.getName())) { return false; } if (!isStringEqual(control.getNodeValue(), test.getNodeValue())) { return false; } return true; }
protected boolean isAttributeEqual(Attr control, Attr test) { if (!isStringEqual(control.getNamespaceURI(), test.getNamespaceURI())) { return false; } if (!isStringEqual(control.getName(), test.getName())) { return false; } if (!isStringEqual(control.getNodeValue(), test.getNodeValue())) { return false; } return true; }
private boolean isDocumentTypeEqual(DocumentType control, DocumentType test) { if (control == test) { return true; } else if ((null == control) || (null == test)) { return false; } if (!isStringEqual(control.getName(), test.getName())) { return false; } if (!isStringEqual(control.getPublicId(), test.getPublicId())) { return false; } if (!isStringEqual(control.getSystemId(), test.getSystemId())) { return false; } return true; }
private boolean isDocumentTypeEqual(DocumentType control, DocumentType test) { if (control == test) { return true; } else if ((null == control) || (null == test)) { return false; } if (!isStringEqual(control.getName(), test.getName())) { return false; } if (!isStringEqual(control.getPublicId(), test.getPublicId())) { return false; } if (!isStringEqual(control.getSystemId(), test.getSystemId())) { return false; } return true; }
private boolean isDocumentTypeEqual(DocumentType control, DocumentType test) { if (control == test) { return true; } else if ((null == control) || (null == test)) { return false; } if (!isStringEqual(control.getName(), test.getName())) { return false; } if (!isStringEqual(control.getPublicId(), test.getPublicId())) { return false; } if (!isStringEqual(control.getSystemId(), test.getSystemId())) { return false; } return true; }
private boolean isProcessingInstructionEqual(ProcessingInstruction control, ProcessingInstruction test) { if (!isStringEqual(control.getTarget(), test.getTarget())) { return false; } if (!isStringEqual(control.getData(), test.getData())) { return false; } return true; }
private boolean isCommentEqual(Comment control, Comment test) { if (!isStringEqual(control.getNodeValue(), test.getNodeValue())) { return false; } return true; }
private boolean isElementEqual(Element control, Element test) { if (!isStringEqual(control.getNamespaceURI(), test.getNamespaceURI())) { return false; if (!isStringEqual(control.getTagName(), test.getTagName())) { return false;
private boolean isProcessingInstructionEqual(ProcessingInstruction control, ProcessingInstruction test) { if (!isStringEqual(control.getTarget(), test.getTarget())) { return false; } if (!isStringEqual(control.getData(), test.getData())) { return false; } return true; }
private boolean isCommentEqual(Comment control, Comment test) { if (!isStringEqual(control.getNodeValue(), test.getNodeValue())) { return false; } return true; }
private boolean isEntityReferenceEqual(EntityReference control, EntityReference test) { if (!isStringEqual(control.getNodeName(), test.getNodeName())) { return false; } return true; }
private boolean isEntityReferenceEqual(EntityReference control, EntityReference test) { if (!isStringEqual(control.getNodeName(), test.getNodeName())) { return false; } return true; }
private boolean isCommentEqual(Comment control, Comment test) { if (!isStringEqual(control.getNodeValue(), test.getNodeValue())) { return false; } return true; }
private boolean isEntityReferenceEqual(EntityReference control, EntityReference test) { if (!isStringEqual(control.getNodeName(), test.getNodeName())) { return false; } return true; }
private boolean isProcessingInstructionEqual(ProcessingInstruction control, ProcessingInstruction test) { if (!isStringEqual(control.getTarget(), test.getTarget())) { return false; } if (!isStringEqual(control.getData(), test.getData())) { return false; } return true; }
private boolean isTextEqual(Text control, Text test) { return isStringEqual(control.getNodeValue(), test.getNodeValue()); }
private boolean isTextEqual(Text control, Text test) { return isStringEqual(control.getNodeValue(), test.getNodeValue()); }
private boolean isElementEqual(Element control, Element test) { if (!isStringEqual(control.getNamespaceURI(), test.getNamespaceURI())) { return false; if (!isStringEqual(control.getTagName(), test.getTagName())) { return false;
private boolean isTextEqual(Text control, Text test) { return isStringEqual(control.getNodeValue(), test.getNodeValue()); }