Enum Condition.ConditionType
java.lang.Object
java.lang.Enum<Condition.ConditionType>
org.htmlunit.cssparser.parser.condition.Condition.ConditionType
- All Implemented Interfaces:
Serializable
,Comparable<Condition.ConditionType>
,java.lang.constant.Constable
- Enclosing interface:
Condition
ConditionType enum.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionATTRIBUTE_CONDITION.BEGIN_HYPHEN_ATTRIBUTE_CONDITION.CLASS_CONDITION.ID_CONDITION.LANG_CONDITION.NOT_PSEUDO_CLASS_CONDITION.ONE_OF_ATTRIBUTE_CONDITION.PREFIX_ATTRIBUTE_CONDITION.PSEUDO_CLASS_CONDITION.SUBSTRING_ATTRIBUTE_CONDITION.SUFFIX_ATTRIBUTE_CONDITION. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Condition.ConditionType
Returns the enum constant of this type with the specified name.static Condition.ConditionType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ATTRIBUTE_CONDITION
ATTRIBUTE_CONDITION. -
ID_CONDITION
ID_CONDITION. -
LANG_CONDITION
LANG_CONDITION. -
ONE_OF_ATTRIBUTE_CONDITION
ONE_OF_ATTRIBUTE_CONDITION. -
BEGIN_HYPHEN_ATTRIBUTE_CONDITION
BEGIN_HYPHEN_ATTRIBUTE_CONDITION. -
CLASS_CONDITION
CLASS_CONDITION. -
PREFIX_ATTRIBUTE_CONDITION
PREFIX_ATTRIBUTE_CONDITION. -
PSEUDO_CLASS_CONDITION
PSEUDO_CLASS_CONDITION. -
NOT_PSEUDO_CLASS_CONDITION
NOT_PSEUDO_CLASS_CONDITION. -
SUBSTRING_ATTRIBUTE_CONDITION
SUBSTRING_ATTRIBUTE_CONDITION. -
SUFFIX_ATTRIBUTE_CONDITION
SUFFIX_ATTRIBUTE_CONDITION.
-
-
Constructor Details
-
ConditionType
private ConditionType()
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-