Package org.apache.fop.fo
Class FOText.TextCharIterator
java.lang.Object
org.apache.fop.fo.CharIterator
org.apache.fop.fo.FOText.TextCharIterator
- Enclosing class:
FOText
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate boolean
private boolean
private int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
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
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Iterator
forEachRemaining
-
Field Details
-
currentPosition
private int currentPosition -
canRemove
private boolean canRemove -
canReplace
private boolean canReplace
-
-
Constructor Details
-
TextCharIterator
public TextCharIterator()
-
-
Method Details
-
hasNext
public boolean hasNext()- Specified by:
hasNext
in interfaceIterator
- 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 interfaceIterator
- 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
-