aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/area/RenderPagesModel.java
diff options
context:
space:
mode:
authorGlen Mazza <gmazza@apache.org>2004-10-24 00:03:50 +0000
committerGlen Mazza <gmazza@apache.org>2004-10-24 00:03:50 +0000
commit27a64b6b574de5bc1a6e2c9e8afd366d81d8a171 (patch)
tree465d35293d80703da917225cfa31e0a69b29caa5 /src/java/org/apache/fop/area/RenderPagesModel.java
parentda2d2ca07b1ed1c6c76efc0f26ac336b39b9b721 (diff)
downloadxmlgraphics-fop-27a64b6b574de5bc1a6e2c9e8afd366d81d8a171.tar.gz
xmlgraphics-fop-27a64b6b574de5bc1a6e2c9e8afd366d81d8a171.zip
PR:
Obtained from: Submitted by: Reviewed by: 1.) Rename of interface Resolveable to Resolvable. (http://dictionary.reference.com/search?q=resolvable) 2.) Reordering of methods in AreaTreeHandler, removal of unneeded TreeExt array. 3.) Switch from AreaTreeModel.addExtension() to .handleExtension(). 4.) Removal of unneeded TreeExt.getName() (unused), getMimeType() (implementation of an Area Tree extension up to each renderer), and isResolvable() (code changed to use instanceof operator instead). 5.) Couple of minor layout bugs fixed. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198098 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/area/RenderPagesModel.java')
-rw-r--r--src/java/org/apache/fop/area/RenderPagesModel.java10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/java/org/apache/fop/area/RenderPagesModel.java b/src/java/org/apache/fop/area/RenderPagesModel.java
index a12b6cfb6..458baab1b 100644
--- a/src/java/org/apache/fop/area/RenderPagesModel.java
+++ b/src/java/org/apache/fop/area/RenderPagesModel.java
@@ -175,15 +175,9 @@ public class RenderPagesModel extends StorePagesModel {
}
/**
- * Add an extension to this model.
- * If handle immediately then send directly to the renderer.
- * The after page ones are handled after the next page is added.
- * End of document extensions are added to a list to be
- * handled at the end.
- * @param ext the extension
- * @param when when to render the extension
+ * @see org.apache.fop.area.AreaTreeModel#handleExtension(TreeExt, int)
*/
- public void addExtension(TreeExt ext, int when) {
+ public void handleExtension(TreeExt ext, int when) {
switch(when) {
case TreeExt.IMMEDIATELY:
renderer.renderExtension(ext);