Package org.apache.fop.fo
Class FOTreeBuilderContext
java.lang.Object
org.apache.fop.fo.FOTreeBuilderContext
Context class providing information needed while building the FO tree.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected 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
-
propertyListMaker
The property list maker. -
whiteSpaceHandler
The XMLWhitespaceHandler for this tree
-
-
Constructor Details
-
FOTreeBuilderContext
public FOTreeBuilderContext()
-
-
Method Details
-
getIDReferences
Returns the set of ID references.- Returns:
- the ID references
-
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
-