Enum ECSSSupportsConditionOperator

java.lang.Object
java.lang.Enum<ECSSSupportsConditionOperator>
com.helger.css.decl.ECSSSupportsConditionOperator
All Implemented Interfaces:
com.helger.commons.name.IHasName, ICSSSupportsConditionMember, ICSSVersionAware, ICSSWriteable, Serializable, Comparable<ECSSSupportsConditionOperator>, java.lang.constant.Constable

public enum ECSSSupportsConditionOperator extends Enum<ECSSSupportsConditionOperator> implements ICSSSupportsConditionMember, com.helger.commons.name.IHasName
Contains the binary operators for the @supports rule as in @supports (transition-property: color) or (animation-name: foo)
Author:
Philip Helger
  • Enum Constant Details

  • Method Details

    • values

      public static ECSSSupportsConditionOperator[] 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

      public static ECSSSupportsConditionOperator valueOf(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:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getName

      @Nonnull @Nonempty public String getName()
      Specified by:
      getName in interface com.helger.commons.name.IHasName
    • getAsCSSString

      @Nonnull public String getAsCSSString(@Nonnull ICSSWriterSettings aSettings, @Nonnegative int nIndentLevel)
      Description copied from interface: ICSSWriteable
      Get the contents of this object as a serialized CSS string for writing to an output.
      Specified by:
      getAsCSSString in interface ICSSWriteable
      Parameters:
      aSettings - The settings to be used to format the output. May not be null.
      nIndentLevel - The current indentation level
      Returns:
      The content of this object as CSS string. Never null.
    • getMinimumCSSVersion

      @Nonnull public ECSSVersion getMinimumCSSVersion()
      Specified by:
      getMinimumCSSVersion in interface ICSSVersionAware
      Returns:
      The minimum CSS version that is required to read or write this artifact. May not be null.
    • getFromNameCaseInsensitiveOrNull

      @Nullable public static ECSSSupportsConditionOperator getFromNameCaseInsensitiveOrNull(@Nullable String sName)