org.apache.fop.fo

Class InlineCharIterator

Implemented Interfaces:
Cloneable, 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, hasNext, mark, nextChar, remove, replaceChar

Methods inherited from class org.apache.fop.fo.CharIterator

clone, hasNext, next, nextChar, remove, replaceChar

Constructor Details

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 Details

hasNext

public boolean hasNext()
Overrides:
hasNext in interface RecursiveCharIterator
Returns:
true if there are more characters

nextChar

public char nextChar()
            throws NoSuchElementException
Overrides:
nextChar in interface RecursiveCharIterator
Returns:
the next character

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