Package org.htmlunit.html.serializer
Enum HtmlSerializerInnerOuterText.HtmlSerializerTextBuilder.State
- java.lang.Object
-
- java.lang.Enum<HtmlSerializerInnerOuterText.HtmlSerializerTextBuilder.State>
-
- org.htmlunit.html.serializer.HtmlSerializerInnerOuterText.HtmlSerializerTextBuilder.State
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<HtmlSerializerInnerOuterText.HtmlSerializerTextBuilder.State>
- Enclosing class:
- HtmlSerializerInnerOuterText.HtmlSerializerTextBuilder
private static enum HtmlSerializerInnerOuterText.HtmlSerializerTextBuilder.State extends java.lang.Enum<HtmlSerializerInnerOuterText.HtmlSerializerTextBuilder.State>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BLANK_AT_END
BLANK_AT_END_AFTER_NEWLINE
BLOCK_SEPARATOR_AT_END
BREAK_AT_END
DEFAULT
EMPTY
NEWLINE_AT_END
REQUIRED_LINE_BREAK_AT_END
-
Constructor Summary
Constructors Modifier Constructor Description private
State()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HtmlSerializerInnerOuterText.HtmlSerializerTextBuilder.State
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static HtmlSerializerInnerOuterText.HtmlSerializerTextBuilder.State[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DEFAULT
public static final HtmlSerializerInnerOuterText.HtmlSerializerTextBuilder.State DEFAULT
-
EMPTY
public static final HtmlSerializerInnerOuterText.HtmlSerializerTextBuilder.State EMPTY
-
BLANK_AT_END
public static final HtmlSerializerInnerOuterText.HtmlSerializerTextBuilder.State BLANK_AT_END
-
BLANK_AT_END_AFTER_NEWLINE
public static final HtmlSerializerInnerOuterText.HtmlSerializerTextBuilder.State BLANK_AT_END_AFTER_NEWLINE
-
NEWLINE_AT_END
public static final HtmlSerializerInnerOuterText.HtmlSerializerTextBuilder.State NEWLINE_AT_END
-
BREAK_AT_END
public static final HtmlSerializerInnerOuterText.HtmlSerializerTextBuilder.State BREAK_AT_END
-
BLOCK_SEPARATOR_AT_END
public static final HtmlSerializerInnerOuterText.HtmlSerializerTextBuilder.State BLOCK_SEPARATOR_AT_END
-
REQUIRED_LINE_BREAK_AT_END
public static final HtmlSerializerInnerOuterText.HtmlSerializerTextBuilder.State REQUIRED_LINE_BREAK_AT_END
-
-
Method Detail
-
values
public static HtmlSerializerInnerOuterText.HtmlSerializerTextBuilder.State[] 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 (HtmlSerializerInnerOuterText.HtmlSerializerTextBuilder.State c : HtmlSerializerInnerOuterText.HtmlSerializerTextBuilder.State.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HtmlSerializerInnerOuterText.HtmlSerializerTextBuilder.State valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-