Package net.opengis.gml.x32
Class CompassPointEnumeration.Enum
- java.lang.Object
-
- org.apache.xmlbeans.StringEnumAbstractBase
-
- net.opengis.gml.x32.CompassPointEnumeration.Enum
-
- All Implemented Interfaces:
Serializable
- Enclosing interface:
- CompassPointEnumeration
public static final class CompassPointEnumeration.Enum extends org.apache.xmlbeans.StringEnumAbstractBaseEnumeration value class for net.opengis.gml.x32.CompassPointEnumeration. These enum values can be used as follows:enum.toString(); // returns the string value of the enum enum.intValue(); // returns an int value, useful for switches // e.g., case Enum.INT_N Enum.forString(s); // returns the enum value for a string Enum.forInt(i); // returns the enum value for an int
Enumeration objects are immutable singleton objects that can be compared using == object equality. They have no public constructor. See the constants defined within this class for all the valid values.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description (package private) static intINT_E(package private) static intINT_ENE(package private) static intINT_ESE(package private) static intINT_N(package private) static intINT_NE(package private) static intINT_NNE(package private) static intINT_NNW(package private) static intINT_NW(package private) static intINT_S(package private) static intINT_SE(package private) static intINT_SSE(package private) static intINT_SSW(package private) static intINT_SW(package private) static intINT_W(package private) static intINT_WNW(package private) static intINT_WSWstatic org.apache.xmlbeans.StringEnumAbstractBase.Tabletable
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CompassPointEnumeration.EnumforInt(int i)Returns the enum value corresponding to an int, or null if none.static CompassPointEnumeration.EnumforString(String s)Returns the enum value for a string, or null if none.
-
-
-
Field Detail
-
INT_N
static final int INT_N
- See Also:
- Constant Field Values
-
INT_NNE
static final int INT_NNE
- See Also:
- Constant Field Values
-
INT_NE
static final int INT_NE
- See Also:
- Constant Field Values
-
INT_ENE
static final int INT_ENE
- See Also:
- Constant Field Values
-
INT_E
static final int INT_E
- See Also:
- Constant Field Values
-
INT_ESE
static final int INT_ESE
- See Also:
- Constant Field Values
-
INT_SE
static final int INT_SE
- See Also:
- Constant Field Values
-
INT_SSE
static final int INT_SSE
- See Also:
- Constant Field Values
-
INT_S
static final int INT_S
- See Also:
- Constant Field Values
-
INT_SSW
static final int INT_SSW
- See Also:
- Constant Field Values
-
INT_SW
static final int INT_SW
- See Also:
- Constant Field Values
-
INT_WSW
static final int INT_WSW
- See Also:
- Constant Field Values
-
INT_W
static final int INT_W
- See Also:
- Constant Field Values
-
INT_WNW
static final int INT_WNW
- See Also:
- Constant Field Values
-
INT_NW
static final int INT_NW
- See Also:
- Constant Field Values
-
INT_NNW
static final int INT_NNW
- See Also:
- Constant Field Values
-
table
public static final org.apache.xmlbeans.StringEnumAbstractBase.Table table
-
-
Method Detail
-
forString
public static CompassPointEnumeration.Enum forString(String s)
Returns the enum value for a string, or null if none.
-
forInt
public static CompassPointEnumeration.Enum forInt(int i)
Returns the enum value corresponding to an int, or null if none.
-
-