Package net.webpdf.wsclient.openapi
Enum OperationDetectBarcode.OutputFormatEnum
- java.lang.Object
-
- java.lang.Enum<OperationDetectBarcode.OutputFormatEnum>
-
- net.webpdf.wsclient.openapi.OperationDetectBarcode.OutputFormatEnum
-
- All Implemented Interfaces:
Serializable,Comparable<OperationDetectBarcode.OutputFormatEnum>
- Enclosing class:
- OperationDetectBarcode
public static enum OperationDetectBarcode.OutputFormatEnum extends Enum<OperationDetectBarcode.OutputFormatEnum>
Used to select the format in which the recognition results should be returned. * json = JSON * xml = XML
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OperationDetectBarcode.OutputFormatEnumfromValue(String value)StringgetValue()StringtoString()static OperationDetectBarcode.OutputFormatEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static OperationDetectBarcode.OutputFormatEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
XML
public static final OperationDetectBarcode.OutputFormatEnum XML
-
JSON
public static final OperationDetectBarcode.OutputFormatEnum JSON
-
-
Method Detail
-
values
public static OperationDetectBarcode.OutputFormatEnum[] 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 (OperationDetectBarcode.OutputFormatEnum c : OperationDetectBarcode.OutputFormatEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OperationDetectBarcode.OutputFormatEnum 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
-
getValue
public String getValue()
-
toString
public String toString()
- Overrides:
toStringin classEnum<OperationDetectBarcode.OutputFormatEnum>
-
fromValue
public static OperationDetectBarcode.OutputFormatEnum fromValue(String value)
-
-