File: wms-cache.xsd

package info (click to toggle)
josm 0.0.svn7643%2Bdfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 67,480 kB
  • ctags: 25,960
  • sloc: java: 177,482; xml: 8,896; perl: 1,570; sh: 102; makefile: 81
file content (55 lines) | stat: -rw-r--r-- 1,968 bytes parent folder | download
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
50
51
52
53
54
55
<?xml version="1.0" encoding="UTF-8"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://josm.openstreetmap.de/wms-cache-1.0"
	xmlns:tns="http://josm.openstreetmap.de/wms-cache-1.0" xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://java.sun.com/xml/ns/jaxb http://java.sun.com/xml/ns/jaxb/bindingschema_2_0.xsd"
	elementFormDefault="qualified" jaxb:version="2.0">
	
	<annotation>
		<appinfo>
			<jaxb:schemaBindings>
				<jaxb:package name="org.openstreetmap.josm.data.imagery.types">
				</jaxb:package>
				<jaxb:nameXmlTransform>
					<jaxb:typeName suffix="Type" />
					<jaxb:elementName suffix="Type" />
				</jaxb:nameXmlTransform>
			</jaxb:schemaBindings>
			<jaxb:globalBindings>
				<jaxb:javaType name="java.util.Calendar" xmlType="date"
					parseMethod="javax.xml.bind.DatatypeConverter.parseDate"
					printMethod="org.openstreetmap.josm.data.imagery.WmsCache.printDate" />
			</jaxb:globalBindings>
		</appinfo>
	</annotation>

	<element name="wms-cache">
		<complexType>
			<sequence>
				<element name="projection" type="tns:projection" minOccurs="0"
					maxOccurs="unbounded" />
			</sequence>
			<attribute name="tileSize" type="int" use="required" />
			<attribute name="totalFileSize" type="int" use="required"/>
		</complexType>
	</element>
	
	<complexType name="projection">
		<sequence>
			<element name="entry" type="tns:entry" minOccurs="0" maxOccurs="unbounded"/>
		</sequence>
		<attribute name="name" type="string"/>
		<attribute name="cache-directory" type="string"/>
	</complexType>

	<complexType name="entry">
		<sequence>
			<element name="pixelPerDegree" type="double" />
			<element name="east" type="double" />
			<element name="north" type="double" />
			<element name="lastUsed" type="date" />
			<element name="lastModified" type="date" />
			<element name="filename" type="string" />
		</sequence>
	</complexType>
</schema>