Package io.sf.carte.doc.style.css.nsac
Enum Parser.Flag
- All Implemented Interfaces:
Serializable
,Comparable<Parser.Flag>
,java.lang.constant.Constable
- Enclosing interface:
- Parser
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAllows values ending with the '!Accepts values with an '!Accepts values with some IE hacks, producingCOMPAT_IDENT
values.Handles asterisk-prefixed properties as normal, compliant CSS properties but reports a SAC warning. -
Method Summary
Modifier and TypeMethodDescriptionstatic Parser.Flag
Returns the enum constant of this type with the specified name.static Parser.Flag[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
STARHACK
Handles asterisk-prefixed properties as normal, compliant CSS properties but reports a SAC warning. -
IEVALUES
Accepts values with some IE hacks, producingCOMPAT_IDENT
values. -
IEPRIO
Allows values ending with the '!ie' priority hack (and puts them intoCOMPAT_IDENT
compatibility values). -
IEPRIOCHAR
Accepts values with an '!important!' priority, and sets it toCOMPAT_PRIO
pseudo-values. Those values must be handled as of !important priority.
-
-
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
-