Enum Class CSS.Attribute

java.lang.Object
java.lang.Enum<CSS.Attribute>
com.inet.html.css.CSS.Attribute
All Implemented Interfaces:
Serializable, Comparable<CSS.Attribute>, Constable
Enclosing class:
CSS

public static enum CSS.Attribute extends Enum<CSS.Attribute>
A list of CSS attributes. The specfication can be find at http://www.w3.org/TR/1998/REC-CSS2/propidx.html.
  • Enum Constant Details

  • Method Details

    • values

      public static CSS.Attribute[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static CSS.Attribute valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • toString

      public String toString()
      This return the name of the Attribute.
      Overrides:
      toString in class Enum<CSS.Attribute>
      Returns:
      the name