Package org.aoju.bus.office.excel.sax
Enum Class AttributeName
- All Implemented Interfaces:
Serializable,Comparable<AttributeName>,Constable
Excel的XML中属性名枚举
- Since:
- Java 17+
- Author:
- Kimi Liu
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription行列号属性,行标签下此为行号属性名,cell标签下下为列号属性名ST(StylesTable) 的索引,样式index,用于获取行或单元格样式Type类型,单元格类型属性,见CellDataType -
Method Summary
Modifier and TypeMethodDescriptiongetValue(Attributes attributes) 从属性里列表中获取对应属性值boolean是否匹配给定属性static AttributeNameReturns the enum constant of this class with the specified name.static AttributeName[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
r
行列号属性,行标签下此为行号属性名,cell标签下下为列号属性名 -
s
ST(StylesTable) 的索引,样式index,用于获取行或单元格样式 -
t
Type类型,单元格类型属性,见CellDataType
-
-
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
-
match
是否匹配给定属性- Parameters:
attributeName- 属性- Returns:
- 是否匹配
-
getValue
从属性里列表中获取对应属性值- Parameters:
attributes- 属性列表- Returns:
- 属性值
-