From fdabc4dd38c3903f8d141ca5e0cfdb241b400771 Mon Sep 17 00:00:00 2001 From: Keiron Liddle Date: Wed, 12 Sep 2001 09:30:40 +0000 Subject: made the construction of foreign name dom a bit more direct and simple reducing number of classes git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194461 13f79535-47bb-0310-9956-ffa450edef68 --- src/org/apache/fop/fo/FOTreeBuilder.java | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/org/apache/fop/fo/FOTreeBuilder.java') diff --git a/src/org/apache/fop/fo/FOTreeBuilder.java b/src/org/apache/fop/fo/FOTreeBuilder.java index 72ac6f146..359ca6fbc 100644 --- a/src/org/apache/fop/fo/FOTreeBuilder.java +++ b/src/org/apache/fop/fo/FOTreeBuilder.java @@ -140,6 +140,17 @@ public class FOTreeBuilder extends DefaultHandler implements TreeBuilder { } } + public void addPropertyListBuilder(String namespaceURI, + PropertyListBuilder propbuilder) { + PropertyListBuilder plb; + plb = (PropertyListBuilder)this.propertylistTable.get(namespaceURI); + if (plb == null) { + this.propertylistTable.put(namespaceURI, propbuilder); + } else { + // Error already added + } + } + /** * SAX Handler for characters */ -- cgit v1.2.3