Package nablarch.common.web.tag
Enum Class ListFormat
- All Implemented Interfaces:
Serializable
,Comparable<ListFormat>
,Constable
リスト表示に使用するフォーマットを表す列挙型。
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionabstract String
getElementTag
(HtmlAttributes attributes, String content) リスト要素のタグを取得する。static ListFormat
getFormatByTagName
(String tagName) リスト表示に使用するフォーマットを取得する。リスト表示に使用するフォーマットを取得する。リスト要素を含める終了タグを取得する。getListStartTag
(HtmlAttributes attributes) リスト要素を含める開始タグを取得する。static ListFormat
Returns the enum constant of this class with the specified name.static ListFormat[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BR
brタグ -
DIV
divタグ -
SPAN
spanタグ -
UL
ulタグタグ -
OL
olタグタグ -
SP
スペース
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
getListStartTag
リスト要素を含める開始タグを取得する。- Parameters:
attributes
- 属性- Returns:
- リスト要素を含める開始タグ
-
getListEndTag
リスト要素を含める終了タグを取得する。- Returns:
- リスト要素を含める終了タグ
-
getElementTag
リスト要素のタグを取得する。- Parameters:
attributes
- 属性content
- タグの内容- Returns:
- リスト要素のタグ
-
getFormats
リスト表示に使用するフォーマットを取得する。- Returns:
- リスト表示に使用するフォーマット
-
getFormatByTagName
リスト表示に使用するフォーマットを取得する。- Parameters:
tagName
- タグ名- Returns:
- リスト表示に使用するフォーマット
-