Package net.webpdf.wsclient.openapi
Enum OperationExtractionWords.FileFormatEnum
- java.lang.Object
-
- java.lang.Enum<OperationExtractionWords.FileFormatEnum>
-
- net.webpdf.wsclient.openapi.OperationExtractionWords.FileFormatEnum
-
- All Implemented Interfaces:
Serializable,Comparable<OperationExtractionWords.FileFormatEnum>
- Enclosing class:
- OperationExtractionWords
public static enum OperationExtractionWords.FileFormatEnum extends Enum<OperationExtractionWords.FileFormatEnum>
Used to define the output format for the PDF document text contents being extracted. * text = Text document * xml = XML document * json = JSON data structure
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OperationExtractionWords.FileFormatEnumfromValue(String value)StringgetValue()StringtoString()static OperationExtractionWords.FileFormatEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static OperationExtractionWords.FileFormatEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TEXT
public static final OperationExtractionWords.FileFormatEnum TEXT
-
XML
public static final OperationExtractionWords.FileFormatEnum XML
-
JSON
public static final OperationExtractionWords.FileFormatEnum JSON
-
ZIP
public static final OperationExtractionWords.FileFormatEnum ZIP
-
-
Method Detail
-
values
public static OperationExtractionWords.FileFormatEnum[] 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 (OperationExtractionWords.FileFormatEnum c : OperationExtractionWords.FileFormatEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OperationExtractionWords.FileFormatEnum 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<OperationExtractionWords.FileFormatEnum>
-
fromValue
public static OperationExtractionWords.FileFormatEnum fromValue(String value)
-
-