public static enum JsonBuilder.SelectorType extends Enum<JsonBuilder.SelectorType>
Enum Constant and Description |
---|
CLASS
CSS selector by CLASS
|
ID
CSS selector by ID
|
INCLUDED
CSS selector is included
|
Modifier and Type | Method and Description |
---|---|
String |
getPrefix() |
static JsonBuilder.SelectorType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JsonBuilder.SelectorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JsonBuilder.SelectorType ID
public static final JsonBuilder.SelectorType CLASS
public static final JsonBuilder.SelectorType INCLUDED
public static JsonBuilder.SelectorType[] values()
for (JsonBuilder.SelectorType c : JsonBuilder.SelectorType.values()) System.out.println(c);
public static JsonBuilder.SelectorType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright 2019-2022, Pavel Ponec