com.foxinmy.weixin4j.mp.type
Enum SemCategory

java.lang.Object
  extended by java.lang.Enum<SemCategory>
      extended by 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)
See Also:

Enum Constant Summary
app
           
baike
           
car_instruction
           
cookbook
          知识类
coupon
           
flight
           
hotel
          旅行类
instruction
           
map
           
movie
          娱乐类
music
           
nearby
           
news
           
novel
           
remind
           
restaurant
          生活类
search
           
stock
           
telephone
           
train
           
travel
           
tv
          其他类
tv_instruction
           
video
           
weather
          工具类
website
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

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 name
NullPointerException - if the argument is null

getMain

public String getMain()

getDesc

public String getDesc()

getRemark

public String getRemark()


Copyright © 2014–2017. All rights reserved.