Class Modification
java.lang.Object
org.outerj.daisy.diff.html.modification.Modification
- All Implemented Interfaces:
Cloneable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
long
getID()
getNext()
Returns the type of this modification regarding output formatting (i.e.getType()
boolean
void
setChanges
(String changes) void
setFirstOfID
(boolean firstOfID) void
setHtmlLayoutChanges
(List<HtmlLayoutChange> htmlLayoutChanges) void
setID
(long id) void
void
-
Constructor Details
-
Modification
-
-
Method Details
-
clone
-
getType
-
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
-
getPrevious
-
setNext
-
getNext
-
setChanges
-
getChanges
-
isFirstOfID
public boolean isFirstOfID() -
setFirstOfID
public void setFirstOfID(boolean firstOfID) -
getHtmlLayoutChanges
- Returns:
- the htmlLayoutChanges
-
setHtmlLayoutChanges
- Parameters:
htmlLayoutChanges
- the htmlLayoutChanges to set
-