org.foray.area
Class FOLinkageMarker

java.lang.Object
  extended by org.foray.area.FOLinkage
      extended by org.foray.area.FOLinkageMarker

public class FOLinkageMarker
extends FOLinkage

Handles linkage to the FO Tree for the specialized case of fo:marker descendants, which can be laid out multiple times in the AreaTree.


Constructor Summary
FOLinkageMarker(org.axsl.fo.Fo foGenerator)
          Constructor.
 
Method Summary
 FOLinkageNormal getNormalLinkage(org.axsl.fo.fo.GraftingPoint graftingPoint)
          Returns the normal linkage for a given RetrieveMarker.
 org.axsl.fo.fo.GraftingPoint getRetrieveMarker(AreaNode areaNode)
          Retrieves the GraftingPoint, if any, for a given area node.
 
Methods inherited from class org.foray.area.FOLinkage
getFONode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FOLinkageMarker

public FOLinkageMarker(org.axsl.fo.Fo foGenerator)
                throws org.axsl.area.AreaTreeException
Constructor.

Parameters:
foGenerator - The FO node generating this linkage.
Throws:
org.axsl.area.AreaTreeException - If the foGenerator has no ancestor marker.
Method Detail

getNormalLinkage

public FOLinkageNormal getNormalLinkage(org.axsl.fo.fo.GraftingPoint graftingPoint)
Returns the normal linkage for a given RetrieveMarker.

Parameters:
graftingPoint - The RetrieveMarker for which the linkage is needed.
Returns:
The normal linkage.

getRetrieveMarker

public org.axsl.fo.fo.GraftingPoint getRetrieveMarker(AreaNode areaNode)
Description copied from class: FOLinkage
Retrieves the GraftingPoint, if any, for a given area node.

Specified by:
getRetrieveMarker in class FOLinkage
Parameters:
areaNode - The area node for which the retrieve marker is needed.
Returns:
The GraftingPoint generating the area, or null.


Copyright © 2017. All rights reserved.