Package com.foxinmy.weixin4j.mp.model
Enum ArticleComment.ArticleCommentType
- java.lang.Object
-
- java.lang.Enum<ArticleComment.ArticleCommentType>
-
- com.foxinmy.weixin4j.mp.model.ArticleComment.ArticleCommentType
-
- All Implemented Interfaces:
Serializable
,Comparable<ArticleComment.ArticleCommentType>
- Enclosing class:
- ArticleComment
public static enum ArticleComment.ArticleCommentType extends Enum<ArticleComment.ArticleCommentType>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ArticleComment.ArticleCommentType
valueOf(String name)
Returns the enum constant of this type with the specified name.static ArticleComment.ArticleCommentType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GENERAL
public static final ArticleComment.ArticleCommentType GENERAL
-
MARKELECT
public static final ArticleComment.ArticleCommentType MARKELECT
-
-
Method Detail
-
values
public static ArticleComment.ArticleCommentType[] 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 (ArticleComment.ArticleCommentType c : ArticleComment.ArticleCommentType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ArticleComment.ArticleCommentType 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
-
-