Class HtmlLayoutChange
- java.lang.Object
-
- org.outerj.daisy.diff.html.modification.HtmlLayoutChange
-
public class HtmlLayoutChange extends Object
This class holds the removal or addition of HTML tags around text. It contains the same information that is presented in the tooltips of default Daisy Diff HTML output. This class is not used internally by DaisyDiff. It does not take any part in the diff process. It is simply provided for applications that use the DaisyDiff library and need more information on the results.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
HtmlLayoutChange.Type
Either an HTML was introduced in the new output, or it was deleted (but the text in-between the opening and closing tag is the same).
-
Constructor Summary
Constructors Constructor Description HtmlLayoutChange()
Default contructor that justs inserts sane values.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getEndingTag()
Getter for the ending tag.String
getOpeningTag()
Getter for the opening tag.HtmlLayoutChange.Type
getType()
Getter for the type.void
setEndingTag(String endingTag)
Setter for the ending tag.void
setOpeningTag(String openingTag)
Setter for the opening tag.void
setType(HtmlLayoutChange.Type type)
Setter for the type.
-
-
-
Method Detail
-
getType
public HtmlLayoutChange.Type getType()
Getter for the type.- Returns:
- the type
-
setType
public void setType(HtmlLayoutChange.Type type)
Setter for the type.- Parameters:
type
- the type to set
-
getOpeningTag
public String getOpeningTag()
Getter for the opening tag.- Returns:
- the openingTag
-
setOpeningTag
public void setOpeningTag(String openingTag)
Setter for the opening tag.- Parameters:
openingTag
- the openingTag to set
-
getEndingTag
public String getEndingTag()
Getter for the ending tag.- Returns:
- the endingTag
-
setEndingTag
public void setEndingTag(String endingTag)
Setter for the ending tag.- Parameters:
endingTag
- the endingTag to set
-
-