| java.lang.Object org.custommonkey.xmlunit.ElementNameQualifier org.custommonkey.xmlunit.ElementNameAndAttributeQualifier
ElementNameAndAttributeQualifier | public ElementNameAndAttributeQualifier()(Code) | | No-args constructor: use all attributes from all elements to determine
whether elements qualify for comparability
|
ElementNameAndAttributeQualifier | public ElementNameAndAttributeQualifier(String attrName)(Code) | | Simple constructor for a single qualifying attribute name
Parameters: attrName - the value to use to qualify whether two elements can becompared further for differences |
ElementNameAndAttributeQualifier | public ElementNameAndAttributeQualifier(String[] attrNames)(Code) | | Extended constructor for multiple qualifying attribute names
Parameters: attrNames - the array of values to use to qualify whether twoelements can be compared further for differences |
areAttributesComparable | protected boolean areAttributesComparable(Element control, Element test)(Code) | | Determine whether the qualifying attributes are present in both elements
and if so whether their values are the same
Parameters: control - Parameters: test - true if all qualifying attributes are present with the samevalues, false otherwise |
qualifyForComparison | public boolean qualifyForComparison(Element control, Element test)(Code) | | Determine whether two elements qualify for further Difference comparison.
Parameters: differenceEngine - the DifferenceEngine instance wanting todetermine if the elements are comparable Parameters: control - Parameters: test - true if the two elements qualify for further comparison based onboth the superclass qualification (namespace URI and non- namespaced tagname), and the presence of qualifying attributes with the same values;false otherwise |
|
|