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 boolean
canRemove
private boolean
canReplace
private int
currentPosition
-
Constructor Summary
Constructors Constructor Description TextCharIterator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
char
nextChar()
void
remove()
void
replaceChar(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:
hasNext
in interfacejava.util.Iterator
- Specified by:
hasNext
in classCharIterator
-
nextChar
public char nextChar()
- Specified by:
nextChar
in classCharIterator
- Returns:
- the character that is the next character in the collection
-
remove
public void remove()
- Specified by:
remove
in interfacejava.util.Iterator
- Overrides:
remove
in classCharIterator
-
replaceChar
public void replaceChar(char c)
Replace the current character managed by the iterator with a specified character?- Overrides:
replaceChar
in classCharIterator
- Parameters:
c
- character
-
-