- Timestamp:
- 2006-09-01T11:38:53+12:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/cdm/ClassifierManager.java
r12638 r12641 72 72 */ 73 73 public ClassifierManager() { 74 super(CollectionDesignManager.collect_config.getDocumentElement(), CollectionConfiguration.CLASSIFY_ELEMENT, new Classifier());74 super(CollectionDesignManager.collect_config.getDocumentElement(), StaticStrings.CLASSIFY_ELEMENT, new Classifier()); 75 75 this.model = this; 76 76 DebugStream.println("ClassifierManager: " + getSize() + " classifiers parsed."); … … 232 232 } 233 233 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)); 235 235 } 236 236 // Parse the classifier arguments … … 598 598 599 599 // 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()); 602 602 Classifier new_classifier = new Classifier(new_classifier_element, classifier); 603 603
Note:
See TracChangeset
for help on using the changeset viewer.