Class STRubyAlign.Enum
- java.lang.Object
-
- org.apache.xmlbeans.StringEnumAbstractBase
-
- org.openxmlformats.schemas.wordprocessingml.x2006.main.STRubyAlign.Enum
-
- All Implemented Interfaces:
Serializable
- Enclosing interface:
- STRubyAlign
public static final class STRubyAlign.Enum extends StringEnumAbstractBase
Enumeration value class for org.openxmlformats.schemas.wordprocessingml.x2006.main.STRubyAlign. 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_CENTER 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
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.xmlbeans.StringEnumAbstractBase
StringEnumAbstractBase.Table
-
-
Field Summary
Fields Modifier and Type Field Description static StringEnumAbstractBase.Table
table
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static STRubyAlign.Enum
forInt(int i)
Returns the enum value corresponding to an int, or null if none.static STRubyAlign.Enum
forString(String s)
Returns the enum value for a string, or null if none.-
Methods inherited from class org.apache.xmlbeans.StringEnumAbstractBase
hashCode, intValue, toString
-
-
-
-
Field Detail
-
table
public static final StringEnumAbstractBase.Table table
-
-
Method Detail
-
forString
public static STRubyAlign.Enum forString(String s)
Returns the enum value for a string, or null if none.
-
forInt
public static STRubyAlign.Enum forInt(int i)
Returns the enum value corresponding to an int, or null if none.
-
-