public enum OcrModeType extends Enum<OcrModeType>
Java class for OcrModeType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="OcrModeType">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="pageSegments"/>
<enumeration value="column"/>
<enumeration value="unfiltered"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
COLUMN |
PAGE_SEGMENTS |
UNFILTERED |
| Modifier and Type | Method and Description |
|---|---|
static OcrModeType |
fromValue(String v) |
String |
value() |
static OcrModeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OcrModeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OcrModeType PAGE_SEGMENTS
public static final OcrModeType COLUMN
public static final OcrModeType UNFILTERED
public static OcrModeType[] values()
for (OcrModeType c : OcrModeType.values()) System.out.println(c);
public static OcrModeType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String value()
public static OcrModeType fromValue(String v)
Copyright © 2017–2022 SoftVision Development GmbH, Fulda, Germany. All rights reserved.