aboutsummaryrefslogtreecommitdiff
path: root/id/server/stork2-commons/src/main/java/eu/stork/peps/complex/attributes/crue/academic/xsd/language/diplomasupplement/MimeType.java
diff options
context:
space:
mode:
Diffstat (limited to 'id/server/stork2-commons/src/main/java/eu/stork/peps/complex/attributes/crue/academic/xsd/language/diplomasupplement/MimeType.java')
-rw-r--r--id/server/stork2-commons/src/main/java/eu/stork/peps/complex/attributes/crue/academic/xsd/language/diplomasupplement/MimeType.java142
1 files changed, 71 insertions, 71 deletions
diff --git a/id/server/stork2-commons/src/main/java/eu/stork/peps/complex/attributes/crue/academic/xsd/language/diplomasupplement/MimeType.java b/id/server/stork2-commons/src/main/java/eu/stork/peps/complex/attributes/crue/academic/xsd/language/diplomasupplement/MimeType.java
index a83d3bf21..c4e131862 100644
--- a/id/server/stork2-commons/src/main/java/eu/stork/peps/complex/attributes/crue/academic/xsd/language/diplomasupplement/MimeType.java
+++ b/id/server/stork2-commons/src/main/java/eu/stork/peps/complex/attributes/crue/academic/xsd/language/diplomasupplement/MimeType.java
@@ -5,19 +5,20 @@
// Generated on: 2014.04.12 at 12:22:50 PM GMT
//
-
package eu.stork.peps.complex.attributes.crue.academic.xsd.language.diplomasupplement;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
-
/**
- * <p>Java class for MimeType.
+ * <p>
+ * Java class for MimeType.
*
- * <p>The following schema fragment specifies the expected content contained within this class.
* <p>
+ * The following schema fragment specifies the expected content contained within this class.
+ * <p>
+ *
* <pre>
* &lt;simpleType name="MimeType">
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
@@ -37,72 +38,71 @@ import javax.xml.bind.annotation.XmlType;
@XmlEnum
public enum MimeType {
-
- /**
- * GIF image
- *
- */
- @XmlEnumValue("image/gif")
- IMAGE_GIF("image/gif"),
-
- /**
- * JPEG JFIF image
- *
- */
- @XmlEnumValue("image/jpeg")
- IMAGE_JPEG("image/jpeg"),
-
- /**
- * JPEG JFIF image
- *
- */
- @XmlEnumValue("image/pjpeg")
- IMAGE_PJPEG("image/pjpeg"),
-
- /**
- * Portable Network Graphics
- *
- */
- @XmlEnumValue("image/png")
- IMAGE_PNG("image/png"),
-
- /**
- * Tag Image File Format
- *
- */
- @XmlEnumValue("image/tiff")
- IMAGE_TIFF("image/tiff"),
-
- /**
- * HTML
- *
- */
- @XmlEnumValue("text/html")
- TEXT_HTML("text/html"),
-
- /**
- * Portable Document Format
- *
- */
- @XmlEnumValue("application/pdf")
- APPLICATION_PDF("application/pdf");
- private final String value;
-
- MimeType(String v) {
- value = v;
- }
-
- public String value() {
- return value;
- }
-
- public static MimeType fromValue(String v) {
- for (MimeType c: MimeType.values()) {
- if (c.value.equals(v)) {
- return c;
- }
- }
- throw new IllegalArgumentException(v);
- }
+ /**
+ * GIF image
+ *
+ */
+ @XmlEnumValue("image/gif")
+ IMAGE_GIF("image/gif"),
+
+ /**
+ * JPEG JFIF image
+ *
+ */
+ @XmlEnumValue("image/jpeg")
+ IMAGE_JPEG("image/jpeg"),
+
+ /**
+ * JPEG JFIF image
+ *
+ */
+ @XmlEnumValue("image/pjpeg")
+ IMAGE_PJPEG("image/pjpeg"),
+
+ /**
+ * Portable Network Graphics
+ *
+ */
+ @XmlEnumValue("image/png")
+ IMAGE_PNG("image/png"),
+
+ /**
+ * Tag Image File Format
+ *
+ */
+ @XmlEnumValue("image/tiff")
+ IMAGE_TIFF("image/tiff"),
+
+ /**
+ * HTML
+ *
+ */
+ @XmlEnumValue("text/html")
+ TEXT_HTML("text/html"),
+
+ /**
+ * Portable Document Format
+ *
+ */
+ @XmlEnumValue("application/pdf")
+ APPLICATION_PDF("application/pdf");
+ private final String value;
+
+ MimeType(String v) {
+ value = v;
+ }
+
+ public String value() {
+ return value;
+ }
+
+ public static MimeType fromValue(String v) {
+ for (MimeType c : MimeType.values()) {
+ if (c.value.equals(v)) {
+ return c;
+ }
+ }
+ throw new IllegalArgumentException(v);
+ }
}