Class Modification
java.lang.Object
org.outerj.daisy.diff.html.modification.Modification
- All Implemented Interfaces:
Cloneable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()longgetID()getNext()Returns the type of this modification regarding output formatting (i.e.getType()booleanvoidsetChanges(String changes) voidsetFirstOfID(boolean firstOfID) voidsetHtmlLayoutChanges(List<HtmlLayoutChange> htmlLayoutChanges) voidsetID(long id) voidvoid
-
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
-