Package org.w3.x2001.smil20
Class RestartDefaultType.Enum
- java.lang.Object
-
- org.apache.xmlbeans.StringEnumAbstractBase
-
- org.w3.x2001.smil20.RestartDefaultType.Enum
-
- All Implemented Interfaces:
Serializable
- Enclosing interface:
- RestartDefaultType
public static final class RestartDefaultType.Enum extends org.apache.xmlbeans.StringEnumAbstractBaseEnumeration value class for org.w3.x2001.smil20.RestartDefaultType. 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_NEVER 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_ALWAYS(package private) static intINT_INHERIT(package private) static intINT_NEVER(package private) static intINT_WHEN_NOT_ACTIVEstatic org.apache.xmlbeans.StringEnumAbstractBase.Tabletable
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RestartDefaultType.EnumforInt(int i)Returns the enum value corresponding to an int, or null if none.static RestartDefaultType.EnumforString(String s)Returns the enum value for a string, or null if none.
-
-
-
Field Detail
-
INT_NEVER
static final int INT_NEVER
- See Also:
- Constant Field Values
-
INT_ALWAYS
static final int INT_ALWAYS
- See Also:
- Constant Field Values
-
INT_WHEN_NOT_ACTIVE
static final int INT_WHEN_NOT_ACTIVE
- See Also:
- Constant Field Values
-
INT_INHERIT
static final int INT_INHERIT
- See Also:
- Constant Field Values
-
table
public static final org.apache.xmlbeans.StringEnumAbstractBase.Table table
-
-
Method Detail
-
forString
public static RestartDefaultType.Enum forString(String s)
Returns the enum value for a string, or null if none.
-
forInt
public static RestartDefaultType.Enum forInt(int i)
Returns the enum value corresponding to an int, or null if none.
-
-