Changeset 7305 for trunk


Ignore:
Timestamp:
2004-05-11T14:31:59+12:00 (20 years ago)
Author:
kjdon
Message:

AZListClassifier now takes a name argument

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl3/src/java/org/greenstone/gsdl3/gs3build/CollectionManager.java

    r7269 r7305  
    9595          URL url = new URL(parentURL, urlString);
    9696          this.file = url;
    97           System.out.println(url);
    9897        }
    9998        catch (java.net.MalformedURLException malEx) {
     
    103102      else if (name.equals("field")) {
    104103        String fieldName = DOMUtils.getNodeChildText(children.item(c));
    105         System.out.println("Adding field " + fieldName);
    106104        this.fields.add(fieldName.toString());
    107105      }
     
    115113
    116114    public ClassifierInterface getClassifier()
    117     { ClassifierInterface classifier = null;
     115    {
     116     ClassifierInterface classifier = null;
    118117
    119118      if (this.type == null) {
     
    122121      System.out.println(this.type.toLowerCase());
    123122      if (this.type.toLowerCase().equals("hierarchy")) {
    124     classifier = new HierarchyClassifier(this.className, this.file, this.fields, this.sort);
     123      classifier = new HierarchyClassifier(this.className, this.file, this.fields, this.sort);
    125124      }
    126125      else if (this.type.toLowerCase().equals("azlist")) {
    127     classifier = new AZListClassifier(this.fields);
     126      classifier = new AZListClassifier(this.className, this.fields);
    128127      }
    129128
Note: See TracChangeset for help on using the changeset viewer.