Package net.webpdf.wsclient.webservice
Enum WebServiceType
- java.lang.Object
-
- java.lang.Enum<WebServiceType>
-
- net.webpdf.wsclient.webservice.WebServiceType
-
- All Implemented Interfaces:
Serializable,Comparable<WebServiceType>
public enum WebServiceType extends Enum<WebServiceType>
Enumerates the availableWebServiceendpoints of the webPDF server, that are known to this version of the wsclient.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BARCODETheBarcodewebservice allows creating barcodes for and reading barcodes from documents.CONVERTERTheConverterwebservice provides the means to convert different file formats to PDF.OCRTheOCRwebservice allows to recognize text and add a text layer to documents.PDFAThePdfawebservice provides the means to convert a PDF document to PDF/A.SIGNATURETheSignaturewebservice allows adding digital signatures to documents.TOOLBOXTheToolboxwebservice provides the means to manipulate and analyze documents.URLCONVERTERTheURLConverterwebservice allows converting a URL resource to PDF.
-
Field Summary
Fields Modifier and Type Field Description static @NotNull StringID_PLACEHOLDER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull StringgetRestEndpoint()Returns the endpoint of theWebServiceProtocol.RESTwebservice.@NotNull Class<? extends RestWebService<?,?,?>>getRestWsClass()Returns the class, that represents theWebServiceProtocol.RESTwebservice.@NotNull StringgetSoapEndpoint()Returns the endpoint of theWebServiceProtocol.SOAPwebservice.@NotNull StringgetSoapLocalPart()Returns the local part of theWebServiceProtocol.SOAPwebservice.@NotNull StringgetSoapLocalPartPort()Returns the port of theWebServiceProtocol.SOAPwebservice.@NotNull StringgetSoapNamespaceURI()Returns the namespace URI of theWebServiceProtocol.SOAPwebservice.@NotNull Class<?>getSoapWsClass()Returns the class, that represents theWebServiceProtocol.SOAPwebservice.static WebServiceTypevalueOf(String name)Returns the enum constant of this type with the specified name.static WebServiceType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CONVERTER
public static final WebServiceType CONVERTER
TheConverterwebservice provides the means to convert different file formats to PDF.
-
TOOLBOX
public static final WebServiceType TOOLBOX
TheToolboxwebservice provides the means to manipulate and analyze documents.
-
PDFA
public static final WebServiceType PDFA
ThePdfawebservice provides the means to convert a PDF document to PDF/A.
-
OCR
public static final WebServiceType OCR
TheOCRwebservice allows to recognize text and add a text layer to documents.
-
SIGNATURE
public static final WebServiceType SIGNATURE
TheSignaturewebservice allows adding digital signatures to documents.
-
URLCONVERTER
public static final WebServiceType URLCONVERTER
TheURLConverterwebservice allows converting a URL resource to PDF.
-
BARCODE
public static final WebServiceType BARCODE
TheBarcodewebservice allows creating barcodes for and reading barcodes from documents.
-
-
Field Detail
-
ID_PLACEHOLDER
@NotNull public static final @NotNull String ID_PLACEHOLDER
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static WebServiceType[] 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 (WebServiceType c : WebServiceType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WebServiceType 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
-
getSoapNamespaceURI
@NotNull public @NotNull String getSoapNamespaceURI()
Returns the namespace URI of theWebServiceProtocol.SOAPwebservice.- Returns:
- the namespace URI of the
WebServiceProtocol.SOAPwebservice.
-
getSoapLocalPart
@NotNull public @NotNull String getSoapLocalPart()
Returns the local part of theWebServiceProtocol.SOAPwebservice.- Returns:
- the local part of the
WebServiceProtocol.SOAPwebservice.
-
getSoapEndpoint
@NotNull public @NotNull String getSoapEndpoint()
Returns the endpoint of theWebServiceProtocol.SOAPwebservice.- Returns:
- the endpoint of the
WebServiceProtocol.SOAPwebservice.
-
getSoapWsClass
@NotNull public @NotNull Class<?> getSoapWsClass()
Returns the class, that represents theWebServiceProtocol.SOAPwebservice.- Returns:
- the class, that represents the
WebServiceProtocol.SOAPwebservice.
-
getSoapLocalPartPort
@NotNull public @NotNull String getSoapLocalPartPort()
Returns the port of theWebServiceProtocol.SOAPwebservice.- Returns:
- the port of the
WebServiceProtocol.SOAPwebservice.
-
getRestWsClass
@NotNull public @NotNull Class<? extends RestWebService<?,?,?>> getRestWsClass()
Returns the class, that represents theWebServiceProtocol.RESTwebservice.- Returns:
- the class, that represents the
WebServiceProtocol.RESTwebservice.
-
getRestEndpoint
@NotNull public @NotNull String getRestEndpoint()
Returns the endpoint of theWebServiceProtocol.RESTwebservice.- Returns:
- the endpoint of the
WebServiceProtocol.RESTwebservice.
-
-