public static enum GoogleNewsExtension.Genre extends java.lang.Enum<GoogleNewsExtension.Genre>
Enum Constant and Description |
---|
BLOG |
OP_ED |
OPINION |
PRESS_RELEASE |
SATIRE |
USER_GENERATED |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getValue() |
static GoogleNewsExtension.Genre |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GoogleNewsExtension.Genre[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GoogleNewsExtension.Genre PRESS_RELEASE
public static final GoogleNewsExtension.Genre SATIRE
public static final GoogleNewsExtension.Genre BLOG
public static final GoogleNewsExtension.Genre OP_ED
public static final GoogleNewsExtension.Genre OPINION
public static final GoogleNewsExtension.Genre USER_GENERATED
public static GoogleNewsExtension.Genre[] values()
for (GoogleNewsExtension.Genre c : GoogleNewsExtension.Genre.values()) System.out.println(c);
public static GoogleNewsExtension.Genre valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getValue()
Copyright © 2010 - 2023 Adobe. All Rights Reserved