Package com.helger.css.decl
Enum ECSSSelectorCombinator
- All Implemented Interfaces:
com.helger.commons.name.IHasName,ICSSSelectorMember,ICSSVersionAware,ICSSWriteable,Serializable,Comparable<ECSSSelectorCombinator>,java.lang.constant.Constable
public enum ECSSSelectorCombinator
extends Enum<ECSSSelectorCombinator>
implements ICSSSelectorMember, ICSSVersionAware, com.helger.commons.name.IHasName
This enum contains all the selector combinators. E.g. used in
div > span- Author:
- Philip Helger
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptiongetAsCSSString(ICSSWriterSettings aSettings, int nIndentLevel) Get the contents of this object as a serialized CSS string for writing to an output.static ECSSSelectorCombinatorgetFromNameOrNull(String sName) getName()static ECSSSelectorCombinatorReturns the enum constant of this type with the specified name.static ECSSSelectorCombinator[]values()Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface com.helger.css.ICSSWriteable
getAsCSSString, getAsCSSString
-
Enum Constant Details
-
PLUS
-
GREATER
-
TILDE
-
BLANK
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getName
- Specified by:
getNamein interfacecom.helger.commons.name.IHasName
-
getAsCSSString
@Nonnull public String getAsCSSString(@Nonnull ICSSWriterSettings aSettings, @Nonnegative int nIndentLevel) Description copied from interface:ICSSWriteableGet the contents of this object as a serialized CSS string for writing to an output.- Specified by:
getAsCSSStringin interfaceICSSWriteable- Parameters:
aSettings- The settings to be used to format the output. May not benull.nIndentLevel- The current indentation level- Returns:
- The content of this object as CSS string. Never
null.
-
getMinimumCSSVersion
- Specified by:
getMinimumCSSVersionin interfaceICSSVersionAware- Returns:
- The minimum CSS version that is required to read or write this
artifact. May not be
null.
-
getFromNameOrNull
-