public class IndexElementHelper extends Object
| 构造器和说明 |
|---|
IndexElementHelper() |
| 限定符和类型 | 方法和说明 |
|---|---|
static IndexElement |
newElement(String uid)
构造一个新元素
|
static IndexElement |
newElement(String id,
List<IndexAttribute> attributes)
构造一个新元素
|
static IndexElement |
newElement(String key,
String caption,
String summary,
List<IndexAttribute> attributes)
构造一个新元素
|
static IndexElement |
newElement(UniteId uid)
构造一个新元素
|
static IndexElement |
newElement(UniteId uid,
List<IndexAttribute> attributes)
构造一个新元素
|
public static IndexElement newElement(String uid)
uid - 唯一idpublic static IndexElement newElement(UniteId uid)
uid - 唯一idpublic static IndexElement newElement(UniteId uid, List<IndexAttribute> attributes)
uid - 被索引条目IDattributes - 属性(主要用于排序)public static IndexElement newElement(String id, List<IndexAttribute> attributes)
id - 被索引条目IDattributes - 属性(主要用于排序)public static IndexElement newElement(String key, String caption, String summary, List<IndexAttribute> attributes)
key - 被索引条目IDcaption - 标题summary - 摘要attributes - 属性(主要用于排序)Copyright © 2021. All rights reserved.