Line | |
---|
1 | package eu.clarin.cmdi.mdservice.action; |
---|
2 | |
---|
3 | import java.io.IOException; |
---|
4 | import java.net.MalformedURLException; |
---|
5 | import java.net.URL; |
---|
6 | |
---|
7 | import net.sf.json.JSONObject; |
---|
8 | import net.sf.json.xml.XMLSerializer; |
---|
9 | |
---|
10 | /** |
---|
11 | * |
---|
12 | * |
---|
13 | */ |
---|
14 | public 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.