fop 0.93

org.apache.fop.fo
Class InlineCharIterator

java.lang.Object
  extended byorg.apache.fop.fo.CharIterator
      extended byorg.apache.fop.fo.RecursiveCharIterator
          extended byorg.apache.fop.fo.InlineCharIterator
All Implemented Interfaces:
java.lang.Cloneable, java.util.Iterator

public class InlineCharIterator
extends RecursiveCharIterator

A recursive char iterator that indicates boundaries by returning an EOT char.


Constructor Summary
InlineCharIterator(FObj fobj, CommonBorderPaddingBackground bpb)
           
 
Method Summary
 boolean hasNext()
           
 char nextChar()
           
 
Methods inherited from class org.apache.fop.fo.RecursiveCharIterator
clone, mark, remove, replaceChar
 
Methods inherited from class org.apache.fop.fo.CharIterator
next
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InlineCharIterator

public InlineCharIterator(FObj fobj,
                          CommonBorderPaddingBackground bpb)
Parameters:
fobj - the object for whose character contents and for whose descendant's character contents should be iterated
bpb - the CommonBorderPaddingBackground properties to be applied
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface java.util.Iterator
Overrides:
hasNext in class RecursiveCharIterator
Returns:
true if there are more characters

nextChar

public char nextChar()
              throws java.util.NoSuchElementException
Overrides:
nextChar in class RecursiveCharIterator
Returns:
the next character
Throws:
java.util.NoSuchElementException - if there are no more characters
See Also:
CharIterator.nextChar()

fop 0.93

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