GLS ShipIT 3.5.15 GLS ShipIT - SOAP services

glsgroup/fpcs/datatypes/soap/v1/shipmentprocessing/LabelFormat.java
Go to the documentation of this file.
1
2 package eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing;
3
4 import javax.xml.bind.annotation.XmlEnum;
5 import javax.xml.bind.annotation.XmlEnumValue;
6 import javax.xml.bind.annotation.XmlType;
7
8
27 @XmlType(name = "LabelFormat")
28 @XmlEnum
29 public enum LabelFormat {
30
31 PDF("PDF"),
32 @XmlEnumValue("Zebra")
33 ZEBRA("Zebra"),
34 @XmlEnumValue("Intermec")
35 INTERMEC("Intermec"),
36 @XmlEnumValue("Datamax")
37 DATAMAX("Datamax"),
38 @XmlEnumValue("Toshiba")
39 TOSHIBA("Toshiba"),
40 PNG("PNG");
41 private final String value;
42
43 LabelFormat(String v) {
44 value = v;
45 }
46
47 public String value() {
48 return value;
49 }
50
51 public static LabelFormat fromValue(String v) {
52 for (LabelFormat c: LabelFormat.values()) {
53 if (c.value.equals(v)) {
54 return c;
55 }
56 }
57 throw new IllegalArgumentException(v);
58 }
59
60 }
eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing.LabelFormat.fromValue
static LabelFormat fromValue(String v)
Definition: glsgroup/fpcs/datatypes/soap/v1/shipmentprocessing/LabelFormat.java:51
eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing.LabelFormat.value
String value()
Definition: glsgroup/fpcs/datatypes/soap/v1/shipmentprocessing/LabelFormat.java:47
eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing.LabelFormat.PDF
PDF
Definition: glsgroup/fpcs/datatypes/soap/v1/shipmentprocessing/LabelFormat.java:31
eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing.LabelFormat
Definition: glsgroup/fpcs/datatypes/soap/v1/shipmentprocessing/LabelFormat.java:29