package org.apache.fop.datatypes;
-import java.util.Iterator;
+//import java.util.Iterator;
import java.util.NoSuchElementException;
import org.apache.fop.fo.PropNames;
/**
* An <tt>Iterator</tt> implementing member class of FontFamilySet.
*/
- class Traverser implements Iterator {
+ public class Traverser {
/**
* The index for the iteration across the fontFamilyNames array.
return index < fontFamilyNames.length;
}
- public Object next() {
+ public String next() {
if (hasNext()) return fontFamilyNames[index++];
throw new NoSuchElementException();
}
- public void remove() {
- throw new UnsupportedOperationException();
- }
+// public void remove() {
+// throw new UnsupportedOperationException();
+// }
}
}