Enum AnyHR.Align

java.lang.Object
java.lang.Enum<AnyHR.Align>
com.aoapps.html.any.AnyHR.Align
All Implemented Interfaces:
Serializable, Comparable<AnyHR.Align>, Function<AnyDocument<?>,String>
Enclosing class:
AnyHR<D extends AnyDocument<D>,PC extends AnyFlowContent<D,PC>,E extends AnyHR<D,PC,E>>

@Deprecated public static enum AnyHR.Align extends Enum<AnyHR.Align> implements Function<AnyDocument<?>,String>
Deprecated.
The align attribute of <hr> is not supported in HTML5. Use CSS instead.
  • Enum Constant Details

    • LEFT

      public static final AnyHR.Align LEFT
      Deprecated.
      Left-aligns the horizontal line.
    • CENTER

      public static final AnyHR.Align CENTER
      Deprecated.
      Center-aligns the horizontal line (this is default).
  • Method Details

    • values

      public static AnyHR.Align[] values()
      Deprecated.
      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 AnyHR.Align valueOf(String name)
      Deprecated.
      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
    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class Enum<AnyHR.Align>
    • apply

      public String apply(AnyDocument<?> document)
      Deprecated.
      Specified by:
      apply in interface Function<AnyDocument<?>,String>