|
fop 0.95 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.fo.CharIterator
public abstract class CharIterator
Abstract base class for iterators that should iterate through a series of characters. Extends the java.util.Iterator interface with some additional functions useful for FOP's management of text.
Constructor Summary | |
---|---|
CharIterator()
|
Method Summary | |
---|---|
java.lang.Object |
clone()
|
abstract boolean |
hasNext()
|
java.lang.Object |
next()
|
abstract char |
nextChar()
|
void |
remove()
|
void |
replaceChar(char c)
Replace the current character managed by the iterator with a specified character? |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CharIterator()
Method Detail |
---|
public abstract boolean hasNext()
hasNext
in interface java.util.Iterator
public abstract char nextChar() throws java.util.NoSuchElementException
java.util.NoSuchElementException
- if there are no more characters (test for
this condition with java.util.Iterator.hasNext()).public java.lang.Object next() throws java.util.NoSuchElementException
next
in interface java.util.Iterator
public void remove()
remove
in interface java.util.Iterator
public void replaceChar(char c)
c
- characterpublic java.lang.Object clone()
clone
in class java.lang.Object
|
fop 0.95 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |