Enum CssRefinerNode.Refiner
- java.lang.Object
-
- java.lang.Enum<CssRefinerNode.Refiner>
-
- com.google.common.css.compiler.ast.CssRefinerNode.Refiner
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<CssRefinerNode.Refiner>
- Enclosing class:
- CssRefinerNode
public static enum CssRefinerNode.Refiner extends java.lang.Enum<CssRefinerNode.Refiner>
Contains the list of all possible CSS refiners.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ATTRIBUTECLASSIDPSEUDO_CLASSPSEUDO_ELEMENT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetPrefix()java.lang.StringgetSuffix()java.lang.StringtoString()static CssRefinerNode.RefinervalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static CssRefinerNode.Refiner[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CLASS
public static final CssRefinerNode.Refiner CLASS
-
ID
public static final CssRefinerNode.Refiner ID
-
PSEUDO_CLASS
public static final CssRefinerNode.Refiner PSEUDO_CLASS
-
PSEUDO_ELEMENT
public static final CssRefinerNode.Refiner PSEUDO_ELEMENT
-
ATTRIBUTE
public static final CssRefinerNode.Refiner ATTRIBUTE
-
-
Method Detail
-
values
public static CssRefinerNode.Refiner[] 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 (CssRefinerNode.Refiner c : CssRefinerNode.Refiner.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CssRefinerNode.Refiner 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
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Enum<CssRefinerNode.Refiner>
-
getPrefix
public java.lang.String getPrefix()
-
getSuffix
public java.lang.String getSuffix()
-
-