Ignore:
Timestamp:
2006-09-01T11:38:53+12:00 (18 years ago)
Author:
mdewsnip
Message:

Changed all access to the static strings through CollectionConfiguration to directly use StaticStrings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/src/org/greenstone/gatherer/cdm/ClassifierManager.java

    r12638 r12641  
    7272     */
    7373    public ClassifierManager() {
    74     super(CollectionDesignManager.collect_config.getDocumentElement(), CollectionConfiguration.CLASSIFY_ELEMENT, new Classifier());
     74    super(CollectionDesignManager.collect_config.getDocumentElement(), StaticStrings.CLASSIFY_ELEMENT, new Classifier());
    7575    this.model = this;
    7676    DebugStream.println("ClassifierManager: " + getSize() + " classifiers parsed.");
     
    232232        }
    233233        else if (node_name.equals("Abstract")) {
    234         classifier.setIsAbstract(XMLTools.getValue(node).equalsIgnoreCase(CollectionConfiguration.YES_STR));
     234        classifier.setIsAbstract(XMLTools.getValue(node).equalsIgnoreCase(StaticStrings.YES_STR));
    235235        }
    236236        // Parse the classifier arguments
     
    598598
    599599        // Create a new element in the DOM
    600         Element new_classifier_element = CollectionDesignManager.collect_config.document.createElement(CollectionConfiguration.CLASSIFY_ELEMENT);
    601         new_classifier_element.setAttribute(CollectionConfiguration.TYPE_ATTRIBUTE, classifier.getName());
     600        Element new_classifier_element = CollectionDesignManager.collect_config.document.createElement(StaticStrings.CLASSIFY_ELEMENT);
     601        new_classifier_element.setAttribute(StaticStrings.TYPE_ATTRIBUTE, classifier.getName());
    602602        Classifier new_classifier = new Classifier(new_classifier_element, classifier);
    603603
Note: See TracChangeset for help on using the changeset viewer.