source: josm/trunk/src/org/openstreetmap/josm/data/imagery/types/WmsCacheType.java@ 4067

Last change on this file since 4067 was 4065, checked in by jttt, 13 years ago

Improved wms cache

  • files saved in original format (no need to recode to png)
  • possibility to tile with different pos/ppd that overlaps current tile
  • Property svn:mime-type set to text/plain
File size: 3.2 KB
Line 
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: 2011.01.09 at 07:33:18 PM CET
6//
7
8
9package org.openstreetmap.josm.data.imagery.types;
10
11import java.util.ArrayList;
12import java.util.List;
13import javax.xml.bind.annotation.XmlAccessType;
14import javax.xml.bind.annotation.XmlAccessorType;
15import javax.xml.bind.annotation.XmlAttribute;
16import javax.xml.bind.annotation.XmlRootElement;
17import javax.xml.bind.annotation.XmlType;
18
19
20/**
21 * <p>Java class for anonymous complex type.
22 *
23 * <p>The following schema fragment specifies the expected content contained within this class.
24 *
25 * <pre>
26 * &lt;complexType>
27 * &lt;complexContent>
28 * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
29 * &lt;sequence>
30 * &lt;element name="projection" type="{http://josm.openstreetmap.de/wms-cache}projection" maxOccurs="unbounded" minOccurs="0"/>
31 * &lt;/sequence>
32 * &lt;attribute name="tileSize" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
33 * &lt;attribute name="totalFileSize" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
34 * &lt;/restriction>
35 * &lt;/complexContent>
36 * &lt;/complexType>
37 * </pre>
38 *
39 *
40 */
41@XmlAccessorType(XmlAccessType.FIELD)
42@XmlType(name = "", propOrder = {
43 "projection"
44})
45@XmlRootElement(name = "wms-cache")
46public class WmsCacheType {
47
48 protected List<ProjectionType> projection;
49 @XmlAttribute(required = true)
50 protected int tileSize;
51 @XmlAttribute(required = true)
52 protected int totalFileSize;
53
54 /**
55 * Gets the value of the projection property.
56 *
57 * <p>
58 * This accessor method returns a reference to the live list,
59 * not a snapshot. Therefore any modification you make to the
60 * returned list will be present inside the JAXB object.
61 * This is why there is not a <CODE>set</CODE> method for the projection property.
62 *
63 * <p>
64 * For example, to add a new item, do as follows:
65 * <pre>
66 * getProjection().add(newItem);
67 * </pre>
68 *
69 *
70 * <p>
71 * Objects of the following type(s) are allowed in the list
72 * {@link ProjectionType }
73 *
74 *
75 */
76 public List<ProjectionType> getProjection() {
77 if (projection == null) {
78 projection = new ArrayList<ProjectionType>();
79 }
80 return this.projection;
81 }
82
83 /**
84 * Gets the value of the tileSize property.
85 *
86 */
87 public int getTileSize() {
88 return tileSize;
89 }
90
91 /**
92 * Sets the value of the tileSize property.
93 *
94 */
95 public void setTileSize(int value) {
96 this.tileSize = value;
97 }
98
99 /**
100 * Gets the value of the totalFileSize property.
101 *
102 */
103 public int getTotalFileSize() {
104 return totalFileSize;
105 }
106
107 /**
108 * Sets the value of the totalFileSize property.
109 *
110 */
111 public void setTotalFileSize(int value) {
112 this.totalFileSize = value;
113 }
114
115}
Note: See TracBrowser for help on using the repository browser.