public enum ECSSSelectorCombinator extends Enum<ECSSSelectorCombinator> implements ICSSSelectorMember, ICSSVersionAware, com.helger.commons.name.IHasName
div > span| Modifier and Type | Method and Description |
|---|---|
String |
getAsCSSString(ICSSWriterSettings aSettings,
int nIndentLevel)
Get the contents of this object as a serialized CSS string for writing to
an output.
|
static ECSSSelectorCombinator |
getFromNameOrNull(String sName) |
ECSSVersion |
getMinimumCSSVersion() |
String |
getName() |
static ECSSSelectorCombinator |
valueOf(String name)
Returns 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.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfgetAsCSSString, getAsCSSStringpublic static final ECSSSelectorCombinator PLUS
public static final ECSSSelectorCombinator GREATER
public static final ECSSSelectorCombinator TILDE
public static final ECSSSelectorCombinator BLANK
public static ECSSSelectorCombinator[] values()
for (ECSSSelectorCombinator c : ECSSSelectorCombinator.values()) System.out.println(c);
public static ECSSSelectorCombinator valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null@Nonnull @Nonempty public String getName()
getName in interface com.helger.commons.name.IHasName@Nonnull public String getAsCSSString(@Nonnull ICSSWriterSettings aSettings, @Nonnegative int nIndentLevel)
ICSSWriteablegetAsCSSString in interface ICSSWriteableaSettings - The settings to be used to format the output. May not be
null.nIndentLevel - The current indentation levelnull.@Nonnull public ECSSVersion getMinimumCSSVersion()
getMinimumCSSVersion in interface ICSSVersionAwarenull.@Nullable public static ECSSSelectorCombinator getFromNameOrNull(@Nullable String sName)
Copyright © 2014–2018 Philip Helger. All rights reserved.