Package org.idpf.epubcheck.util.css
Enum CssGrammar.CssConstruct.Type
- java.lang.Object
-
- java.lang.Enum<CssGrammar.CssConstruct.Type>
-
- org.idpf.epubcheck.util.css.CssGrammar.CssConstruct.Type
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<CssGrammar.CssConstruct.Type>
- Enclosing class:
- CssGrammar.CssConstruct
public static enum CssGrammar.CssConstruct.Type extends java.lang.Enum<CssGrammar.CssConstruct.Type>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ATRULEATTRIBUTE_MATCHATTRIBUTE_SELECTORCLASSNAMECOMBINATORDECLARATIONFUNCTIONHASHNAMEKEYWORDPSEUDOQUANTITYSCOPEDGROUPSELECTORSIMPLE_SELECTOR_SEQSTRINGSYMBOLTYPE_SELECTORURANGEURI
-
Constructor Summary
Constructors Modifier Constructor Description privateType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CssGrammar.CssConstruct.TypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static CssGrammar.CssConstruct.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STRING
public static final CssGrammar.CssConstruct.Type STRING
-
KEYWORD
public static final CssGrammar.CssConstruct.Type KEYWORD
-
COMBINATOR
public static final CssGrammar.CssConstruct.Type COMBINATOR
-
ATTRIBUTE_MATCH
public static final CssGrammar.CssConstruct.Type ATTRIBUTE_MATCH
-
HASHNAME
public static final CssGrammar.CssConstruct.Type HASHNAME
-
CLASSNAME
public static final CssGrammar.CssConstruct.Type CLASSNAME
-
QUANTITY
public static final CssGrammar.CssConstruct.Type QUANTITY
-
URANGE
public static final CssGrammar.CssConstruct.Type URANGE
-
URI
public static final CssGrammar.CssConstruct.Type URI
-
SYMBOL
public static final CssGrammar.CssConstruct.Type SYMBOL
-
TYPE_SELECTOR
public static final CssGrammar.CssConstruct.Type TYPE_SELECTOR
-
PSEUDO
public static final CssGrammar.CssConstruct.Type PSEUDO
-
ATRULE
public static final CssGrammar.CssConstruct.Type ATRULE
-
FUNCTION
public static final CssGrammar.CssConstruct.Type FUNCTION
-
DECLARATION
public static final CssGrammar.CssConstruct.Type DECLARATION
-
SELECTOR
public static final CssGrammar.CssConstruct.Type SELECTOR
-
SIMPLE_SELECTOR_SEQ
public static final CssGrammar.CssConstruct.Type SIMPLE_SELECTOR_SEQ
-
ATTRIBUTE_SELECTOR
public static final CssGrammar.CssConstruct.Type ATTRIBUTE_SELECTOR
-
SCOPEDGROUP
public static final CssGrammar.CssConstruct.Type SCOPEDGROUP
-
-
Method Detail
-
values
public static CssGrammar.CssConstruct.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 (CssGrammar.CssConstruct.Type c : CssGrammar.CssConstruct.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 CssGrammar.CssConstruct.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
-
-