Class TextDifferenceListenerBase

    • Constructor Detail

      • TextDifferenceListenerBase

        protected TextDifferenceListenerBase​(DifferenceListener delegateTo)
        Creates a new instance
        Parameters:
        delegateTo - the DifferenceListener to delegate to.
    • Method Detail

      • attributeDifference

        protected int attributeDifference​(Difference d)
        Delegates to textualDifference.
        Parameters:
        d - the difference
        Returns:
        int one of the RETURN_... constants describing how this difference was interpreted
      • cdataDifference

        protected int cdataDifference​(Difference d)
        Delegates to textualDifference.
        Parameters:
        d - the difference
        Returns:
        int one of the RETURN_... constants describing how this difference was interpreted
      • commentDifference

        protected int commentDifference​(Difference d)
        Delegates to textualDifference.
        Parameters:
        d - the difference
        Returns:
        int one of the RETURN_... constants describing how this difference was interpreted
      • textDifference

        protected int textDifference​(Difference d)
        Delegates to textualDifference.
        Parameters:
        d - the difference
        Returns:
        int one of the RETURN_... constants describing how this difference was interpreted
      • textualDifference

        protected int textualDifference​(Difference d)
        Delegates to the nested DifferenceListener.
        Parameters:
        d - the difference
        Returns:
        int one of the RETURN_... constants describing how this difference was interpreted
      • skippedComparison

        public void skippedComparison​(org.w3c.dom.Node control,
                                      org.w3c.dom.Node test)
        Description copied from interface: DifferenceListener
        Receive notification that a comparison between 2 nodes has been skipped because the node types are not comparable by the DifferenceEngine
        Specified by:
        skippedComparison in interface DifferenceListener
        Parameters:
        control - the control node being compared
        test - the test node being compared
        See Also:
        DifferenceEngine