diff options
author | Finn Bock <bckfnn@apache.org> | 2004-10-19 13:43:22 +0000 |
---|---|---|
committer | Finn Bock <bckfnn@apache.org> | 2004-10-19 13:43:22 +0000 |
commit | 732269867ee965ab81e1f56c86b9cc0c6586e31c (patch) | |
tree | e1dde0e8494d72f340c965f36bf91e32520bf69c /src/java/org/apache/fop/fo/extensions | |
parent | 57cb0b6d92d298c870591910ef56aa6eac650379 (diff) | |
download | xmlgraphics-fop-732269867ee965ab81e1f56c86b9cc0c6586e31c.tar.gz xmlgraphics-fop-732269867ee965ab81e1f56c86b9cc0c6586e31c.zip |
Second phase of performance improvement.
- Move from addProperties() to processNode().
PR: 31699
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198064 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/fo/extensions')
-rw-r--r-- | src/java/org/apache/fop/fo/extensions/Outline.java | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/java/org/apache/fop/fo/extensions/Outline.java b/src/java/org/apache/fop/fo/extensions/Outline.java index ae0ef523e..6d3ed01ae 100644 --- a/src/java/org/apache/fop/fo/extensions/Outline.java +++ b/src/java/org/apache/fop/fo/extensions/Outline.java @@ -19,11 +19,13 @@ package org.apache.fop.fo.extensions; import org.apache.fop.fo.FONode; +import org.apache.fop.fo.PropertyList; import java.util.ArrayList; import org.xml.sax.Attributes; import org.xml.sax.SAXParseException; +import org.xml.sax.Locator; /** @@ -50,9 +52,11 @@ public class Outline extends ExtensionObj { * The attributes on the outline object are the internal and external * destination. One of these is required. * - * @see org.apache.fop.fo.FObj#addProperties + * @see org.apache.fop.fo.FObj#processNode */ - protected void addProperties(Attributes attlist) throws SAXParseException { + public void processNode(String elementName, Locator locator, + Attributes attlist, PropertyList propertyList) throws SAXParseException + { internalDestination = attlist.getValue("internal-destination"); externalDestination = |