public enum XmlAdhocOrientation extends Enum<XmlAdhocOrientation>
Java class for Orientation.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="Orientation">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="HORIZONTAL"/>
<enumeration value="VERTICAL"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
HORIZONTAL |
VERTICAL |
| Modifier and Type | Method and Description |
|---|---|
static XmlAdhocOrientation |
fromValue(String v) |
String |
value() |
static XmlAdhocOrientation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static XmlAdhocOrientation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final XmlAdhocOrientation HORIZONTAL
public static final XmlAdhocOrientation VERTICAL
public static XmlAdhocOrientation[] values()
for (XmlAdhocOrientation c : XmlAdhocOrientation.values()) System.out.println(c);
public static XmlAdhocOrientation 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 XmlAdhocOrientation fromValue(String v)
Copyright © 2010–2021. All rights reserved.