Package no.kith.xmlstds
Class ENCAttribute.ENC.Enum
java.lang.Object
org.apache.xmlbeans.StringEnumAbstractBase
no.kith.xmlstds.ENCAttribute.ENC.Enum
- All Implemented Interfaces:
Serializable
- Enclosing interface:
- ENCAttribute.ENC
public static final class ENCAttribute.ENC.Enum
extends org.apache.xmlbeans.StringEnumAbstractBase
Enumeration value class for no.kith.xmlstds.ENCAttribute$ENC.
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_B_64 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.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.xmlbeans.StringEnumAbstractBase
org.apache.xmlbeans.StringEnumAbstractBase.Table -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.apache.xmlbeans.StringEnumAbstractBase.Table -
Method Summary
Modifier and TypeMethodDescriptionstatic ENCAttribute.ENC.EnumforInt(int i) Returns the enum value corresponding to an int, or null if none.static ENCAttribute.ENC.EnumReturns the enum value for a string, or null if none.Methods inherited from class org.apache.xmlbeans.StringEnumAbstractBase
hashCode, intValue, toString
-
Field Details
-
table
public static final org.apache.xmlbeans.StringEnumAbstractBase.Table table
-
-
Method Details
-
forString
Returns the enum value for a string, or null if none. -
forInt
Returns the enum value corresponding to an int, or null if none.
-