public static enum BodyOptions.MIMESupport extends java.lang.Enum<BodyOptions.MIMESupport>
Modifier and Type | Method and Description |
---|---|
static BodyOptions.MIMESupport |
fromXml(java.lang.String txt) |
java.lang.String |
toString() |
static BodyOptions.MIMESupport |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BodyOptions.MIMESupport[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
java.lang.String |
xmlValue() |
public static final BodyOptions.MIMESupport Never
public static final BodyOptions.MIMESupport SMimeOnly
public static final BodyOptions.MIMESupport Always
public static BodyOptions.MIMESupport[] values()
for (BodyOptions.MIMESupport c : BodyOptions.MIMESupport.values()) System.out.println(c);
public static BodyOptions.MIMESupport valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static BodyOptions.MIMESupport fromXml(java.lang.String txt)
public java.lang.String xmlValue()
public java.lang.String toString()
toString
in class java.lang.Enum<BodyOptions.MIMESupport>
Copyright © 2021. All Rights Reserved.