Uses of Class
org.custommonkey.xmlunit.Difference
-
Packages that use Difference Package Description org.custommonkey.xmlunit Root of the XMLUnit 1.x compatibility layer.org.custommonkey.xmlunit.examples -
-
Uses of Difference in org.custommonkey.xmlunit
Fields in org.custommonkey.xmlunit declared as Difference Modifier and Type Field Description static DifferenceDifferenceConstants. ATTR_NAME_NOT_FOUNDComparing 2 elements and one has an attribute the other does notstatic DifferenceDifferenceConstants. ATTR_SEQUENCEComparing 2 attribute lists with the same attributes in different sequencestatic DifferenceDifferenceConstants. ATTR_VALUEComparing 2 attributes with the same name but different valuesstatic DifferenceDifferenceConstants. ATTR_VALUE_EXPLICITLY_SPECIFIEDComparing an implied attribute value against an explicit valuestatic DifferenceDifferenceConstants. CDATA_VALUEComparing 2 CDATA sections with different valuesstatic DifferenceDifferenceConstants. CHILD_NODE_NOT_FOUNDComparing 2 nodes and one holds more childnodes than can be matched against child nodes of the other.static DifferenceDifferenceConstants. CHILD_NODELIST_LENGTHComparing 2 nodes with different numbers of childrenstatic DifferenceDifferenceConstants. CHILD_NODELIST_SEQUENCEComparing 2 nodes with children whose nodes are in different sequencestatic DifferenceDifferenceConstants. COMMENT_VALUEComparing 2 comments with different valuesstatic DifferenceDifferenceConstants. DOCTYPE_NAMEComparing 2 document types with different namesstatic DifferenceDifferenceConstants. DOCTYPE_PUBLIC_IDComparing 2 document types with different public identifiersstatic DifferenceDifferenceConstants. DOCTYPE_SYSTEM_IDComparing 2 document types with different system identifiersstatic DifferenceDifferenceConstants. ELEMENT_NUM_ATTRIBUTESComparing 2 elements with different number of attributesstatic DifferenceDifferenceConstants. ELEMENT_TAG_NAMEComparing 2 elements with different tag namesstatic DifferenceDifferenceConstants. HAS_CHILD_NODESComparing 2 nodes but only one has any childrenstatic DifferenceDifferenceConstants. HAS_DOCTYPE_DECLARATIONComparing 2 Documents only one of which has a doctypestatic DifferenceDifferenceConstants. NAMESPACE_PREFIXComparing 2 nodes with different namespace prefixesstatic DifferenceDifferenceConstants. NAMESPACE_URIComparing 2 nodes with different namespace URIsstatic DifferenceDifferenceConstants. NO_NAMESPACE_SCHEMA_LOCATIONComparing 2 nodes with different xsi:noNamespaceSchemaLocation attributes, potentially only one of the two provides such an attribute at all.static DifferenceDifferenceConstants. NODE_TYPEComparing 2 nodes with different node typesstatic DifferenceDifferenceConstants. PROCESSING_INSTRUCTION_DATAComparing 2 processing instructions with different instructionsstatic DifferenceDifferenceConstants. PROCESSING_INSTRUCTION_TARGETComparing 2 processing instructions with different targetsstatic DifferenceDifferenceConstants. SCHEMA_LOCATIONComparing 2 nodes with different xsi:schemaLocation attributes, potentially only one of the two provides such an attribute at all.static DifferenceDifferenceConstants. TEXT_VALUEComparing 2 different text valuesMethods in org.custommonkey.xmlunit that return types with arguments of type Difference Modifier and Type Method Description List<Difference>DetailedDiff. getAllDifferences()Obtain all the differences found by this instancestatic Iterable<Difference>NewDifferenceEngine. toDifference(Comparison comp)Maps a Comparison to Differences.Methods in org.custommonkey.xmlunit with parameters of type Difference Modifier and Type Method Description protected voidDifferenceEngine. compare(Object expected, Object actual, Node control, Node test, DifferenceListener listener, Difference difference)If the expected and actual values are unequal then inform the listener of a difference and throw a DifferenceFoundException.protected voidDifferenceEngine. compare(Object expected, Object actual, Node control, Node test, DifferenceListener listener, Difference difference, XpathNodeTracker controlLoc, XpathNodeTracker testLoc)If the expected and actual values are unequal then inform the listener of a difference and throw a DifferenceFoundException.intDetailedDiff. differenceFound(Difference difference)DifferenceListener implementation.intDiff. differenceFound(Difference difference)DifferenceListener implementation.intDifferenceListener. differenceFound(Difference difference)Receive notification that 2 nodes are different.intIgnoreTextAndAttributeValuesDifferenceListener. differenceFound(Difference difference)intDiff. evaluate(Difference difference)Evaluate the difference.booleanComparisonController. haltComparison(Difference afterDifference)Determine whether a Difference that the listener has been notified of should halt further XML comparison.booleanDetailedDiff. haltComparison(Difference afterDifference)ComparisonController implementation.booleanDiff. haltComparison(Difference afterDifference)ComparisonController implementation.voidMatchTracker. matchFound(Difference match)Receive notification that 2 match.Constructors in org.custommonkey.xmlunit with parameters of type Difference Constructor Description Difference(Difference prototype, NodeDetail controlNodeDetail, NodeDetail testNodeDetail)Copy constructor using prototype Difference and encountered NodeDetails -
Uses of Difference in org.custommonkey.xmlunit.examples
Methods in org.custommonkey.xmlunit.examples with parameters of type Difference Modifier and Type Method Description protected intTextDifferenceListenerBase. attributeDifference(Difference d)Delegates totextualDifference.protected intTextDifferenceListenerBase. cdataDifference(Difference d)Delegates totextualDifference.protected intTextDifferenceListenerBase. commentDifference(Difference d)Delegates totextualDifference.intTextDifferenceListenerBase. differenceFound(Difference difference)Delegates to the nested DifferenceListener unless the Difference is of typeATTR_VALUE_ID,CDATA_VALUE_ID,COMMENT_VALUE_IDorTEXT_VALUE_ID- for those special differencesattributeDifference,cdataDifference,commentDifferenceortextDifferenceare invoked respectively.protected intTextDifferenceListenerBase. textDifference(Difference d)Delegates totextualDifference.protected intCaseInsensitiveDifferenceListener. textualDifference(Difference d)protected intFloatingPointTolerantDifferenceListener. textualDifference(Difference d)protected intTextDifferenceListenerBase. textualDifference(Difference d)Delegates to the nested DifferenceListener.
-