public enum AdUnitTargetWindow extends Enum<AdUnitTargetWindow>
Java class for AdUnit.TargetWindow.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="AdUnit.TargetWindow">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="TOP"/>
<enumeration value="BLANK"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
BLANK
Specifies that the link should open in a new window.
|
TOP
Specifies that the link should open in the full body of the page.
|
| Modifier and Type | Method and Description |
|---|---|
static AdUnitTargetWindow |
fromValue(String v) |
String |
value() |
static AdUnitTargetWindow |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AdUnitTargetWindow[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AdUnitTargetWindow TOP
public static final AdUnitTargetWindow BLANK
public static AdUnitTargetWindow[] values()
for (AdUnitTargetWindow c : AdUnitTargetWindow.values()) System.out.println(c);
public static AdUnitTargetWindow 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 nullpublic String value()
public static AdUnitTargetWindow fromValue(String v)
Copyright © 2018. All Rights Reserved.