Package lt.velykis.maven.skins.reflow
Enum HtmlTool.JoinSeparator
- java.lang.Object
-
- java.lang.Enum<HtmlTool.JoinSeparator>
-
- lt.velykis.maven.skins.reflow.HtmlTool.JoinSeparator
-
- All Implemented Interfaces:
Serializable
,Comparable<HtmlTool.JoinSeparator>
- Enclosing class:
- HtmlTool
public static enum HtmlTool.JoinSeparator extends Enum<HtmlTool.JoinSeparator>
Enum indicating separator handling strategy for document partitioning.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HtmlTool.JoinSeparator
valueOf(String name)
Returns the enum constant of this type with the specified name.static HtmlTool.JoinSeparator[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AFTER
public static final HtmlTool.JoinSeparator AFTER
Keep separators at the start of partitions. The first partition will not have a separator.
-
BEFORE
public static final HtmlTool.JoinSeparator BEFORE
Keep separators at the end of partitions. The last partition will not have a separator.
-
NO
public static final HtmlTool.JoinSeparator NO
Drop separators altogether.
-
-
Method Detail
-
values
public static HtmlTool.JoinSeparator[] 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 (HtmlTool.JoinSeparator c : HtmlTool.JoinSeparator.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HtmlTool.JoinSeparator 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
-
-