Package org.apache.fop.fo
Class FOText.TextCharIterator
- java.lang.Object
-
- org.apache.fop.fo.CharIterator
-
- org.apache.fop.fo.FOText.TextCharIterator
-
- All Implemented Interfaces:
java.lang.Cloneable,java.util.Iterator
- Enclosing class:
- FOText
private class FOText.TextCharIterator extends CharIterator
-
-
Field Summary
Fields Modifier and Type Field Description private booleancanRemoveprivate booleancanReplaceprivate intcurrentPosition
-
Constructor Summary
Constructors Constructor Description TextCharIterator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasNext()charnextChar()voidremove()voidreplaceChar(char c)Replace the current character managed by the iterator with a specified character?-
Methods inherited from class org.apache.fop.fo.CharIterator
clone, next
-
-
-
-
Method Detail
-
hasNext
public boolean hasNext()
- Specified by:
hasNextin interfacejava.util.Iterator- Specified by:
hasNextin classCharIterator
-
nextChar
public char nextChar()
- Specified by:
nextCharin classCharIterator- Returns:
- the character that is the next character in the collection
-
remove
public void remove()
- Specified by:
removein interfacejava.util.Iterator- Overrides:
removein classCharIterator
-
replaceChar
public void replaceChar(char c)
Replace the current character managed by the iterator with a specified character?- Overrides:
replaceCharin classCharIterator- Parameters:
c- character
-
-