Changeset 6069 in josm for trunk/src/org/openstreetmap/josm/data/imagery
- Timestamp:
- 2013-07-17T00:01:07+02:00 (11 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/data/imagery
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/imagery/ImageryInfo.java
r5617 r6069 48 48 return urlString; 49 49 } 50 50 51 51 public static ImageryType fromUrlString(String s) { 52 52 for (ImageryType type : ImageryType.values()) { -
trunk/src/org/openstreetmap/josm/data/imagery/Shape.java
r5381 r6069 21 21 22 22 private List<Coordinate> coords = new ArrayList<Coordinate>(); 23 23 24 24 public Shape(String asString, String separator) throws IllegalArgumentException { 25 25 CheckParameterUtil.ensureParameterNotNull(asString, "asString"); … … 49 49 return coords; 50 50 } 51 51 52 52 public boolean contains(LatLon latlon) { 53 53 if (latlon == null) … … 65 65 66 66 double lat, lon; 67 67 68 68 try { 69 69 lat = Double.parseDouble(sLat); … … 81 81 throw new IllegalArgumentException(MessageFormat.format("Illegal double value ''{0}''", sLon)); 82 82 } 83 83 84 84 coords.add(new Coordinate(LatLon.roundToOsmPrecision(lat), LatLon.roundToOsmPrecision(lon))); 85 85 } -
trunk/src/org/openstreetmap/josm/data/imagery/types/EntryType.java
r5170 r6069 21 21 /** 22 22 * <p>Java class for entry complex type. 23 * 23 * 24 24 * <p>The following schema fragment specifies the expected content contained within this class. 25 * 25 * 26 26 * <pre> 27 27 * <complexType name="entry"> … … 40 40 * </complexType> 41 41 * </pre> 42 * 43 * 42 * 43 * 44 44 */ 45 45 @XmlAccessorType(XmlAccessType.FIELD) … … 70 70 /** 71 71 * Gets the value of the pixelPerDegree property. 72 * 72 * 73 73 */ 74 74 public double getPixelPerDegree() { … … 78 78 /** 79 79 * Sets the value of the pixelPerDegree property. 80 * 80 * 81 81 */ 82 82 public void setPixelPerDegree(double value) { … … 86 86 /** 87 87 * Gets the value of the east property. 88 * 88 * 89 89 */ 90 90 public double getEast() { … … 94 94 /** 95 95 * Sets the value of the east property. 96 * 96 * 97 97 */ 98 98 public void setEast(double value) { … … 102 102 /** 103 103 * Gets the value of the north property. 104 * 104 * 105 105 */ 106 106 public double getNorth() { … … 110 110 /** 111 111 * Sets the value of the north property. 112 * 112 * 113 113 */ 114 114 public void setNorth(double value) { … … 118 118 /** 119 119 * Gets the value of the lastUsed property. 120 * 120 * 121 121 * @return 122 122 * possible object is 123 123 * {@link String } 124 * 124 * 125 125 */ 126 126 public Calendar getLastUsed() { … … 130 130 /** 131 131 * Sets the value of the lastUsed property. 132 * 132 * 133 133 * @param value 134 134 * allowed object is 135 135 * {@link String } 136 * 136 * 137 137 */ 138 138 public void setLastUsed(Calendar value) { … … 142 142 /** 143 143 * Gets the value of the lastModified property. 144 * 144 * 145 145 * @return 146 146 * possible object is 147 147 * {@link String } 148 * 148 * 149 149 */ 150 150 public Calendar getLastModified() { … … 154 154 /** 155 155 * Sets the value of the lastModified property. 156 * 156 * 157 157 * @param value 158 158 * allowed object is 159 159 * {@link String } 160 * 160 * 161 161 */ 162 162 public void setLastModified(Calendar value) { … … 166 166 /** 167 167 * Gets the value of the filename property. 168 * 168 * 169 169 * @return 170 170 * possible object is 171 171 * {@link String } 172 * 172 * 173 173 */ 174 174 public String getFilename() { … … 178 178 /** 179 179 * Sets the value of the filename property. 180 * 180 * 181 181 * @param value 182 182 * allowed object is 183 183 * {@link String } 184 * 184 * 185 185 */ 186 186 public void setFilename(String value) { -
trunk/src/org/openstreetmap/josm/data/imagery/types/ObjectFactory.java
r5170 r6069 1 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 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 6 // 7 7 … … 13 13 14 14 /** 15 * This object contains factory methods for each 16 * Java content interface and Java element interface 17 * generated in the org.openstreetmap.josm.data.imagery.types package. 18 * <p>An ObjectFactory allows you to programatically 19 * construct new instances of the Java representation 20 * for XML content. The Java representation of XML 21 * content can consist of schema derived interfaces 22 * and classes representing the binding of schema 23 * type definitions, element declarations and model 24 * groups. Factory methods for each of these are 15 * This object contains factory methods for each 16 * Java content interface and Java element interface 17 * generated in the org.openstreetmap.josm.data.imagery.types package. 18 * <p>An ObjectFactory allows you to programatically 19 * construct new instances of the Java representation 20 * for XML content. The Java representation of XML 21 * content can consist of schema derived interfaces 22 * and classes representing the binding of schema 23 * type definitions, element declarations and model 24 * groups. Factory methods for each of these are 25 25 * provided in this class. 26 * 26 * 27 27 */ 28 28 @XmlRegistry … … 32 32 /** 33 33 * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.openstreetmap.josm.data.imagery.types 34 * 34 * 35 35 */ 36 36 public ObjectFactory() { … … 39 39 /** 40 40 * Create an instance of {@link WmsCacheType } 41 * 41 * 42 42 */ 43 43 public WmsCacheType createWmsCacheType() { … … 47 47 /** 48 48 * Create an instance of {@link ProjectionType } 49 * 49 * 50 50 */ 51 51 public ProjectionType createProjectionType() { … … 55 55 /** 56 56 * Create an instance of {@link EntryType } 57 * 57 * 58 58 */ 59 59 public EntryType createEntryType() { -
trunk/src/org/openstreetmap/josm/data/imagery/types/ProjectionType.java
r5170 r6069 1 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 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 6 // 7 7 … … 19 19 /** 20 20 * <p>Java class for projection complex type. 21 * 21 * 22 22 * <p>The following schema fragment specifies the expected content contained within this class. 23 * 23 * 24 24 * <pre> 25 25 * <complexType name="projection"> … … 35 35 * </complexType> 36 36 * </pre> 37 * 38 * 37 * 38 * 39 39 */ 40 40 @XmlAccessorType(XmlAccessType.FIELD) … … 52 52 /** 53 53 * Gets the value of the entry property. 54 * 54 * 55 55 * <p> 56 56 * This accessor method returns a reference to the live list, … … 58 58 * returned list will be present inside the JAXB object. 59 59 * This is why there is not a <CODE>set</CODE> method for the entry property. 60 * 60 * 61 61 * <p> 62 62 * For example, to add a new item, do as follows: … … 64 64 * getEntry().add(newItem); 65 65 * </pre> 66 * 67 * 66 * 67 * 68 68 * <p> 69 69 * Objects of the following type(s) are allowed in the list 70 70 * {@link EntryType } 71 * 72 * 71 * 72 * 73 73 */ 74 74 public List<EntryType> getEntry() { … … 81 81 /** 82 82 * Gets the value of the name property. 83 * 83 * 84 84 * @return 85 85 * possible object is 86 86 * {@link String } 87 * 87 * 88 88 */ 89 89 public String getName() { … … 93 93 /** 94 94 * Sets the value of the name property. 95 * 95 * 96 96 * @param value 97 97 * allowed object is 98 98 * {@link String } 99 * 99 * 100 100 */ 101 101 public void setName(String value) { … … 105 105 /** 106 106 * Gets the value of the cacheDirectory property. 107 * 107 * 108 108 * @return 109 109 * possible object is 110 110 * {@link String } 111 * 111 * 112 112 */ 113 113 public String getCacheDirectory() { … … 117 117 /** 118 118 * Sets the value of the cacheDirectory property. 119 * 119 * 120 120 * @param value 121 121 * allowed object is 122 122 * {@link String } 123 * 123 * 124 124 */ 125 125 public void setCacheDirectory(String value) { -
trunk/src/org/openstreetmap/josm/data/imagery/types/WmsCacheType.java
r5170 r6069 1 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 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 6 // 7 7 … … 20 20 /** 21 21 * <p>Java class for anonymous complex type. 22 * 22 * 23 23 * <p>The following schema fragment specifies the expected content contained within this class. 24 * 24 * 25 25 * <pre> 26 26 * <complexType> … … 36 36 * </complexType> 37 37 * </pre> 38 * 39 * 38 * 39 * 40 40 */ 41 41 @XmlAccessorType(XmlAccessType.FIELD) … … 54 54 /** 55 55 * Gets the value of the projection property. 56 * 56 * 57 57 * <p> 58 58 * This accessor method returns a reference to the live list, … … 60 60 * returned list will be present inside the JAXB object. 61 61 * This is why there is not a <CODE>set</CODE> method for the projection property. 62 * 62 * 63 63 * <p> 64 64 * For example, to add a new item, do as follows: … … 66 66 * getProjection().add(newItem); 67 67 * </pre> 68 * 69 * 68 * 69 * 70 70 * <p> 71 71 * Objects of the following type(s) are allowed in the list 72 72 * {@link ProjectionType } 73 * 74 * 73 * 74 * 75 75 */ 76 76 public List<ProjectionType> getProjection() { … … 83 83 /** 84 84 * Gets the value of the tileSize property. 85 * 85 * 86 86 */ 87 87 public int getTileSize() { … … 91 91 /** 92 92 * Sets the value of the tileSize property. 93 * 93 * 94 94 */ 95 95 public void setTileSize(int value) { … … 99 99 /** 100 100 * Gets the value of the totalFileSize property. 101 * 101 * 102 102 */ 103 103 public int getTotalFileSize() { … … 107 107 /** 108 108 * Sets the value of the totalFileSize property. 109 * 109 * 110 110 */ 111 111 public void setTotalFileSize(int value) { -
trunk/src/org/openstreetmap/josm/data/imagery/types/package-info.java
r5170 r6069 1 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 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 6 // 7 7
Note:
See TracChangeset
for help on using the changeset viewer.