source: MDService2/trunk/MDService2/src/eu/clarin/cmdi/mdservice/action/DocsAction.java

Last change on this file was 1081, checked in by vronk, 13 years ago
File size: 802 bytes
Line 
1package eu.clarin.cmdi.mdservice.action;
2
3import java.io.IOException;
4import java.net.MalformedURLException;
5import java.net.URL;
6
7import net.sf.json.JSONObject;
8import net.sf.json.xml.XMLSerializer;
9
10/**
11 *
12 *
13 */
14public class DocsAction extends GenericProxyAction {
15
16        private static final long serialVersionUID = 1L;
17       
18        private String proxy_key = "docs";
19
20        @Override
21        public String getProxyKey() {
22                return proxy_key;
23        }
24       
25       
26        public URL getTargetRequest() throws IOException {
27               
28                URL targetURL = null;
29                //targetURL =new URL( getBaseURL(), getActionkey());
30                //FIXME: get maxdepth-constant out of here !!
31                targetURL = new URL(getBaseURL(), getQ() + ".xml");
32                //Admin.notifyUser("CollectionProxy.targetURL:" + targetURL);
33
34            return targetURL;
35        }
36       
37}
Note: See TracBrowser for help on using the repository browser.