01: package org.wfp.vam.intermap.services.map.layers;
02:
03: import org.jdom.*;
04:
05: import jeeves.interfaces.*;
06: import jeeves.server.*;
07: import jeeves.server.context.*;
08:
09: import org.wfp.vam.intermap.kernel.map.*;
10: import org.wfp.vam.intermap.services.map.MapUtil;
11:
12: //=============================================================================
13:
14: /** main.result service. shows search results
15: */
16:
17: public class GetOrder implements Service {
18: public void init(String appPath, ServiceConfig config)
19: throws Exception {
20: }
21:
22: //--------------------------------------------------------------------------
23: //---
24: //--- Service
25: //---
26: //--------------------------------------------------------------------------
27:
28: public Element exec(Element params, ServiceContext context)
29: throws Exception {
30: // Get the MapMerger object from the user session
31: MapMerger mm = MapUtil.getMapMerger(context);
32:
33: return mm.toElementSimple();
34: }
35:
36: }
37:
38: //=============================================================================
|