public static enum Article.Type extends Enum<Article.Type>
Enum Constant and Description |
---|
ARTICLE |
CATEGORY |
DISAMBIGUATION |
DISCUSSION |
FILE |
LIST |
MAIN |
PROJECT |
REDIRECT |
TEMPLATE |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
static Article.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Article.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Article.Type TEMPLATE
public static final Article.Type ARTICLE
public static final Article.Type CATEGORY
public static final Article.Type DISCUSSION
public static final Article.Type REDIRECT
public static final Article.Type DISAMBIGUATION
public static final Article.Type UNKNOWN
public static final Article.Type MAIN
public static final Article.Type LIST
public static final Article.Type PROJECT
public static final Article.Type FILE
public static Article.Type[] values()
for (Article.Type c : Article.Type.values()) System.out.println(c);
public static Article.Type 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 nullCopyright © 2013. All Rights Reserved.