Package org.idpf.epubcheck.util.css
Enum CssToken.Type
- java.lang.Object
-
- java.lang.Enum<CssToken.Type>
-
- org.idpf.epubcheck.util.css.CssToken.Type
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<CssToken.Type>
- Enclosing class:
- CssToken
public static enum CssToken.Type extends java.lang.Enum<CssToken.Type>
Token types.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ANDATKEYWORDCDCCDOCHARCLASSNAMECOMMENTDASHMATCHFUNCTIONHASHNAMEIDENTIMPORTANTINCLUDESINTEGERNOTNUMBERONLYPREFIXMATCHQNTY_ANGLEQNTY_DIMENQNTY_EMSQNTY_EXSQNTY_FREQQNTY_LENGTHQNTY_PERCENTAGEQNTY_REMSQNTY_RESOLUTIONQNTY_TIMESSTRINGSUBSTRINGMATCHSUFFIXMATCHURANGEURI
-
Constructor Summary
Constructors Modifier Constructor Description privateType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CssToken.TypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static CssToken.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
S
public static final CssToken.Type S
-
COMMENT
public static final CssToken.Type COMMENT
-
CDO
public static final CssToken.Type CDO
-
CDC
public static final CssToken.Type CDC
-
IDENT
public static final CssToken.Type IDENT
-
FUNCTION
public static final CssToken.Type FUNCTION
-
ATKEYWORD
public static final CssToken.Type ATKEYWORD
-
NUMBER
public static final CssToken.Type NUMBER
-
INTEGER
public static final CssToken.Type INTEGER
-
STRING
public static final CssToken.Type STRING
-
URI
public static final CssToken.Type URI
-
HASHNAME
public static final CssToken.Type HASHNAME
-
CLASSNAME
public static final CssToken.Type CLASSNAME
-
URANGE
public static final CssToken.Type URANGE
-
INCLUDES
public static final CssToken.Type INCLUDES
-
DASHMATCH
public static final CssToken.Type DASHMATCH
-
PREFIXMATCH
public static final CssToken.Type PREFIXMATCH
-
SUFFIXMATCH
public static final CssToken.Type SUFFIXMATCH
-
SUBSTRINGMATCH
public static final CssToken.Type SUBSTRINGMATCH
-
QNTY_DIMEN
public static final CssToken.Type QNTY_DIMEN
-
QNTY_PERCENTAGE
public static final CssToken.Type QNTY_PERCENTAGE
-
QNTY_LENGTH
public static final CssToken.Type QNTY_LENGTH
-
QNTY_EMS
public static final CssToken.Type QNTY_EMS
-
QNTY_EXS
public static final CssToken.Type QNTY_EXS
-
QNTY_ANGLE
public static final CssToken.Type QNTY_ANGLE
-
QNTY_TIME
public static final CssToken.Type QNTY_TIME
-
QNTY_FREQ
public static final CssToken.Type QNTY_FREQ
-
QNTY_RESOLUTION
public static final CssToken.Type QNTY_RESOLUTION
-
QNTY_REMS
public static final CssToken.Type QNTY_REMS
-
ONLY
public static final CssToken.Type ONLY
-
NOT
public static final CssToken.Type NOT
-
AND
public static final CssToken.Type AND
-
IMPORTANT
public static final CssToken.Type IMPORTANT
-
CHAR
public static final CssToken.Type CHAR
-
-
Method Detail
-
values
public static CssToken.Type[] 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 (CssToken.Type c : CssToken.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CssToken.Type 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
-
-