source: tapas/web/src/json/json-context.xml @ 784

Last change on this file since 784 was 767, checked in by rboipsl, 11 years ago

V2 ajout infobulles + textes

File size: 3.3 KB
Line 
1<?xml version="1.0" encoding="UTF-8" ?>
2<beans xmlns="http://www.springframework.org/schema/beans"
3       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4       xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">
5
6    <bean id="jsonHelper" class="com.ether.JSONHelperImpl">
7        <property name="mapClassesForDeserialization">
8            <map>
9                <entry key="com.ether.tapas.Tapas">
10                    <map>
11                        <entry key="requests" value="com.ether.tapas.Request"/>
12                    </map>
13                </entry>
14                <entry key="com.ether.tapas.Request">
15                    <map>
16                        <entry key="preference" value="com.ether.tapas.Preference"/>
17                        <entry key="observation" value="com.ether.tapas.Observation"/>
18                        <entry key="atmosphere" value="com.ether.tapas.Atmosphere"/>
19                    </map>
20                </entry>
21                <entry key="com.ether.tapas.Preference">
22                    <map>
23                        <entry key="format" value="com.ether.Pair"/>
24                        <entry key="rayleighExtinction" value="com.ether.Pair"/>
25                        <entry key="h2oExtinction" value="com.ether.Pair"/>
26                        <entry key="o3Extinction" value="com.ether.Pair"/>
27                        <entry key="o2Extinction" value="com.ether.Pair"/>
28                        <entry key="co2Extinction" value="com.ether.Pair"/>
29                        <entry key="bervCorrection" value="com.ether.Pair"/>
30                    </map>
31                </entry>
32
33                <entry key="com.ether.tapas.Observation">
34                    <map>
35                        <entry key="observatory" value="com.ether.tapas.Observatory"/>
36                        <entry key="los" value="com.ether.tapas.Los"/>
37                        <entry key="instrument" value="com.ether.tapas.Instrument"/>
38                    </map>
39                </entry>
40                <!--<entry key="com.ether.tapas.Observatory">-->
41                    <!--<map>-->
42                        <!--<entry key="longitude" value=/>-->
43                        <!--<entry key="latitude" value="e"/>-->
44                        <!--<entry key="altitude" value="com.ether.tapas.Coordinate"/>-->
45                    <!--</map>-->
46                <!--</entry>-->
47                <!--<entry key="com.ether.tapas.Los">
48                    <map>
49                        <entry key="zenithAngle" value="com.ether.tapas.Coordinate"/>
50                    </map>
51                </entry>
52                -->
53                <entry key="com.ether.tapas.Instrument">
54                    <map>
55                        <entry key="spectralChoice" value="com.ether.Pair"/>
56                        <entry key="ilsfChoice" value="com.ether.Pair"/>
57                        <entry key="resolvingPower" value="com.ether.Pair"/>
58                        <entry key="samplingRatio" value="com.ether.Pair"/>
59                    </map>
60                </entry>
61                <entry key="com.ether.tapas.Atmosphere">
62                    <map>
63                        <entry key="reference" value="com.ether.Pair"/>
64                    </map>
65                </entry>
66            </map>
67        </property>
68    </bean>
69</beans>
Note: See TracBrowser for help on using the repository browser.