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 ke...@apache.org on 2001/06/21 16:58:26 UTC

cvs commit: xml-fop/src/org/apache/fop/svg SVGElement.java

keiron      01/06/21 07:58:25

  Modified:    src/org/apache/fop/svg SVGElement.java
  Log:
  removed unneeded code
  
  Revision  Changes    Path
  1.5       +1 -25     xml-fop/src/org/apache/fop/svg/SVGElement.java
  
  Index: SVGElement.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/svg/SVGElement.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- SVGElement.java	2001/06/18 08:19:25	1.4
  +++ SVGElement.java	2001/06/21 14:58:22	1.5
  @@ -1,4 +1,4 @@
  -/* $Id: SVGElement.java,v 1.4 2001/06/18 08:19:25 keiron Exp $
  +/* $Id: SVGElement.java,v 1.5 2001/06/21 14:58:22 keiron Exp $
    * Copyright (C) 2001 The Apache Software Foundation. All rights reserved.
    * For details on use and redistribution please refer to the
    * LICENSE file included with these sources.
  @@ -136,29 +136,5 @@
   
           /* return status */
           return new Status(Status.OK);
  -    }
  -
  -    public void buildTopLevel(Document doc, Element svgRoot)
  -    {
  -        // build up the info for the top level element
  -        for (int count = 0; count < props.length; count++) {
  -            if (this.properties.get(props[count]) != null) {
  -                String rf = this.properties.get(props[count]).getString();
  -                if (rf != null)
  -                    svgRoot.setAttributeNS(null, props[count], rf);
  -            }
  -        }
  -        //doc.appendChild(topLevel);
  -        int numChildren = this.children.size();
  -        for (int i = 0; i < numChildren; i++) {
  -            Object child = children.elementAt(i);
  -            if (child instanceof SVGObj) {
  -                ((SVGObj) child).addGraphic(doc, svgRoot);
  -            } else if (child instanceof String) {
  -                org.w3c.dom.Text text = doc.createTextNode((String) child);
  -                svgRoot.appendChild(text);
  -            }
  -        }
  -
       }
   }
  
  
  

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