public static final class TypeAttribute.Type.Enum
extends org.apache.xmlbeans.StringEnumAbstractBase
enum.toString(); // returns the string value of the enum enum.intValue(); // returns an int value, useful for switches // e.g., case Enum.INT_SIMPLE Enum.forString(s); // returns the enum value for a string Enum.forInt(i); // returns the enum value for an intEnumeration 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.
| Modifier and Type | Field and Description |
|---|---|
(package private) static int |
INT_ARC |
(package private) static int |
INT_EXTENDED |
(package private) static int |
INT_LOCATOR |
(package private) static int |
INT_SIMPLE |
private static long |
serialVersionUID |
static org.apache.xmlbeans.StringEnumAbstractBase.Table |
table |
| Modifier and Type | Method and Description |
|---|---|
static TypeAttribute.Type.Enum |
forInt(int i)
Returns the enum value corresponding to an int, or null if none.
|
static TypeAttribute.Type.Enum |
forString(String s)
Returns the enum value for a string, or null if none.
|
private Object |
readResolve() |
static final int INT_SIMPLE
static final int INT_EXTENDED
static final int INT_LOCATOR
static final int INT_ARC
public static final org.apache.xmlbeans.StringEnumAbstractBase.Table table
private static final long serialVersionUID
private Enum(String s, int i)
public static TypeAttribute.Type.Enum forString(String s)
public static TypeAttribute.Type.Enum forInt(int i)
private Object readResolve()
Copyright © 2014–2023 Martin Luther University Halle-Wittenberg, Institute of Computer Science, Pattern Recognition and Bioinformatics. All rights reserved.