DefaultPrefixContract.java
1.92 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/*
* Decompiled with CFR 0_118.
*/
package com.adobe.xmp.core.namespace;
import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
/*
* This class specifies class file version 49.0 but uses Java 6 signatures. Assumed Java 6.
*/
public class DefaultPrefixContract
extends HashMap<String, String> {
private static final long serialVersionUID = 9169953737065019512L;
private static HashMap<String, String> instance;
private DefaultPrefixContract() {
}
public static Map<String, String> getInstance() {
if (instance == null) {
DefaultPrefixContract.initialize();
}
return Collections.unmodifiableMap(instance);
}
private static void initialize() {
instance = new HashMap();
instance.put("xml", "http://www.w3.org/XML/1998/namespace");
instance.put("rdf", "http://www.w3.org/1999/02/22-rdf-syntax-ns#");
instance.put("pdf", "http://ns.adobe.com/pdf/1.3/");
instance.put("crs", "http://ns.adobe.com/camera-rawsettings/1.0/");
instance.put("dc", "http://purl.org/dc/elements/1.1/");
instance.put("aux", "http://ns.adobe.com/exif/1.0/aux/");
instance.put("exif", "http://ns.adobe.com/exif/1.0/");
instance.put("tiff", "http://ns.adobe.com/tiff/1.0/");
instance.put("photoshop", "http://ns.adobe.com/photoshop/1.0/");
instance.put("xmp", "http://ns.adobe.com/xap/1.0/");
instance.put("xmpBJ", "http://ns.adobe.com/xap/1.0/bj/");
instance.put("xmpDM", "http://ns.adobe.com/xmp/1.0/DynamicMedia/");
instance.put("xmpMM", "http://ns.adobe.com/xap/1.0/mm/");
instance.put("xmpTPg", "http://ns.adobe.com/xap/1.0/t/pg/");
instance.put("xmpRights", "http://ns.adobe.com/xap/1.0/rights/");
instance.put("stRef", "http://ns.adobe.com/xap/1.0/sType/ResourceRef#");
instance.put("stEvt", "http://ns.adobe.com/xap/1.0/sType/ResourceEvent#");
}
}