Class FOTreeBuilderContext
java.lang.Object
org.apache.fop.fo.FOTreeBuilderContext
Context class providing information needed while building the FO tree.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate SetThe current set of id's in the FO tree.private booleanIndicates whether processing descendants of a markerprotected PropertyListMakerThe property list maker.protected XMLWhiteSpaceHandlerThe XMLWhitespaceHandler for this tree -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the set of ID references.Return the propertyListMaker.Return the XMLWhiteSpaceHandlerprotected booleaninMarker()Check whether in marker contextvoidsetPropertyListMaker(PropertyListMaker propertyListMaker) Set a new propertyListMaker.protected voidswitchMarkerContext(boolean inMarker) Switch to or from marker context (used by FOTreeBuilder when processing a marker)
-
Field Details
-
idReferences
The current set of id's in the FO tree. This is used so we know if the FO tree contains duplicates. -
propertyListMaker
The property list maker. -
whiteSpaceHandler
The XMLWhitespaceHandler for this tree -
inMarker
private boolean inMarkerIndicates whether processing descendants of a marker
-
-
Constructor Details
-
FOTreeBuilderContext
public FOTreeBuilderContext()
-
-
Method Details
-
getIDReferences
-
getPropertyListMaker
Return the propertyListMaker.- Returns:
- the currently active
PropertyListMaker
-
setPropertyListMaker
Set a new propertyListMaker.- Parameters:
propertyListMaker- the newPropertyListMakerto use
-
getXMLWhiteSpaceHandler
Return the XMLWhiteSpaceHandler- Returns:
- the whiteSpaceHandler
-
switchMarkerContext
protected void switchMarkerContext(boolean inMarker) Switch to or from marker context (used by FOTreeBuilder when processing a marker)- Parameters:
inMarker- true if a marker is being processed; false otherwise
-
inMarker
protected boolean inMarker()Check whether in marker context- Returns:
- true if a marker is being processed
-