1
2
3
4
5
6
7
8
9
10
11 package org.astrogrid.registry.common;
12
13 import java.util.HashMap;
14 import java.util.Map;
15
16 /*** static class that provides maps of all namespace - schema locations in this project.
17 * useful to pass to schema-validation methods in {@link org.astrogrid.test.AstrogridAssert}
18 * @author Noel Winstanley nw@jb.man.ac.uk 01-Sep-2004
19 *@ see org.astrogrid.test.AstrogridAssert
20 */
21 public class RegistrySchemaMap {
22
23 /*** Construct a new SchemaMap
24 *
25 */
26 private RegistrySchemaMap() {
27 }
28
29 public static final Map ALL;
30
31 static {
32
33 ALL = new HashMap();
34 ALL.put("http://www.astrogrid.org/schema/CommonExecutionArchitectureBase/v1", RegistrySchemaMap.class.getResource("/schema/cea/AGApplicationBase.xsd"));
35 ALL.put("http://www.astrogrid.org/schema/AGParameterDefinition/v1",RegistrySchemaMap.class.getResource("/schema/cea/AGParameterDefinition.xsd"));
36 ALL.put("http://www.astrogrid.org/schema/CEATypes/v1",RegistrySchemaMap.class.getResource("/schema/cea/CEATypes.xsd"));
37
38
39
40 ALL.put("http://www.ivoa.net/xml/CEAService/v0.1",RegistrySchemaMap.class.getResource("/schema/cea/VOCEA-v0.1.xsd"));
41 ALL.put("http://www.ivoa.net/xml/CEAService/v0.2",RegistrySchemaMap.class.getResource("/schema/cea/VOCEA-v0.2.xsd"));
42
43
44 ALL.put("http://ivoa.org/Accuracy",RegistrySchemaMap.class.getResource("/schema/adql/Accuracy.xsd"));
45 ALL.put("http://ivoa.org/CoordinateSystems",RegistrySchemaMap.class.getResource("/schema/adql/CoordinateSystems.xsd"));
46 ALL.put("http://ivoa.org/Mappings",RegistrySchemaMap.class.getResource("/schema/adql/Mappings.xsd"));
47 ALL.put("http://ivoa.org/Quantity",RegistrySchemaMap.class.getResource("/schema/adql/Quantity.xsd"));
48
49 ALL.put("urn:nvo-coords",RegistrySchemaMap.class.getResource("/schema/adql/coords.xsd"));
50 ALL.put("urn:nvo-region",RegistrySchemaMap.class.getResource("/schema/adql/region.xsd"));
51 ALL.put("urn:nvo-stc",RegistrySchemaMap.class.getResource("/schema/adql/stc.xsd"));
52 ALL.put("http://adql.ivoa.net/v0.73",RegistrySchemaMap.class.getResource("/schema/adql/ADQL-0.7.3.xsd"));
53 ALL.put("http://www.ivoa.net/xml/ADQL/v0.7.4",RegistrySchemaMap.class.getResource("/schema/adql/ADQL-0.7.4.xsd"));
54
55 ALL.put("http://www.ivoa.net/xml/RegistryInterface/v0.1",RegistrySchemaMap.class.getResource("/schema/registry/RegistryInterface-v0.1.xsd"));
56 ALL.put("http://www.ivoa.net/xml/ConeSearch/v0.2",RegistrySchemaMap.class.getResource("/schema/registry/ConeSearch-v0.2.xsd"));
57 ALL.put("http://www.ivoa.net/xml/ConeSearch/v0.3",RegistrySchemaMap.class.getResource("/schema/registry/ConeSearch-v0.3.xsd"));
58 ALL.put("http://www.ivoa.net/xml/SIA/v0.6",RegistrySchemaMap.class.getResource("/schema/registry/SIA-v0.6.xsd"));
59 ALL.put("http://www.ivoa.net/xml/SIA/v0.7",RegistrySchemaMap.class.getResource("/schema/registry/SIA-v0.7.xsd"));
60 ALL.put("http://www.ivoa.net/xml/VOCommunity/v0.2",RegistrySchemaMap.class.getResource("/schema/registry/VOCommunity-v0.2.xsd"));
61 ALL.put("http://www.ivoa.net/xml/VODataService/v0.4",RegistrySchemaMap.class.getResource("/schema/registry/VODataService-v0.4.xsd"));
62 ALL.put("http://www.ivoa.net/xml/VODataService/v0.5",RegistrySchemaMap.class.getResource("/schema/registry/VODataService-v0.5.xsd"));
63
64 ALL.put("http://www.ivoa.net/xml/VORegistry/v0.2",RegistrySchemaMap.class.getResource("/schema/registry/VORegistry-v0.2.xsd"));
65 ALL.put("http://www.ivoa.net/xml/VORegistry/v0.3",RegistrySchemaMap.class.getResource("/schema/registry/VORegistry-v0.3.xsd"));
66
67 ALL.put("http://www.ivoa.net/xml/VOResource/v0.9",RegistrySchemaMap.class.getResource("/schema/registry/VOResource-v0.9.xsd"));
68 ALL.put("http://www.ivoa.net/xml/VOResource/v0.10",RegistrySchemaMap.class.getResource("/schema/registry/VOResource-v0.10.xsd"));
69
70
71 ALL.put("http://www.ivoa.net/xml/VOTable/v1.0",RegistrySchemaMap.class.getResource("/schema/registry/VOTable.xsd"));
72 ALL.put("http://www.astrogrid.org/xml/AstrogridDataService/v0.1",RegistrySchemaMap.class.getResource("/schema/registry/AstrogridDataService-0.1.xsd"));
73 ALL.put("http://www.astrogrid.org/xml/AstrogridDataService/v0.2",RegistrySchemaMap.class.getResource("/schema/registry/AstrogridDataService-0.2.xsd"));
74
75 ALL.put("http://www.ivoa.net/xml/OpenSkyNode/v0.1",RegistrySchemaMap.class.getResource("/schema/registry/OpenSkyNode-v0.1.xsd"));
76
77
78 }
79
80
81 }
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107