Enum HtmlLayoutChange.Type
- java.lang.Object
-
- java.lang.Enum<HtmlLayoutChange.Type>
-
- org.outerj.daisy.diff.html.modification.HtmlLayoutChange.Type
-
- All Implemented Interfaces:
Serializable
,Comparable<HtmlLayoutChange.Type>
- Enclosing class:
- HtmlLayoutChange
public static enum HtmlLayoutChange.Type extends Enum<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).
-
-
Enum Constant Summary
Enum Constants Enum Constant Description TAG_ADDED
TAG_REMOVED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HtmlLayoutChange.Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static HtmlLayoutChange.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TAG_ADDED
public static final HtmlLayoutChange.Type TAG_ADDED
-
TAG_REMOVED
public static final HtmlLayoutChange.Type TAG_REMOVED
-
-
Method Detail
-
values
public static HtmlLayoutChange.Type[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (HtmlLayoutChange.Type c : HtmlLayoutChange.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HtmlLayoutChange.Type valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-