org.apache.fop.fo |
org.apache.fop.fo Package
Classes, constants and basic infrastructure for the FO tree.
|
Java Source File Name | Type | Comment |
CharIterator.java | Class | Abstract base class for iterators that should iterate through a series
of characters. |
Constants.java | Interface | Definition of constants used throughout FOP. |
ElementMapping.java | Class | Abstract base class for Element Mappings (including FO Element Mappings)
which provide the framework of valid elements and attibutes for a given
namespace. |
ElementMappingRegistry.java | Class | This class keeps track of all configured ElementMapping implementations which are responsible
for properly handling all kinds of different XML namespaces. |
FObj.java | Class | Base class for representation of formatting objects and their processing. |
FObjMixed.java | Class | Base class for representation of mixed content formatting objects
(i.e., those that can contain both child FO's and text nodes/PCDATA). |
FOElementMapping.java | Class | Element mapping class for all XSL-FO elements. |
FOEventHandler.java | Class | Abstract class defining what should be done with SAX events that map to
XSL-FO input. |
FONode.java | Class | |
FOPropertyMapping.java | Class | This class creates and returns an array of Property.Maker instances
indexed by the PR_* propId from Constants.java. |
FOText.java | Class | A text node (PCDATA) in the formatting object tree. |
FOTreeBuilder.java | Class | SAX Handler that passes parsed data to the various
FO objects, where they can be used either to build
an FO Tree, or used by Structure Renderers to build
other data structures. |
InlineCharIterator.java | Class | A recursive char iterator that indicates boundaries by returning
an EOT char. |
NullCharIterator.java | Class | Class providing an iterator for zero characters. |
OneCharIterator.java | Class | Class providing an iterator for one character. |
PropertyList.java | Class | Class containing the collection of properties for a given FObj. |
PropertyListMaker.java | Interface | A PropertyListMaker is a factory that creates PropertyLists. |
RecursiveCharIterator.java | Class | Kind of a super-iterator that iterates through child nodes of an FONode,
in turn managing character iterators for each of them. |
StaticPropertyList.java | Class | A very fast implementation of PropertyList that uses arrays to store
the explicit set properties and another array to store cached values. |
UnknownXMLObj.java | Class | |
ValidationException.java | Class | Exception thrown during FO tree validation. |
XMLObj.java | Class | Abstract class modelling generic, non-XSL-FO XML objects. |
XMLWhiteSpaceHandler.java | Class | Class encapsulating the functionality for white-space-handling
during refinement stage.
The handleWhiteSpace() methods are called during
FOTree-building and marker-cloning:
- from
FObjMixed.addChildNode()
- from
FObjMixed.endOfNode()
- from
FObjMixed.handleWhiteSpaceFor()
Each time one of the variants is called, white-space is handled
for all FOText or Character nodes that
were added:
- either prior to
newChild (and after the previous
non-text child node)
- or, if
newChild is null ,
after the previous non-text child
The iteration always starts at firstTextNode ,
goes on until the last text-node is reached, and deals only
with FOText nodes (characters are immediately removed) or
Character nodes (characters are kept track of and removed
from the list of child nodes later, when the iterator goes
out of scope)
Note: if the method is called from an inline's endOfNode(),
there is too little context to decide whether trailing
white-space may be removed, so the pending inline is stored
in a List, together with an iterator for which the next()
method returns the first in the trailing sequence of white-
space characters. |