Package org.apache.fop.fo
Class NullCharIterator
java.lang.Object
org.apache.fop.fo.CharIterator
org.apache.fop.fo.NullCharIterator
Class providing an iterator for zero characters. Used by the Block FO.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CharIteratorObtain the singleton instance of the null character iterator.booleanhasNext()charnextChar()Methods inherited from class org.apache.fop.fo.CharIterator
clone, next, remove, replaceCharMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining
-
Constructor Details
-
NullCharIterator
public NullCharIterator()Constructor
-
-
Method Details
-
getInstance
Obtain the singleton instance of the null character iterator.- Returns:
- the char iterator
-
hasNext
public boolean hasNext()- Specified by:
hasNextin interfaceIterator- Specified by:
hasNextin classCharIterator
-
nextChar
- Specified by:
nextCharin classCharIterator- Returns:
- the character that is the next character in the collection
- Throws:
NoSuchElementException- if there are no more characters (test for this condition with java.util.Iterator.hasNext()).
-