public enum ListFormat extends java.lang.Enum<ListFormat>
Enum Constant and Description |
---|
BR
brタグ
|
DIV
divタグ
|
OL
olタグタグ
|
SP
スペース
|
SPAN
spanタグ
|
UL
ulタグタグ
|
Modifier and Type | Method and Description |
---|---|
abstract java.lang.String |
getElementTag(HtmlAttributes attributes,
java.lang.String content)
リスト要素のタグを取得する。
|
static ListFormat |
getFormatByTagName(java.lang.String tagName)
リスト表示に使用するフォーマットを取得する。
|
static java.util.List<java.lang.String> |
getFormats()
リスト表示に使用するフォーマットを取得する。
|
java.lang.String |
getListEndTag()
リスト要素を含める終了タグを取得する。
|
java.lang.String |
getListStartTag(HtmlAttributes attributes)
リスト要素を含める開始タグを取得する。
|
static ListFormat |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ListFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ListFormat BR
public static final ListFormat DIV
public static final ListFormat SPAN
public static final ListFormat UL
public static final ListFormat OL
public static final ListFormat SP
public static ListFormat[] values()
for (ListFormat c : ListFormat.values()) System.out.println(c);
public static ListFormat valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getListStartTag(HtmlAttributes attributes)
attributes
- 属性public java.lang.String getListEndTag()
public abstract java.lang.String getElementTag(HtmlAttributes attributes, java.lang.String content)
attributes
- 属性content
- タグの内容public static java.util.List<java.lang.String> getFormats()
public static ListFormat getFormatByTagName(java.lang.String tagName)
tagName
- タグ名