Enum 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_EXTRACTION: Recognize text. - TABLE_EXTRACTION: Detect and extract data in tables. - KEY_VALUE_EXTRACTION: Extract form fields. - DOCUMENT_CLASSIFICATION: Identify the type of document. - DOCUMENT_ELEMENTS_EXTRACTION: Extract information from bar code

    • 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 name
        NullPointerException - if the argument is null