fop 0.94

org.apache.fop.fo.flow
Class FOCharIterator

java.lang.Object
  extended by org.apache.fop.fo.CharIterator
      extended by org.apache.fop.fo.flow.FOCharIterator
All Implemented Interfaces:
java.lang.Cloneable, java.util.Iterator

public class FOCharIterator
extends CharIterator

Used by the RecursiveCharIterator to iterate over a Character


Constructor Summary
protected FOCharIterator(Character foChar)
          Main constructor
 
Method Summary
 boolean hasNext()
           
 char nextChar()
           
 void remove()
          Removes the child from the parent
 void replaceChar(char c)
          Replaces the character with another one
 
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
 

Constructor Detail

FOCharIterator

protected FOCharIterator(Character foChar)
Main constructor

Parameters:
foChar - the FOCharacter
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface java.util.Iterator
Specified by:
hasNext in class CharIterator
Returns:
true if this iterator has another character available
See Also:
Iterator.hasNext()

nextChar

public char nextChar()
Specified by:
nextChar in class CharIterator
Returns:
the next character

remove

public void remove()
Removes the child from the parent

Specified by:
remove in interface java.util.Iterator
Overrides:
remove in class CharIterator
See Also:
Iterator.remove()

replaceChar

public void replaceChar(char c)
Replaces the character with another one

Overrides:
replaceChar in class CharIterator
Parameters:
c - the replacement character

fop 0.94

Copyright 1999-2007 The Apache Software Foundation. All Rights Reserved.