[FOray-commit] SF.net SVN: foray: [7595] trunk/foray/foray-fotree/src/java/org/foray/fotree
Modular XSL-FO Implementation for Java.
Status: Alpha
Brought to you by:
victormote
|
From: <vic...@us...> - 2006-06-14 20:25:54
|
Revision: 7595 Author: victormote Date: 2006-06-14 13:25:45 -0700 (Wed, 14 Jun 2006) ViewCVS: http://svn.sourceforge.net/foray/?rev=7595&view=rev Log Message: ----------- 1. Conform to axsl Change: Remove two unused methods. 2. Rename method for consistency with standards. Modified Paths: -------------- trunk/foray/foray-fotree/src/java/org/foray/fotree/FObj.java trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/Root.java Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/FObj.java =================================================================== --- trunk/foray/foray-fotree/src/java/org/foray/fotree/FObj.java 2006-06-14 19:21:04 UTC (rev 7594) +++ trunk/foray/foray-fotree/src/java/org/foray/fotree/FObj.java 2006-06-14 20:25:45 UTC (rev 7595) @@ -185,23 +185,25 @@ } /** - * {@inheritDoc} + * @param context An object that knows how to resolve FO Tree context + * issues. + * @return The nearest ancestor FObj that generates reference areas. */ - public org.axsl.foR.FObj getNearestAncestorGeneratingRA(FOContext context) { + public org.axsl.foR.FObj ancestorGeneratingRA(FOContext context) { if (effectiveParent(context).traitIsReferenceArea()) { return effectiveParent(context); } - return effectiveParent(context).getNearestAncestorGeneratingRA(context); + return effectiveParent(context).ancestorGeneratingRA(context); } /** * @return Self or the nearest ancestor FObj that generates reference areas. */ - public org.axsl.foR.FObj getNearestGeneratingRA(FOContext context) { + public org.axsl.foR.FObj nearestGeneratingRA(FOContext context) { if (this.traitIsReferenceArea()) { return this; } - return getNearestAncestorGeneratingRA(context); + return ancestorGeneratingRA(context); } /** Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/Root.java =================================================================== --- trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/Root.java 2006-06-14 19:21:04 UTC (rev 7594) +++ trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/Root.java 2006-06-14 20:25:45 UTC (rev 7595) @@ -106,7 +106,7 @@ /** * Overrides the method in FObj because Root has no parent. */ - public org.axsl.foR.FObj getNearestAncestorGeneratingRA(FOContext context) { + public org.axsl.foR.FObj ancestorGeneratingRA(FOContext context) { return null; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |