Package org.htmlunit.cssparser.parser
Enum Class LexicalUnit.LexicalUnitType
java.lang.Object
java.lang.Enum<LexicalUnit.LexicalUnitType>
org.htmlunit.cssparser.parser.LexicalUnit.LexicalUnitType
- All Implemented Interfaces:
Serializable
,Comparable<LexicalUnit.LexicalUnitType>
,Constable
- Enclosing interface:
LexicalUnit
Enum for the various unit types.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionATTR.CENTIMETER.CH.COUNTER_FUNCTION.COUNTERS_FUNCTION.DEGREE.DIMENSION.EM.EX.FUNCTION.FUNCTION_CALC.GRADIAN.HERTZ.HSLCOLOR.HWBCOLOR.IDENT.INCH.INHERIT.INTEGER.KILOHERTZ.LABCOLOR.LCHCOLOR.MILLIMETER.MILLISECOND.NONE.OPERATOR_COMMA.OPERATOR_EXP.OPERATOR_GE.OPERATOR_GT.OPERATOR_LE.OPERATOR_LT.OPERATOR_MINUS.OPERATOR_MOD.OPERATOR_MULTIPLY.OPERATOR_PLUS.OPERATOR_SLASH.OPERATOR_TILDE.PERCENTAGE.PICA.PIXEL.POINT.QUATER.RADIAN.REAL.RECT_FUNCTION.REM.RGBCOLOR.SECOND.STRING_VALUE.TURN.UNICODERANGE.URI.VH.VMAX.VMIN.VW. -
Method Summary
Modifier and TypeMethodDescriptionstatic LexicalUnit.LexicalUnitType
Returns the enum constant of this class with the specified name.static LexicalUnit.LexicalUnitType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
OPERATOR_COMMA
OPERATOR_COMMA. -
OPERATOR_PLUS
OPERATOR_PLUS. -
OPERATOR_MINUS
OPERATOR_MINUS. -
OPERATOR_MULTIPLY
OPERATOR_MULTIPLY. -
OPERATOR_SLASH
OPERATOR_SLASH. -
OPERATOR_MOD
OPERATOR_MOD. -
OPERATOR_EXP
OPERATOR_EXP. -
OPERATOR_LT
OPERATOR_LT. -
OPERATOR_GT
OPERATOR_GT. -
OPERATOR_LE
OPERATOR_LE. -
OPERATOR_GE
OPERATOR_GE. -
OPERATOR_TILDE
OPERATOR_TILDE. -
INHERIT
INHERIT. -
INTEGER
INTEGER. -
REAL
REAL. -
EM
EM. -
REM
REM. -
EX
EX. -
CH
CH. -
VW
VW. -
VH
VH. -
VMIN
VMIN. -
VMAX
VMAX. -
PIXEL
PIXEL. -
INCH
INCH. -
CENTIMETER
CENTIMETER. -
MILLIMETER
MILLIMETER. -
POINT
POINT. -
PICA
PICA. -
QUATER
QUATER. -
PERCENTAGE
PERCENTAGE. -
URI
URI. -
COUNTER_FUNCTION
COUNTER_FUNCTION. -
COUNTERS_FUNCTION
COUNTERS_FUNCTION. -
RGBCOLOR
RGBCOLOR. -
HSLCOLOR
HSLCOLOR. -
HWBCOLOR
HWBCOLOR. -
LABCOLOR
LABCOLOR. -
LCHCOLOR
LCHCOLOR. -
NONE
NONE. -
DEGREE
DEGREE. -
GRADIAN
GRADIAN. -
RADIAN
RADIAN. -
TURN
TURN. -
MILLISECOND
MILLISECOND. -
SECOND
SECOND. -
HERTZ
HERTZ. -
KILOHERTZ
KILOHERTZ. -
IDENT
IDENT. -
STRING_VALUE
STRING_VALUE. -
ATTR
ATTR. -
RECT_FUNCTION
RECT_FUNCTION. -
UNICODERANGE
UNICODERANGE. -
FUNCTION
FUNCTION. -
FUNCTION_CALC
FUNCTION_CALC. -
DIMENSION
DIMENSION.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-