Browse Source

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
tags/Root_Temp_KnuthStylePageBreaking
Finn Bock 19 years ago
parent
commit
732269867e
1 changed files with 6 additions and 2 deletions
  1. 6
    2
      src/java/org/apache/fop/fo/extensions/Outline.java

+ 6
- 2
src/java/org/apache/fop/fo/extensions/Outline.java View File

@@ -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 =

Loading…
Cancel
Save