diff options
author | Glen Mazza <gmazza@apache.org> | 2004-12-02 01:36:09 +0000 |
---|---|---|
committer | Glen Mazza <gmazza@apache.org> | 2004-12-02 01:36:09 +0000 |
commit | 67d4426da31f4c7f6344d630388c3fa7095ad6ce (patch) | |
tree | faae66ec19654b1acab156f655fc473b9ef7f821 /src/java/org/apache/fop/area/PageViewport.java | |
parent | bfab061fc7b4f6f48120ffb2d04edd7e8d55644f (diff) | |
download | xmlgraphics-fop-67d4426da31f4c7f6344d630388c3fa7095ad6ce.tar.gz xmlgraphics-fop-67d4426da31f4c7f6344d630388c3fa7095ad6ce.zip |
More commenting, slightly clearer method names.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198182 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/area/PageViewport.java')
-rw-r--r-- | src/java/org/apache/fop/area/PageViewport.java | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/src/java/org/apache/fop/area/PageViewport.java b/src/java/org/apache/fop/area/PageViewport.java index a0bbe6a58..a0c87a5c0 100644 --- a/src/java/org/apache/fop/area/PageViewport.java +++ b/src/java/org/apache/fop/area/PageViewport.java @@ -160,13 +160,9 @@ public class PageViewport implements Resolvable, Cloneable { } /** - * This resolves reference with a list of pages. - * The pages (PageViewport) contain the rectangle of the area. - * @param id the id to resolve - * @param pages the list of pages with the id area - * may be null if not found + * @see org.apache.fop.area.Resolveable#resolveIDRef(String, List) */ - public void resolve(String id, List pages) { + public void resolveIDRef(String id, List pages) { if (page == null) { if (pendingResolved == null) { pendingResolved = new HashMap(); @@ -178,7 +174,7 @@ public class PageViewport implements Resolvable, Cloneable { if (todo != null) { for (int count = 0; count < todo.size(); count++) { Resolvable res = (Resolvable)todo.get(count); - res.resolve(id, pages); + res.resolveIDRef(id, pages); } } } @@ -337,7 +333,7 @@ public class PageViewport implements Resolvable, Cloneable { for (Iterator iter = pendingResolved.keySet().iterator(); iter.hasNext();) { String id = (String) iter.next(); - resolve(id, (List)pendingResolved.get(id)); + resolveIDRef(id, (List)pendingResolved.get(id)); } pendingResolved = null; } |