public enum AIContentType extends java.lang.Enum<AIContentType> implements ValueEnum
| Enum Constant and Description |
|---|
ARRAY Array of JSON-encodable objects. |
JPEGIMAGE JPEG image. |
NUMBER A number. |
OBJECT JSON-encodable object. |
PNGIMAGE PNG image. |
TEXT Text content. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String | getValue() |
static AIContentType | valueOf(java.lang.String name) Returns the enum constant of this type with the specified name. |
static AIContentType[] | values() Returns an array containing the constants of this enum type, in the order they are declared. |
public static final AIContentType TEXT
If this enumerated value is used in a Component XML file or server-side DataSource descriptor (.ds.xml file), use the value "text".
public static final AIContentType JPEGIMAGE
If this enumerated value is used in a Component XML file or server-side DataSource descriptor (.ds.xml file), use the value "jpegImage".
public static final AIContentType PNGIMAGE
If this enumerated value is used in a Component XML file or server-side DataSource descriptor (.ds.xml file), use the value "pngImage".
public static final AIContentType NUMBER
If this enumerated value is used in a Component XML file or server-side DataSource descriptor (.ds.xml file), use the value "number".
public static final AIContentType OBJECT
If this enumerated value is used in a Component XML file or server-side DataSource descriptor (.ds.xml file), use the value "object".
public static final AIContentType ARRAY
If this enumerated value is used in a Component XML file or server-side DataSource descriptor (.ds.xml file), use the value "array".
public static AIContentType[] values()
for (AIContentType c : AIContentType.values()) System.out.println(c);
public static AIContentType 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 null