Class STRelFromH.Enum

  • All Implemented Interfaces:
    Enclosing interface:

    public static final class STRelFromH.Enum
    extends StringEnumAbstractBase
    Enumeration value class for org.openxmlformats.schemas.drawingml.x2006.wordprocessingDrawing.STRelFromH. 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_MARGIN
     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
    • Method Detail

      • forString

        public static STRelFromH.Enum forString​(java.lang.String s)
        Returns the enum value for a string, or null if none.
      • forInt

        public static STRelFromH.Enum forInt​(int i)
        Returns the enum value corresponding to an int, or null if none.