public static enum WebhoseQuery.SiteType extends Enum<WebhoseQuery.SiteType>
| Enum Constant and Description |
|---|
blogs |
discussions |
news |
| Modifier and Type | Method and Description |
|---|---|
static WebhoseQuery.SiteType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WebhoseQuery.SiteType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WebhoseQuery.SiteType news
public static final WebhoseQuery.SiteType blogs
public static final WebhoseQuery.SiteType discussions
public static WebhoseQuery.SiteType[] values()
for (WebhoseQuery.SiteType c : WebhoseQuery.SiteType.values()) System.out.println(c);
public static WebhoseQuery.SiteType 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 © 2015. All rights reserved.