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 booleanprivate booleanprivate int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanhasNext()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, nextMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
hasNextin interfaceIterator- 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 interfaceIterator- 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
-