diff options
author | Finn Bock <bckfnn@apache.org> | 2004-09-24 10:31:22 +0000 |
---|---|---|
committer | Finn Bock <bckfnn@apache.org> | 2004-09-24 10:31:22 +0000 |
commit | 1a797252805d6dde85e5003284136c9f9aefe521 (patch) | |
tree | 86379ed2e9670ce3536e5a4e70eacf18a93bed2a /src/java/org/apache/fop/fo | |
parent | 3242b5aeb4eb1b5a4877e0f7b7b9361aaa0af097 (diff) | |
download | xmlgraphics-fop-1a797252805d6dde85e5003284136c9f9aefe521.tar.gz xmlgraphics-fop-1a797252805d6dde85e5003284136c9f9aefe521.zip |
Moved from element mapping class names to element mapping objects.
This solves a potential problem where Class.forName() can't load the
element mapping class because the element mapping is only available
in a classloader below the one that loaded fop.jar.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197974 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/fo')
-rw-r--r-- | src/java/org/apache/fop/fo/FOTreeBuilder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/fo/FOTreeBuilder.java b/src/java/org/apache/fop/fo/FOTreeBuilder.java index 57af117de..7c973390e 100644 --- a/src/java/org/apache/fop/fo/FOTreeBuilder.java +++ b/src/java/org/apache/fop/fo/FOTreeBuilder.java @@ -130,7 +130,7 @@ public class FOTreeBuilder extends DefaultHandler { if (addlEMs != null) { for (int i = 0; i < addlEMs.size(); i++) { - addElementMapping((String) addlEMs.get(i)); + addElementMapping((ElementMapping) addlEMs.get(i)); } } } |