[aXSL-commit] SF.net SVN: axsl: [520] trunk/axsl/axsl-area-w/src/java/org/axsl/areaW/FOLinkage.java
An API for XSL-FO.
Status: Alpha
Brought to you by:
victormote
|
From: <vic...@us...> - 2006-05-08 17:24:04
|
Revision: 520 Author: victormote Date: 2006-05-06 14:28:01 -0700 (Sat, 06 May 2006) ViewCVS: http://svn.sourceforge.net/axsl/?rev=520&view=rev Log Message: ----------- Add features to FOLinkage. Modified Paths: -------------- trunk/axsl/axsl-area-w/src/java/org/axsl/areaW/FOLinkage.java Modified: trunk/axsl/axsl-area-w/src/java/org/axsl/areaW/FOLinkage.java =================================================================== --- trunk/axsl/axsl-area-w/src/java/org/axsl/areaW/FOLinkage.java 2006-05-06 16:10:32 UTC (rev 519) +++ trunk/axsl/axsl-area-w/src/java/org/axsl/areaW/FOLinkage.java 2006-05-06 21:28:01 UTC (rev 520) @@ -20,13 +20,54 @@ package org.axsl.areaW; -import org.axsl.areaW.AreaNode; +import org.axsl.foR.FONode; +import org.axsl.foR.FONodeResult; /** * Keeps track of which FONode generated which AreaNode(s). */ -public interface FOLinkage { +public interface FOLinkage extends FONodeResult { + public FONode getFONode() ; + public void registerGeneratedArea(AreaNode areaNode) ; + public void unregisterGeneratedArea(AreaNode areaNode) ; + + public AreaNode getFirstGeneratedBy() ; + + public AreaNode getPreviousGeneratedBy(AreaNode area) ; + + public AreaNode getNextGeneratedBy(AreaNode area) ; + + /** + * @param area An Area instance. + * @return True iff area is the first Area generated by this. + */ + public boolean isFirstGeneratedBy(AreaNode area) ; + + /** + * @param area An Area instance. + * @return True iff area is the first Area generated by this. + */ + public boolean isLastGeneratedBy(AreaNode area) ; + + /** + * @return The current count of areas that have been generated by the FObj. + */ + public int qtyAreasGenerated() ; + + /** + * @return The last AreaNode generated by the parent FObj. + */ + public AreaNode getLastGeneratedBy() ; + + /** + * @return The last Area generated by the parent FObj. + */ + public Area getLastAreaGeneratedBy() ; + + public Area firstNormalAreaReturned() ; + + public Area lastNormalAreaReturned() ; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |