Changeset 8149
- Timestamp:
- 2004-09-24T12:01:14+12:00 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/metadata/ProfileXMLFileManager.java
r8144 r8149 39 39 static public String getMetadataElementFor(String metadata_element_name_full) 40 40 { 41 if (profile_xml_file == null) { 42 return null; 43 } 44 41 45 return profile_xml_file.getMetadataElementFor(metadata_element_name_full); 42 46 } … … 45 49 static public HashMap getMetadataMapping() 46 50 { 51 if (profile_xml_file == null) { 52 return null; 53 } 54 47 55 return profile_xml_file.getMetadataMapping(); 48 56 } … … 51 59 static public void mapElement(String metadata_element_name_full, String target_metadata_element_name_full) 52 60 { 53 profile_xml_file.mapElement(metadata_element_name_full, target_metadata_element_name_full); 61 if (profile_xml_file != null) { 62 profile_xml_file.mapElement(metadata_element_name_full, target_metadata_element_name_full); 63 } 54 64 } 55 65 }
Note:
See TracChangeset
for help on using the changeset viewer.