greenstone.org greenstone wiki greenstone trac planet greenstone

Changeset 14649

Show
Ignore:
Timestamp:
2007-10-11 09:21:41 (1 year ago)
Author:
qq6
Message:

updated by Anna

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • greenstone3/branches/3.03/src/java/org/greenstone/gsdl3/collection/Collection.java

    r14208 r14649  
    5757    /** time when this collection was built */ 
    5858    protected long lastmodified = 0; 
    59  
     59     
    6060    /** An element containing the serviceRackList element of buildConfig.xml, used to determine whether it contains 
    6161     *  the OAIPMH serviceRack  
     
    9898            return false; 
    9999        } 
     100         
     101        // get the collection type attribute 
     102        Element search = (Element) GSXML.getChildByTagName(coll_config_xml, GSXML.SEARCH_ELEM);  
     103        if(search!=null) { 
     104                col_type = search.getAttribute(GSXML.TYPE_ATT); 
     105        } 
     106         
    100107        // process the metadata and display items 
    101108        findAndLoadInfo(coll_config_xml, build_config_xml); 
     
    182189    protected boolean findAndLoadInfo(Element coll_config_xml,  
    183190                                      Element build_config_xml){ 
    184        
     191                      
    185192      // metadata 
    186193      Element meta_list = (Element)GSXML.getChildByTagName(coll_config_xml, GSXML.METADATA_ELEM+GSXML.LIST_MODIFIER);