org.foray.area
Class FOLinkage

java.lang.Object
  extended by org.foray.area.FOLinkage
Direct Known Subclasses:
FOLinkageMarker, FOLinkageNormal

public abstract class FOLinkage
extends Object

Abstract superclass for classes that handle the linkage between the FO Tree and the Area Tree.


Constructor Summary
FOLinkage(org.axsl.fo.Fo foGenerator)
          Constructor.
 
Method Summary
 org.axsl.fo.Fo getFONode()
          Returns the FONode that generated this linkage.
abstract  org.axsl.fo.fo.GraftingPoint getRetrieveMarker(AreaNode areaNode)
          Retrieves the GraftingPoint, if any, for a given area node.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FOLinkage

public FOLinkage(org.axsl.fo.Fo foGenerator)
Constructor.

Parameters:
foGenerator - The FO node generating this linkage.
Method Detail

getFONode

public org.axsl.fo.Fo getFONode()
Returns the FONode that generated this linkage.

Returns:
The node that generated this linkage.

getRetrieveMarker

public abstract org.axsl.fo.fo.GraftingPoint getRetrieveMarker(AreaNode areaNode)
Retrieves the GraftingPoint, if any, for a given area node.

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.