Class DaisyDiffRequest


  • public class DaisyDiffRequest
    extends Object
    Class representing a daisyDiff request sent to DiffResource. Encapsulates request data.
    • Field Detail

      • older

        protected String older
        Older version of a HTML document to be diff'ed
      • newer

        protected String newer
        Newer version of a HTML document to be diff'ed
      • ignoreRegex

        protected String ignoreRegex
        Regex of content to be ignored while diffing
    • Constructor Detail

      • DaisyDiffRequest

        public DaisyDiffRequest()
        Create an empty instance (Used by JAXB)
    • Method Detail

      • getOlder

        public String getOlder()
        Get the older version of the html document to be diff'ed.
        Returns:
        the older version of the HTML document to diff
      • setOlder

        public void setOlder​(String older)
        Set the older version of the html document to be diff'ed.
        Parameters:
        older - the older version of the HTML document to diff
      • getNewer

        public String getNewer()
        Get the newer version of the html document to be diff'ed.
        Returns:
        the newer version of the HTML document to diff
      • setNewer

        public void setNewer​(String newer)
        Set the newer version of the html document to be diff'ed.
        Parameters:
        newer - the newer version of the HTML document to diff
      • getIgnoreRegex

        public String getIgnoreRegex()
        Return the ignore regex that will be used to sanitize the content before the diff is invoked.
        Returns:
        the the Regex of content to be ignored while diffing. May be null.
      • setIgnoreRegex

        public void setIgnoreRegex​(String ignoreRegex)
        Return the ignore regex that will be used to sanitize the content before the diff is invoked.
        Parameters:
        ignoreRegex - the Regex of content to be ignored while diffing. May be null.