Package net.webpdf.wsclient.openapi
Enum Webservice
- java.lang.Object
-
- java.lang.Enum<Webservice>
-
- net.webpdf.wsclient.openapi.Webservice
-
- All Implemented Interfaces:
Serializable,Comparable<Webservice>
public enum Webservice extends Enum<Webservice>
Defines the available web services
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WebservicefromValue(String value)StringgetValue()StringtoString()StringtoUrlQueryString(String prefix)Convert the instance into URL query string.static WebservicevalueOf(String name)Returns the enum constant of this type with the specified name.static Webservice[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SIGNATURE
public static final Webservice SIGNATURE
-
PDFA
public static final Webservice PDFA
-
TOOLBOX
public static final Webservice TOOLBOX
-
CONVERTER
public static final Webservice CONVERTER
-
URLCONVERTER
public static final Webservice URLCONVERTER
-
OCR
public static final Webservice OCR
-
BARCODE
public static final Webservice BARCODE
-
-
Method Detail
-
values
public static Webservice[] 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 (Webservice c : Webservice.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Webservice 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<Webservice>
-
fromValue
public static Webservice fromValue(String value)
-
-