You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by bc...@apache.org on 2004/10/19 15:43:22 UTC

cvs commit: xml-fop/src/java/org/apache/fop/fo/extensions Outline.java

bckfnn      2004/10/19 06:43:22

  Modified:    src/java/org/apache/fop/fo/extensions Outline.java
  Log:
  Second phase of performance improvement.
  - Move from addProperties() to processNode().
  
  PR: 31699
  
  Revision  Changes    Path
  1.10      +7 -3      xml-fop/src/java/org/apache/fop/fo/extensions/Outline.java
  
  Index: Outline.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/java/org/apache/fop/fo/extensions/Outline.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- Outline.java	4 Aug 2004 22:50:57 -0000	1.9
  +++ Outline.java	19 Oct 2004 13:43:22 -0000	1.10
  @@ -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 @@
        * 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 =
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-cvs-help@xml.apache.org