Package com.oracle.bmc.aivision.model
Enum DocumentFeature.FeatureType
- java.lang.Object
-
- java.lang.Enum<DocumentFeature.FeatureType>
-
- com.oracle.bmc.aivision.model.DocumentFeature.FeatureType
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<DocumentFeature.FeatureType>
- Enclosing class:
- DocumentFeature
public static enum DocumentFeature.FeatureType extends Enum<DocumentFeature.FeatureType> implements BmcEnum
The type of document analysis requested.The allowed values are: - LANGUAGE_CLASSIFICATION: Detect the language. - TEXT_DETECTION: Recognize text. - TABLE_DETECTION: Detect and extract data in tables. - KEY_VALUE_DETECTION: Extract form fields. - DOCUMENT_CLASSIFICATION: Identify the type of document.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DocumentClassification
KeyValueDetection
LanguageClassification
TableDetection
TextDetection
UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by this version of the SDK.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DocumentFeature.FeatureType
create(String key)
String
getValue()
static DocumentFeature.FeatureType
valueOf(String name)
Returns the enum constant of this type with the specified name.static DocumentFeature.FeatureType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LanguageClassification
public static final DocumentFeature.FeatureType LanguageClassification
-
TextDetection
public static final DocumentFeature.FeatureType TextDetection
-
TableDetection
public static final DocumentFeature.FeatureType TableDetection
-
KeyValueDetection
public static final DocumentFeature.FeatureType KeyValueDetection
-
DocumentClassification
public static final DocumentFeature.FeatureType DocumentClassification
-
UnknownEnumValue
public static final DocumentFeature.FeatureType UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by this version of the SDK.
-
-
Method Detail
-
values
public static DocumentFeature.FeatureType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DocumentFeature.FeatureType c : DocumentFeature.FeatureType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DocumentFeature.FeatureType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
create
public static DocumentFeature.FeatureType create(String key)
-
-