Class HtmlLayoutChange
java.lang.Object
org.outerj.daisy.diff.html.modification.HtmlLayoutChange
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 ClassesModifier and TypeClassDescriptionstatic enum
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 -
Method Summary
Modifier and TypeMethodDescriptionGetter for the ending tag.Getter for the opening tag.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.
-
Constructor Details
-
HtmlLayoutChange
public HtmlLayoutChange()Default contructor that justs inserts sane values.
-
-
Method Details
-
getType
Getter for the type.- Returns:
- the type
-
setType
Setter for the type.- Parameters:
type
- the type to set
-
getOpeningTag
Getter for the opening tag.- Returns:
- the openingTag
-
setOpeningTag
Setter for the opening tag.- Parameters:
openingTag
- the openingTag to set
-
getEndingTag
Getter for the ending tag.- Returns:
- the endingTag
-
setEndingTag
Setter for the ending tag.- Parameters:
endingTag
- the endingTag to set
-