spepping 2004/12/27 02:09:31 Modified: src/java/org/apache/fop/fo/flow RetrieveMarker.java Log: Added some comments. Revision Changes Path 1.28 +10 -4 xml-fop/src/java/org/apache/fop/fo/flow/RetrieveMarker.java Index: RetrieveMarker.java =================================================================== RCS file: /home/cvs/xml-fop/src/java/org/apache/fop/fo/flow/RetrieveMarker.java,v retrieving revision 1.27 retrieving revision 1.28 diff -u -r1.27 -r1.28 --- RetrieveMarker.java 24 Dec 2004 12:06:26 -0000 1.27 +++ RetrieveMarker.java 27 Dec 2004 10:09:31 -0000 1.28 @@ -139,9 +139,10 @@ /** * Clone the subtree of marker, - * attach the new subtree to this node, - * reparent the property lists of the direct children - * to the property list of this node. + * and attach the new subtree to this node. + * The property lists are not cloned; + * the existing property lists of the direct children + * are reparented to the property list of this node. * @param marker the marker that is to be cloned * @param descPLists the map of the new nodes to property lists */ @@ -185,7 +186,12 @@ /** * Clone the subtree of marker - * and bind the nodes to the property values in this context + * and bind the nodes to the property values in this context. + * The property lists are not cloned, + * but the subtree is attached to the property list of this node. + * This is only needed for the binding of the FO nodes. + * After that a subsequent retrieve-marker + * may reparent the property lists. * @param marker the marker that is to be cloned */ public void bindMarker(Marker marker) {
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]