Class Modification
- java.lang.Object
-
- org.outerj.daisy.diff.html.modification.Modification
-
-
Constructor Summary
Constructors Constructor Description Modification(ModificationType type, ModificationType outputType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Modification
clone()
String
getChanges()
List<HtmlLayoutChange>
getHtmlLayoutChanges()
long
getID()
Modification
getNext()
ModificationType
getOutputType()
Returns the type of this modification regarding output formatting (i.e.Modification
getPrevious()
ModificationType
getType()
boolean
isFirstOfID()
void
setChanges(String changes)
void
setFirstOfID(boolean firstOfID)
void
setHtmlLayoutChanges(List<HtmlLayoutChange> htmlLayoutChanges)
void
setID(long id)
void
setNext(Modification m)
void
setPrevious(Modification m)
-
-
-
Constructor Detail
-
Modification
public Modification(ModificationType type, ModificationType outputType)
-
-
Method Detail
-
clone
public Modification clone()
-
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
-
-