GLS ShipIT 4.0.f7 GLS ShipIT - SOAP services

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