Class Modification

java.lang.Object
org.outerj.daisy.diff.html.modification.Modification
All Implemented Interfaces:
Cloneable

public class Modification extends Object implements Cloneable
  • Constructor Details

  • Method Details

    • clone

      public Modification clone()
      Overrides:
      clone in class Object
    • getType

      public ModificationType getType()
    • getOutputType

      public ModificationType getOutputType()
      Returns the type of this modification regarding output formatting (i.e. in order to specify how this modification shall be formatted). In three-way diffs we format "ADDED" modifications as REMOVED, and the other way round, because the comparison is reversed, compared to a two-way diff.
      Returns:
      the way how this modification shall be formatted
    • setID

      public void setID(long id)
    • getID

      public long getID()
    • setPrevious

      public void setPrevious(Modification m)
    • getPrevious

      public Modification getPrevious()
    • setNext

      public void setNext(Modification m)
    • getNext

      public Modification getNext()
    • setChanges

      public void setChanges(String changes)
    • getChanges

      public String getChanges()
    • isFirstOfID

      public boolean isFirstOfID()
    • setFirstOfID

      public void setFirstOfID(boolean firstOfID)
    • getHtmlLayoutChanges

      public List<HtmlLayoutChange> getHtmlLayoutChanges()
      Returns:
      the htmlLayoutChanges
    • setHtmlLayoutChanges

      public void setHtmlLayoutChanges(List<HtmlLayoutChange> htmlLayoutChanges)
      Parameters:
      htmlLayoutChanges - the htmlLayoutChanges to set