Package org.idpf.epubcheck.util.css
Enum CssGrammar.CssAttributeMatchSelector.Type
- java.lang.Object
-
- java.lang.Enum<CssGrammar.CssAttributeMatchSelector.Type>
-
- org.idpf.epubcheck.util.css.CssGrammar.CssAttributeMatchSelector.Type
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<CssGrammar.CssAttributeMatchSelector.Type>
- Enclosing class:
- CssGrammar.CssAttributeMatchSelector
public static enum CssGrammar.CssAttributeMatchSelector.Type extends java.lang.Enum<CssGrammar.CssAttributeMatchSelector.Type>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DASHMATCHEQUALSINCLUDESPREFIXMATCHSUBSTRINGMATCHSUFFIXMATCH
-
Constructor Summary
Constructors Modifier Constructor Description privateType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CssGrammar.CssAttributeMatchSelector.TypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static CssGrammar.CssAttributeMatchSelector.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EQUALS
public static final CssGrammar.CssAttributeMatchSelector.Type EQUALS
-
INCLUDES
public static final CssGrammar.CssAttributeMatchSelector.Type INCLUDES
-
DASHMATCH
public static final CssGrammar.CssAttributeMatchSelector.Type DASHMATCH
-
PREFIXMATCH
public static final CssGrammar.CssAttributeMatchSelector.Type PREFIXMATCH
-
SUFFIXMATCH
public static final CssGrammar.CssAttributeMatchSelector.Type SUFFIXMATCH
-
SUBSTRINGMATCH
public static final CssGrammar.CssAttributeMatchSelector.Type SUBSTRINGMATCH
-
-
Method Detail
-
values
public static CssGrammar.CssAttributeMatchSelector.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.CssAttributeMatchSelector.Type c : CssGrammar.CssAttributeMatchSelector.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.CssAttributeMatchSelector.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
-
-