Changeset 1613 for MDService2/branches/MDService_simple3/src/eu/clarin/cmdi/mdservice/action/TermsProxyAction.java
- Timestamp:
- 11/05/11 17:38:57 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
MDService2/branches/MDService_simple3/src/eu/clarin/cmdi/mdservice/action/TermsProxyAction.java
r1540 r1613 5 5 import java.net.MalformedURLException; 6 6 import java.net.URL; 7 8 7 import javax.xml.transform.TransformerException; 9 10 8 import org.apache.log4j.Logger; 11 9 … … 21 19 * 22 20 * @author vronk 23 *24 21 */ 25 22 public class TermsProxyAction extends GenericProxyAction { 26 23 27 public static Logger log = Logger.getLogger("TermsProxyAction"); 24 public static Logger log = Logger.getLogger("TermsProxyAction"); 25 private static final long serialVersionUID = 1L; 28 26 29 private static final long serialVersionUID = 1L; 30 31 public static String ALL = "all"; 32 27 public static String ALL = "all"; 33 28 private String proxy_key = "terms"; 34 29 … … 43 38 } 44 39 45 46 /* @Override47 public String getFullFormat() {48 return "terms2extract";49 }50 */51 52 /*53 @Override54 public String getRequestKey() {55 String key="";56 if (getActionkey()!=null) {57 key += getActionkey() + "//-" ;58 }59 if (getQ()!=null) {60 key += getQ() + "//-" ;61 } else {62 key +="//-" ;63 }64 if (getCollection()!=null) {65 key += getCollection() + "//-";66 } else {67 key +="//-" ;68 }69 if (getSquery()!=null) {70 key += getSquery() + "//-" ;71 } else {72 key +="//-" ;73 }74 if (getStartRecord()!=null) {75 key += getStartRecord() + "//-";76 }77 if (getMaximumRecords()!=null) {78 key += getMaximumRecords();79 }80 81 return key;82 }83 */84 40 public Termset getTermset() { 85 41 String ts_id=""; … … 106 62 return base_url; 107 63 } 108 109 64 110 65 /** 111 66 * uses base_url + url_pattern (parametrized by actionkey) to form a url … … 115 70 public URL getTargetRequest() throws IOException { 116 71 // URL targetURL =new URL( base_url, compname + ".xml"); 117 118 72 119 73 URL targetURL = null;
Note: See TracChangeset
for help on using the changeset viewer.