Enum Class ListFormat

java.lang.Object
java.lang.Enum<ListFormat>
nablarch.common.web.tag.ListFormat
All Implemented Interfaces:
Serializable, Comparable<ListFormat>, Constable

public enum ListFormat extends Enum<ListFormat>
リスト表示に使用するフォーマットを表す列挙型。
  • Enum Constant Details

    • BR

      public static final ListFormat BR
      brタグ
    • DIV

      public static final ListFormat DIV
      divタグ
    • SPAN

      public static final ListFormat SPAN
      spanタグ
    • UL

      public static final ListFormat UL
      ulタグタグ
    • OL

      public static final ListFormat OL
      olタグタグ
    • SP

      public static final ListFormat SP
      スペース
  • Method Details

    • values

      public static ListFormat[] 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 ListFormat 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
    • getListStartTag

      public String getListStartTag(HtmlAttributes attributes)
      リスト要素を含める開始タグを取得する。
      Parameters:
      attributes - 属性
      Returns:
      リスト要素を含める開始タグ
    • getListEndTag

      public String getListEndTag()
      リスト要素を含める終了タグを取得する。
      Returns:
      リスト要素を含める終了タグ
    • getElementTag

      public abstract String getElementTag(HtmlAttributes attributes, String content)
      リスト要素のタグを取得する。
      Parameters:
      attributes - 属性
      content - タグの内容
      Returns:
      リスト要素のタグ
    • getFormats

      public static List<String> getFormats()
      リスト表示に使用するフォーマットを取得する。
      Returns:
      リスト表示に使用するフォーマット
    • getFormatByTagName

      public static ListFormat getFormatByTagName(String tagName)
      リスト表示に使用するフォーマットを取得する。
      Parameters:
      tagName - タグ名
      Returns:
      リスト表示に使用するフォーマット