public enum ECSSAttributeOperator extends Enum<ECSSAttributeOperator> implements ICSSVersionAware, ICSSWriteable, com.helger.commons.name.IHasName
[foo^="bar"]| Enum Constant and Description |
|---|
BEGINMATCH |
CONTAINSMATCH |
DASHMATCH |
ENDMATCH |
EQUALS |
INCLUDES |
| 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 ECSSAttributeOperator |
getFromNameOrNull(String sName) |
ECSSVersion |
getMinimumCSSVersion() |
String |
getName() |
static ECSSAttributeOperator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ECSSAttributeOperator[] |
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 ECSSAttributeOperator EQUALS
public static final ECSSAttributeOperator INCLUDES
public static final ECSSAttributeOperator DASHMATCH
public static final ECSSAttributeOperator BEGINMATCH
public static final ECSSAttributeOperator ENDMATCH
public static final ECSSAttributeOperator CONTAINSMATCH
public static ECSSAttributeOperator[] values()
for (ECSSAttributeOperator c : ECSSAttributeOperator.values()) System.out.println(c);
public static ECSSAttributeOperator 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 ECSSVersion getMinimumCSSVersion()
getMinimumCSSVersion in interface ICSSVersionAwarenull.@Nonnull @Nonempty 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.@Nullable public static ECSSAttributeOperator getFromNameOrNull(@Nullable String sName)
Copyright © 2014–2018 Philip Helger. All rights reserved.