Package org.htmlunit.cyberneko
Enum HTMLScanner.ScanScriptState
- java.lang.Object
-
- java.lang.Enum<HTMLScanner.ScanScriptState>
-
- org.htmlunit.cyberneko.HTMLScanner.ScanScriptState
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<HTMLScanner.ScanScriptState>
- Enclosing class:
- HTMLScanner
private static enum HTMLScanner.ScanScriptState extends java.lang.Enum<HTMLScanner.ScanScriptState>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DATA
Script data stateDOUBLE_ESCAPED
Script data double escaped stateDOUBLE_ESCAPED_LT
Script data double escaped less-than sign stateESCAPED
Script data escaped stateESCAPED_LT
Script data escaped less-than sign state
-
Constructor Summary
Constructors Modifier Constructor Description private
ScanScriptState()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HTMLScanner.ScanScriptState
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static HTMLScanner.ScanScriptState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DATA
public static final HTMLScanner.ScanScriptState DATA
Script data state
-
ESCAPED
public static final HTMLScanner.ScanScriptState ESCAPED
Script data escaped state
-
ESCAPED_LT
public static final HTMLScanner.ScanScriptState ESCAPED_LT
Script data escaped less-than sign state
-
DOUBLE_ESCAPED
public static final HTMLScanner.ScanScriptState DOUBLE_ESCAPED
Script data double escaped state
-
DOUBLE_ESCAPED_LT
public static final HTMLScanner.ScanScriptState DOUBLE_ESCAPED_LT
Script data double escaped less-than sign state
-
-
Method Detail
-
values
public static HTMLScanner.ScanScriptState[] 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 (HTMLScanner.ScanScriptState c : HTMLScanner.ScanScriptState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HTMLScanner.ScanScriptState 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
-
-