public static final class ShowAttribute.Show.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_NEW 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_EMBED |
(package private) static int |
INT_NEW |
(package private) static int |
INT_NONE |
(package private) static int |
INT_OTHER |
(package private) static int |
INT_REPLACE |
private static long |
serialVersionUID |
static org.apache.xmlbeans.StringEnumAbstractBase.Table |
table |
| Modifier and Type | Method and Description |
|---|---|
static ShowAttribute.Show.Enum |
forInt(int i)
Returns the enum value corresponding to an int, or null if none.
|
static ShowAttribute.Show.Enum |
forString(String s)
Returns the enum value for a string, or null if none.
|
private Object |
readResolve() |
static final int INT_NEW
static final int INT_REPLACE
static final int INT_EMBED
static final int INT_OTHER
static final int INT_NONE
public static final org.apache.xmlbeans.StringEnumAbstractBase.Table table
private static final long serialVersionUID
private Enum(String s, int i)
public static ShowAttribute.Show.Enum forString(String s)
public static ShowAttribute.Show.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.