Changeset 5984 for trunk/gli/src
- Timestamp:
- 2003-11-25T16:12:20+13:00 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/cdm/ClassifierManager.java
r5863 r5984 55 55 import org.greenstone.gatherer.msm.MSMListener; 56 56 import org.greenstone.gatherer.msm.MSMUtils; 57 import org.greenstone.gatherer.util.StaticStrings; 57 58 import org.greenstone.gatherer.util.Utility; 58 59 import org.w3c.dom.*; … … 161 162 } 162 163 return controls; 164 } 165 166 /** Determine if the Phind classifier has been assigned. 167 * @return true if it has, false otherwise 168 */ 169 public boolean isPhindClassifierAssigned() { 170 for(int i = 0; i < getSize(); i++) { 171 Classifier classifier = (Classifier) getElementAt(i); 172 if(classifier.getName().equalsIgnoreCase(StaticStrings.PHIND_CLASSIFIER)) { 173 return true; 174 } 175 classifier = null; 176 } 177 return false; 163 178 } 164 179
Note:
See TracChangeset
for help on using the changeset viewer.