public enum DocReferenceTypeEnum extends Enum<DocReferenceTypeEnum>
| Enum Constant and Description |
|---|
INDEXED
indexed模式的doc reference, 在返回数据包含文档引用的基本信息, 同时包含文档在文本中的索引位置
|
SIMPLE
简单模式的doc reference, 在返回数据包含文档引用的基本信息, 不包含文档在文本中的索引位置
|
| Modifier and Type | Method and Description |
|---|---|
String |
getType() |
static DocReferenceTypeEnum |
typeOf(String type) |
static DocReferenceTypeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DocReferenceTypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DocReferenceTypeEnum SIMPLE
public static final DocReferenceTypeEnum INDEXED
public static DocReferenceTypeEnum[] values()
for (DocReferenceTypeEnum c : DocReferenceTypeEnum.values()) System.out.println(c);
public static DocReferenceTypeEnum 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 String getType()
public static DocReferenceTypeEnum typeOf(String type)
Copyright © 2024. All rights reserved.