public enum ElementName extends Enum<ElementName>
Enum Constant and Description |
---|
c
Cell单元格标签名,表示一个单元格
|
f
Formula公式,表示一个存放公式的单元格
|
row
行标签名,表示一行
|
v
Value单元格值的标签,表示单元格内的值
|
Modifier and Type | Method and Description |
---|---|
boolean |
match(String elementName)
给定标签名是否匹配当前标签
|
static ElementName |
of(String elementName)
解析支持的节点名枚举
|
static ElementName |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ElementName[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ElementName row
public static final ElementName c
public static final ElementName v
public static final ElementName f
public static ElementName[] values()
for (ElementName c : ElementName.values()) System.out.println(c);
public static ElementName valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic boolean match(String elementName)
elementName
- 标签名public static ElementName of(String elementName)
elementName
- 节点名Copyright © 2024. All rights reserved.