Package org.apache.fop.fo
Class FOTreeBuilderContext
- java.lang.Object
-
- org.apache.fop.fo.FOTreeBuilderContext
-
public class FOTreeBuilderContext extends java.lang.ObjectContext class providing information needed while building the FO tree.
-
-
Field Summary
Fields Modifier and Type Field Description protected PropertyListMakerpropertyListMakerThe property list maker.protected XMLWhiteSpaceHandlerwhiteSpaceHandlerThe XMLWhitespaceHandler for this tree
-
Constructor Summary
Constructors Constructor Description FOTreeBuilderContext()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.SetgetIDReferences()Returns the set of ID references.PropertyListMakergetPropertyListMaker()Return the propertyListMaker.XMLWhiteSpaceHandlergetXMLWhiteSpaceHandler()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 Detail
-
propertyListMaker
protected PropertyListMaker propertyListMaker
The property list maker.
-
whiteSpaceHandler
protected XMLWhiteSpaceHandler whiteSpaceHandler
The XMLWhitespaceHandler for this tree
-
-
Method Detail
-
getIDReferences
public java.util.Set getIDReferences()
Returns the set of ID references.- Returns:
- the ID references
-
getPropertyListMaker
public PropertyListMaker getPropertyListMaker()
Return the propertyListMaker.- Returns:
- the currently active
PropertyListMaker
-
setPropertyListMaker
public void setPropertyListMaker(PropertyListMaker propertyListMaker)
Set a new propertyListMaker.- Parameters:
propertyListMaker- the newPropertyListMakerto use
-
getXMLWhiteSpaceHandler
public XMLWhiteSpaceHandler 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
-
-