Enum CssCombinatorNode.Combinator
- java.lang.Object
-
- java.lang.Enum<CssCombinatorNode.Combinator>
-
- com.google.common.css.compiler.ast.CssCombinatorNode.Combinator
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<CssCombinatorNode.Combinator>
- Enclosing class:
- CssCombinatorNode
public static enum CssCombinatorNode.Combinator extends java.lang.Enum<CssCombinatorNode.Combinator>
Contains the list of all possible CSS combinators.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADJACENT_SIBLINGCHILDDEEPDESCENDANTGENERAL_SIBLING
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetCanonicalName()static CssCombinatorNode.CombinatorvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static CssCombinatorNode.Combinator[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DESCENDANT
public static final CssCombinatorNode.Combinator DESCENDANT
-
DEEP
public static final CssCombinatorNode.Combinator DEEP
-
CHILD
public static final CssCombinatorNode.Combinator CHILD
-
ADJACENT_SIBLING
public static final CssCombinatorNode.Combinator ADJACENT_SIBLING
-
GENERAL_SIBLING
public static final CssCombinatorNode.Combinator GENERAL_SIBLING
-
-
Method Detail
-
values
public static CssCombinatorNode.Combinator[] 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 (CssCombinatorNode.Combinator c : CssCombinatorNode.Combinator.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CssCombinatorNode.Combinator 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
-
getCanonicalName
public java.lang.String getCanonicalName()
-
-