| 7487 |
kshitij.so |
1 |
//
|
|
|
2 |
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
|
|
|
3 |
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
|
|
4 |
// Any modifications to this file will be lost upon recompilation of the source schema.
|
|
|
5 |
// Generated on: 2013.03.04 at 03:57:00 PM IST
|
|
|
6 |
//
|
|
|
7 |
|
|
|
8 |
|
|
|
9 |
package in.shop2020.feeds.products;
|
|
|
10 |
|
|
|
11 |
import javax.xml.bind.annotation.XmlEnum;
|
|
|
12 |
import javax.xml.bind.annotation.XmlEnumValue;
|
|
|
13 |
import javax.xml.bind.annotation.XmlType;
|
|
|
14 |
|
|
|
15 |
|
|
|
16 |
/**
|
|
|
17 |
* <p>Java class for ResolutionUnitOfMeasure.
|
|
|
18 |
*
|
|
|
19 |
* <p>The following schema fragment specifies the expected content contained within this class.
|
|
|
20 |
* <p>
|
|
|
21 |
* <pre>
|
|
|
22 |
* <simpleType name="ResolutionUnitOfMeasure">
|
|
|
23 |
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
|
|
|
24 |
* <enumeration value="megapixels"/>
|
|
|
25 |
* <enumeration value="pixels"/>
|
|
|
26 |
* <enumeration value="lines_per_inch"/>
|
|
|
27 |
* </restriction>
|
|
|
28 |
* </simpleType>
|
|
|
29 |
* </pre>
|
|
|
30 |
*
|
|
|
31 |
*/
|
|
|
32 |
@XmlType(name = "ResolutionUnitOfMeasure")
|
|
|
33 |
@XmlEnum
|
|
|
34 |
public enum ResolutionUnitOfMeasure {
|
|
|
35 |
|
|
|
36 |
@XmlEnumValue("megapixels")
|
|
|
37 |
MEGAPIXELS("megapixels"),
|
|
|
38 |
@XmlEnumValue("pixels")
|
|
|
39 |
PIXELS("pixels"),
|
|
|
40 |
@XmlEnumValue("lines_per_inch")
|
|
|
41 |
LINES_PER_INCH("lines_per_inch");
|
|
|
42 |
private final String value;
|
|
|
43 |
|
|
|
44 |
ResolutionUnitOfMeasure(String v) {
|
|
|
45 |
value = v;
|
|
|
46 |
}
|
|
|
47 |
|
|
|
48 |
public String value() {
|
|
|
49 |
return value;
|
|
|
50 |
}
|
|
|
51 |
|
|
|
52 |
public static ResolutionUnitOfMeasure fromValue(String v) {
|
|
|
53 |
for (ResolutionUnitOfMeasure c: ResolutionUnitOfMeasure.values()) {
|
|
|
54 |
if (c.value.equals(v)) {
|
|
|
55 |
return c;
|
|
|
56 |
}
|
|
|
57 |
}
|
|
|
58 |
throw new IllegalArgumentException(v);
|
|
|
59 |
}
|
|
|
60 |
|
|
|
61 |
}
|