Changeset 25974

Show
Ignore:
Timestamp:
19.07.2012 14:17:50 (7 years ago)
Author:
sjm84
Message:

Set the global format from the collection config file

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/src/java/org/greenstone/gsdl3/collection/Collection.java

    r25751 r25974  
    7373 
    7474    protected HashMap<String, ArrayList<Element>> _documentSets = new HashMap<String, ArrayList<Element>>(); 
    75  
    7675    protected ArrayList<HashMap<String, ArrayList<String>>> _securityExceptions = new ArrayList<HashMap<String, ArrayList<String>>>(); 
    7776 
     
    9493        super(); 
    9594        this.description = this.doc.createElement(GSXML.COLLECTION_ELEM); 
    96  
    9795    } 
    9896 
     
    109107    public boolean configure() 
    110108    { 
    111  
    112109        if (this.site_home == null || this.cluster_name == null) 
    113110        { 
     
    140137            db_type = "gdbm"; //Default database type 
    141138        } 
     139 
     140        _globalFormat = (Element) GSXML.getChildByTagName(coll_config_xml, GSXML.FORMAT_ELEM); 
    142141 
    143142        // process the metadata and display items 
     
    296295        } 
    297296        return true; 
    298  
    299297    } 
    300298