- Timestamp:
- 2012-05-22T13:01:04+12:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/src/java/org/greenstone/gsdl3/action/Action.java
r25302 r25635 23 23 24 24 /** the system set up variables */ 25 protected HashMap config_params = null;25 protected HashMap<String, Comparable> config_params = null; 26 26 /** container Document to create XML Nodes */ 27 27 protected Document doc = null; … … 43 43 44 44 /** the config variables must be set before configure is called */ 45 public void setConfigParams(HashMap params)45 public void setConfigParams(HashMap<String, Comparable> params) 46 46 { 47 47 this.config_params = params; … … 92 92 } 93 93 94 protected void getRequiredMetadataNames(Element format, HashSet meta_names)94 protected void getRequiredMetadataNames(Element format, HashSet<String> meta_names) 95 95 { 96 96 extractMetadataNames(format, meta_names); … … 98 98 } 99 99 100 protected void extractMetadataNames(Element format, HashSet meta_names)100 protected void extractMetadataNames(Element format, HashSet<String> meta_names) 101 101 { 102 102 //NodeList nodes = format.getElementsByTagNameNS("metadata", "http://www.greenstone.org/configformat"); … … 133 133 } 134 134 135 protected void addLinkMetadataNames(Element format, HashSet meta_names)135 protected void addLinkMetadataNames(Element format, HashSet<String> meta_names) 136 136 { 137 137 // The XSL tranform for … … 187 187 } 188 188 189 protected Element createMetadataParamList(HashSet metadata_names)189 protected Element createMetadataParamList(HashSet<String> metadata_names) 190 190 { 191 191 Element param_list = this.doc.createElement(GSXML.PARAM_ELEM + GSXML.LIST_MODIFIER); 192 192 193 193 Element param = null; 194 Iterator i = metadata_names.iterator();194 Iterator<String> i = metadata_names.iterator(); 195 195 while (i.hasNext()) 196 196 { 197 String name = (String)i.next();197 String name = i.next(); 198 198 param = this.doc.createElement(GSXML.PARAM_ELEM); 199 199 param_list.appendChild(param);
Note:
See TracChangeset
for help on using the changeset viewer.