source: josm/trunk/src/org/openstreetmap/josm/data/imagery/types/Adapter1.java@ 4077

Last change on this file since 4077 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: 878 bytes
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.08 at 06:04:30 PM CET
6//
7
8
9package org.openstreetmap.josm.data.imagery.types;
10
11import java.util.Calendar;
12
13import javax.xml.bind.annotation.adapters.XmlAdapter;
14
15public class Adapter1
16extends XmlAdapter<String, Calendar>
17{
18
19
20 @Override
21 public Calendar unmarshal(String value) {
22 return (javax.xml.bind.DatatypeConverter.parseDate(value));
23 }
24
25 @Override
26 public String marshal(Calendar value) {
27 if (value == null)
28 return null;
29 return (org.openstreetmap.josm.data.imagery.WmsCache.printDate(value));
30 }
31
32}
Note: See TracBrowser for help on using the repository browser.