diff options
author | Simon Pepping <spepping@apache.org> | 2004-12-27 10:09:31 +0000 |
---|---|---|
committer | Simon Pepping <spepping@apache.org> | 2004-12-27 10:09:31 +0000 |
commit | 9dda491acd94e74030790d411487af483d4c7bc9 (patch) | |
tree | dfd59577a7154c498646e62bdaa072d6b126331f | |
parent | b00782f142334dffd37663b3eeed4544789703bd (diff) | |
download | xmlgraphics-fop-9dda491acd94e74030790d411487af483d4c7bc9.tar.gz xmlgraphics-fop-9dda491acd94e74030790d411487af483d4c7bc9.zip |
Added some comments.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198211 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | src/java/org/apache/fop/fo/flow/RetrieveMarker.java | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/src/java/org/apache/fop/fo/flow/RetrieveMarker.java b/src/java/org/apache/fop/fo/flow/RetrieveMarker.java index 0ad5b3afa..744728ae2 100644 --- a/src/java/org/apache/fop/fo/flow/RetrieveMarker.java +++ b/src/java/org/apache/fop/fo/flow/RetrieveMarker.java @@ -139,9 +139,10 @@ public class RetrieveMarker extends FObjMixed { /** * 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 @@ public class RetrieveMarker extends FObjMixed { /** * 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) { |