Package com.foxinmy.weixin4j.mp.type
Enum SemCategory
- java.lang.Object
-
- java.lang.Enum<SemCategory>
-
- com.foxinmy.weixin4j.mp.type.SemCategory
-
- All Implemented Interfaces:
Serializable
,Comparable<SemCategory>
public enum SemCategory extends Enum<SemCategory>
垂直服务协议- Since:
- JDK 1.6
- Author:
- jinyu(foxinmy@gmail.com)
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDesc()
String
getMain()
String
getRemark()
static SemCategory
valueOf(String name)
Returns the enum constant of this type with the specified name.static SemCategory[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
restaurant
public static final SemCategory restaurant
生活类
-
map
public static final SemCategory map
-
nearby
public static final SemCategory nearby
-
coupon
public static final SemCategory coupon
-
hotel
public static final SemCategory hotel
旅行类
-
travel
public static final SemCategory travel
-
flight
public static final SemCategory flight
-
train
public static final SemCategory train
-
movie
public static final SemCategory movie
娱乐类
-
music
public static final SemCategory music
-
video
public static final SemCategory video
-
novel
public static final SemCategory novel
-
weather
public static final SemCategory weather
工具类
-
stock
public static final SemCategory stock
-
remind
public static final SemCategory remind
-
telephone
public static final SemCategory telephone
-
cookbook
public static final SemCategory cookbook
知识类
-
baike
public static final SemCategory baike
-
news
public static final SemCategory news
-
tv
public static final SemCategory tv
其他类
-
instruction
public static final SemCategory instruction
-
tv_instruction
public static final SemCategory tv_instruction
-
car_instruction
public static final SemCategory car_instruction
-
app
public static final SemCategory app
-
website
public static final SemCategory website
-
search
public static final SemCategory search
-
-
Method Detail
-
values
public static SemCategory[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SemCategory c : SemCategory.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SemCategory valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
getMain
public String getMain()
-
getDesc
public String getDesc()
-
getRemark
public String getRemark()
-
-