public enum AttributeName extends Enum<AttributeName>
| 枚举常量和说明 |
|---|
r
行列号属性,行标签下此为行号属性名,cell标签下下为列号属性名
|
s
ST(StylesTable) 的索引,样式index,用于获取行或单元格样式
|
t
Type类型,单元格类型属性,见
CellDataType |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getValue(Attributes attributes)
从属性里列表中获取对应属性值
|
boolean |
match(String attributeName)
是否匹配给定属性
|
static AttributeName |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static AttributeName[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final AttributeName r
public static final AttributeName s
public static final AttributeName t
CellDataTypepublic static AttributeName[] values()
for (AttributeName c : AttributeName.values()) System.out.println(c);
public static AttributeName valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public boolean match(String attributeName)
attributeName - 属性public String getValue(Attributes attributes)
attributes - 属性列表Copyright © 2023. All rights reserved.