public enum AttributeTypeEnum extends Enum<AttributeTypeEnum>
| 限定符和类型 | 方法和说明 |
|---|---|
String |
diffText(String oldText,
String newText)
对比两个 text对象,或者html片段的不同,生成类似于gitDiff的html片段
|
abstract ActionItemModel |
handler(LocalTypeHandler localTypeHandler,
String subLocalType,
String oldValue,
String newValue) |
static AttributeTypeEnum |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static AttributeTypeEnum[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final AttributeTypeEnum NORMAL
public static final AttributeTypeEnum TEXT
public static final AttributeTypeEnum LOCALTYPE
public static AttributeTypeEnum[] values()
for (AttributeTypeEnum c : AttributeTypeEnum.values()) System.out.println(c);
public static AttributeTypeEnum valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public abstract ActionItemModel handler(LocalTypeHandler localTypeHandler, String subLocalType, String oldValue, String newValue)
Copyright © 2019. All rights reserved.