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...@locus.apache.org on 2000/07/18 07:39:51 UTC

cvs commit: xml-fop/src/org/apache/fop/dom/svg SVGAnimatedEnumerationImpl.java SVGAnimatedLengthImpl.java SVGAnimatedNumberImpl.java SVGAnimatedTransformListImpl.java GraphicElement.java GraphicImpl.java SVGArea.java SVGCircleElementImpl.java SVGClipPathElementImpl.java SVGCursorElementImpl.java SVGElementImpl.java SVGEllipseElementImpl.java SVGFilterElementImpl.java SVGGradientElementImpl.java SVGLineElementImpl.java SVGLinearGradientElementImpl.java SVGListImpl.java SVGMarkerElementImpl.java SVGMatrixImpl.java SVGPathElementImpl.java SVGPathSegImpl.java SVGPatternElementImpl.java SVGPolygonElementImpl.java SVGPolylineElementImpl.java SVGRadialGradientElementImpl.java SVGRectElementImpl.java SVGRectImpl.java SVGStopElementImpl.java SVGStyleElementImpl.java SVGSymbolElementImpl.java SVGTransformImpl.java SVGURIReferenceImpl.java SVGUseElementImpl.java

keiron      00/07/17 22:39:51

  Modified:    src/org/apache/fop/dom/svg GraphicElement.java
                        GraphicImpl.java SVGArea.java
                        SVGCircleElementImpl.java
                        SVGClipPathElementImpl.java
                        SVGCursorElementImpl.java SVGElementImpl.java
                        SVGEllipseElementImpl.java
                        SVGFilterElementImpl.java
                        SVGGradientElementImpl.java SVGLineElementImpl.java
                        SVGLinearGradientElementImpl.java SVGListImpl.java
                        SVGMarkerElementImpl.java SVGMatrixImpl.java
                        SVGPathElementImpl.java SVGPathSegImpl.java
                        SVGPatternElementImpl.java
                        SVGPolygonElementImpl.java
                        SVGPolylineElementImpl.java
                        SVGRadialGradientElementImpl.java
                        SVGRectElementImpl.java SVGRectImpl.java
                        SVGStopElementImpl.java SVGStyleElementImpl.java
                        SVGSymbolElementImpl.java SVGTransformImpl.java
                        SVGURIReferenceImpl.java SVGUseElementImpl.java
  Added:       src/org/apache/fop/dom/svg SVGAnimatedEnumerationImpl.java
                        SVGAnimatedLengthImpl.java
                        SVGAnimatedNumberImpl.java
                        SVGAnimatedTransformListImpl.java
  Log:
  changes for new java bindings
  
  Revision  Changes    Path
  1.2       +27 -9     xml-fop/src/org/apache/fop/dom/svg/GraphicElement.java
  
  Index: GraphicElement.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/dom/svg/GraphicElement.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- GraphicElement.java	2000/07/11 00:46:49	1.1
  +++ GraphicElement.java	2000/07/18 05:39:44	1.2
  @@ -1,4 +1,4 @@
  -/*-- $Id: GraphicElement.java,v 1.1 2000/07/11 00:46:49 keiron Exp $ -- 
  +/*-- $Id: GraphicElement.java,v 1.2 2000/07/18 05:39:44 keiron Exp $ -- 
   
    ============================================================================
                      The Apache Software License, Version 1.1
  @@ -75,19 +75,21 @@
   		return null;
   	}
   
  -	public SVGTransformList getTransform()
  +	public SVGAnimatedTransformList getTransform()
   	{
   		if(trans != null) {
   			SVGTransformList stl = new SVGTransformListImpl();
   			for(Enumeration e = trans.elements(); e.hasMoreElements(); ) {
  -				stl.append((SVGTransform)e.nextElement());
  +				stl.appendItem((SVGTransform)e.nextElement());
   			}
  -			return stl;
  +			SVGAnimatedTransformList atl = new SVGAnimatedTransformListImpl();
  +			atl.setBaseVal(stl);
  +			return atl;
   		}
   		return null;
   	}
   
  -	public void setTransform(SVGTransformList transform)
  +	public void setTransform(SVGAnimatedTransformList transform)
   	{
   	}
   
  @@ -130,21 +132,37 @@
   	{
   	}
   
  -	public String getSystemRequired()
  +	public SVGList getRequiredFeatures( )
   	{
   		return null;
   	}
   
  -	public void setSystemRequired(String systemRequired)
  +	public void setRequiredFeatures( SVGList requiredFeatures )
  +                       throws DOMException
   	{
   	}
   
  -	public String getSystemLanguage()
  +	public SVGList getRequiredExtensions( )
   	{
   		return null;
   	}
   
  -	public void setSystemLanguage(String systemLanguage)
  +	public void setRequiredExtensions( SVGList requiredExtensions )
  +                       throws DOMException
  +	{
  +	}
  +
  +	public boolean hasExtension ( String extension )
  +	{
  +		return false;
  +	}
  +
  +	public SVGList getSystemLanguage()
  +	{
  +		return null;
  +	}
  +
  +	public void setSystemLanguage(SVGList systemLanguage)
   	{
   	}
   
  
  
  
  1.2       +2 -2      xml-fop/src/org/apache/fop/dom/svg/GraphicImpl.java
  
  Index: GraphicImpl.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/dom/svg/GraphicImpl.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- GraphicImpl.java	2000/07/11 00:46:49	1.1
  +++ GraphicImpl.java	2000/07/18 05:39:44	1.2
  @@ -1,4 +1,4 @@
  -/*-- $Id: GraphicImpl.java,v 1.1 2000/07/11 00:46:49 keiron Exp $ -- 
  +/*-- $Id: GraphicImpl.java,v 1.2 2000/07/18 05:39:44 keiron Exp $ -- 
   
    ============================================================================
                      The Apache Software License, Version 1.1
  @@ -62,7 +62,7 @@
    */
   // use this so that the SVGArea can also hold style, defs and transform etc.
   public interface GraphicImpl {
  -	public Hashtable getStyle();
  +	public Hashtable oldgetStyle();
   	public void setParent(GraphicImpl g);
   	public GraphicImpl getGraphicParent();
   	public Vector oldgetTransform();	// ??
  
  
  
  1.4       +3 -3      xml-fop/src/org/apache/fop/dom/svg/SVGArea.java
  
  Index: SVGArea.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/dom/svg/SVGArea.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- SVGArea.java	2000/07/11 05:35:25	1.3
  +++ SVGArea.java	2000/07/18 05:39:44	1.4
  @@ -1,4 +1,4 @@
  -/*-- $Id: SVGArea.java,v 1.3 2000/07/11 05:35:25 keiron Exp $ -- 
  +/*-- $Id: SVGArea.java,v 1.4 2000/07/18 05:39:44 keiron Exp $ -- 
   
    ============================================================================
                      The Apache Software License, Version 1.1
  @@ -163,11 +163,11 @@
   		return (GraphicImpl)obj;
   	}
   
  -	public Hashtable getStyle()
  +	public Hashtable oldgetStyle()
   	{
   		Hashtable ret = null;
   		if(parent != null) {
  -			ret = parent.getStyle();
  +			ret = parent.oldgetStyle();
   			if(ret != null)
   				ret = (Hashtable)ret.clone();
   		}
  
  
  
  1.2       +12 -12    xml-fop/src/org/apache/fop/dom/svg/SVGCircleElementImpl.java
  
  Index: SVGCircleElementImpl.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/dom/svg/SVGCircleElementImpl.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- SVGCircleElementImpl.java	2000/07/11 00:46:50	1.1
  +++ SVGCircleElementImpl.java	2000/07/18 05:39:44	1.2
  @@ -1,4 +1,4 @@
  -/*-- $Id: SVGCircleElementImpl.java,v 1.1 2000/07/11 00:46:50 keiron Exp $ -- 
  +/*-- $Id: SVGCircleElementImpl.java,v 1.2 2000/07/18 05:39:44 keiron Exp $ -- 
   
    ============================================================================
                      The Apache Software License, Version 1.1
  @@ -57,9 +57,9 @@
    *
    */
   public class SVGCircleElementImpl extends GraphicElement implements SVGCircleElement {
  -	private SVGLength cx;
  -	private SVGLength cy;
  -	private SVGLength r;
  +	private SVGAnimatedLength cx;
  +	private SVGAnimatedLength cy;
  +	private SVGAnimatedLength r;
   
   	/**
   	 */
  @@ -67,41 +67,41 @@
   	{
   	}
   
  -	public String getClassName( )
  +/*	public String getClassName( )
   	{
   		return null;
   	}
   
   	public void setClassName( String className )
   	{
  -	}
  +	}*/
   
  -	public SVGLength getCx( )
  +	public SVGAnimatedLength getCx( )
   	{
   		return cx;
   	}
   
  -	public void setCx( SVGLength cx )
  +	public void setCx( SVGAnimatedLength cx )
   	{
   		this.cx = cx;
   	}
   
  -	public SVGLength getCy( )
  +	public SVGAnimatedLength getCy( )
   	{
   		return cy;
   	}
   
  -	public void setCy( SVGLength cy )
  +	public void setCy( SVGAnimatedLength cy )
   	{
   		this.cy = cy;
   	}
   
  -	public SVGLength getR( )
  +	public SVGAnimatedLength getR( )
   	{
   		return r;
   	}
   
  -	public void setR( SVGLength r )
  +	public void setR( SVGAnimatedLength r )
   	{
   		this.r = r;
   	}
  
  
  
  1.2       +4 -4      xml-fop/src/org/apache/fop/dom/svg/SVGClipPathElementImpl.java
  
  Index: SVGClipPathElementImpl.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/dom/svg/SVGClipPathElementImpl.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- SVGClipPathElementImpl.java	2000/07/11 00:46:51	1.1
  +++ SVGClipPathElementImpl.java	2000/07/18 05:39:44	1.2
  @@ -1,4 +1,4 @@
  -/*-- $Id: SVGClipPathElementImpl.java,v 1.1 2000/07/11 00:46:51 keiron Exp $ -- 
  +/*-- $Id: SVGClipPathElementImpl.java,v 1.2 2000/07/18 05:39:44 keiron Exp $ -- 
   
    ============================================================================
                      The Apache Software License, Version 1.1
  @@ -60,7 +60,7 @@
    */
   public class SVGClipPathElementImpl extends GraphicElement implements SVGClipPathElement {
   	public Vector elements;
  -	short units;
  +	SVGAnimatedEnumeration units;
   
   	public void addElement(GraphicImpl g)
   	{
  @@ -71,12 +71,12 @@
   	{
   	}
   
  -	public short getClipPathUnits( )
  +	public SVGAnimatedEnumeration getClipPathUnits( )
   	{
   		return units;
   	}
   
  -	public void setClipPathUnits(short clipPathUnits)
  +	public void setClipPathUnits(SVGAnimatedEnumeration clipPathUnits)
   	{
   		units = clipPathUnits;
   	}
  
  
  
  1.2       +7 -7      xml-fop/src/org/apache/fop/dom/svg/SVGCursorElementImpl.java
  
  Index: SVGCursorElementImpl.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/dom/svg/SVGCursorElementImpl.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- SVGCursorElementImpl.java	2000/07/11 00:46:51	1.1
  +++ SVGCursorElementImpl.java	2000/07/18 05:39:44	1.2
  @@ -1,4 +1,4 @@
  -/*-- $Id: SVGCursorElementImpl.java,v 1.1 2000/07/11 00:46:51 keiron Exp $ -- 
  +/*-- $Id: SVGCursorElementImpl.java,v 1.2 2000/07/18 05:39:44 keiron Exp $ -- 
   
    ============================================================================
                      The Apache Software License, Version 1.1
  @@ -57,29 +57,29 @@
    *
    */
   public class SVGCursorElementImpl extends SVGURIReferenceImpl implements SVGCursorElement {
  -	SVGLength x;
  -	SVGLength y;
  +	SVGAnimatedLength x;
  +	SVGAnimatedLength y;
   
   	public SVGCursorElementImpl()
   	{
   	}
   
  -	public SVGLength getX( )
  +	public SVGAnimatedLength getX( )
   	{
   		return x;
   	}
   
  -	public void setX( SVGLength x )
  +	public void setX( SVGAnimatedLength x )
   	{
   		this.x = x;
   	}
   
  -	public SVGLength getY( )
  +	public SVGAnimatedLength getY( )
   	{
   		return y;
   	}
   
  -	public void setY( SVGLength y )
  +	public void setY( SVGAnimatedLength y )
   	{
   		this.y = y;
   	}
  
  
  
  1.3       +40 -5     xml-fop/src/org/apache/fop/dom/svg/SVGElementImpl.java
  
  Index: SVGElementImpl.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/dom/svg/SVGElementImpl.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- SVGElementImpl.java	2000/07/15 20:39:49	1.2
  +++ SVGElementImpl.java	2000/07/18 05:39:45	1.3
  @@ -1,4 +1,4 @@
  -/*-- $Id: SVGElementImpl.java,v 1.2 2000/07/15 20:39:49 fotis Exp $ --
  +/*-- $Id: SVGElementImpl.java,v 1.3 2000/07/18 05:39:45 keiron Exp $ --
   
    ============================================================================
                      The Apache Software License, Version 1.1
  @@ -52,6 +52,8 @@
   
   import org.apache.fop.datatypes.*;
   
  +import org.w3c.dom.css.CSSStyleDeclaration;
  +import org.w3c.dom.css.CSSValue;
   import org.w3c.dom.svg.*;
   import org.w3c.dom.*;
   
  @@ -179,14 +181,14 @@
   		return null;
   	}
   
  -	public String getClassName()
  +/*	public String getClassName()
   	{
   		return null;
   	}
   
   	public void setClassName(String n)
   	{
  -	}
  +	}*/
   
       public String getNodeValue() throws DOMException
   	{
  @@ -330,6 +332,30 @@
   		return null;
   	}
   
  +	public SVGAnimatedString getClassName( )
  +	{
  +		return null;
  +	}
  +
  +	public void setClassName( SVGAnimatedString className )
  +	{
  +	}
  +
  +	public CSSValue getPresentationAttribute ( String name )
  +	{
  +		return null;
  +	}
  +
  +	public CSSValue getAnimatedPresentationAttribute ( String name )
  +	{
  +		return null;
  +	}
  +
  +	public CSSStyleDeclaration getStyle( )
  +	{
  +		return null;
  +	}
  +
   	GraphicImpl parent = null;
   	public GraphicImpl getGraphicParent()
   	{
  @@ -347,11 +373,11 @@
   		style = st;
   	}
   
  -	public Hashtable getStyle()
  +	public Hashtable oldgetStyle()
   	{
   		Hashtable ret = null;
   		if(parent != null) {
  -			ret = parent.getStyle();
  +			ret = parent.oldgetStyle();
   			if(ret != null)
   				ret = (Hashtable)ret.clone();
   		}
  @@ -451,5 +477,14 @@
   			}
   		}
   		return ret;*/
  +	}
  +
  +	public SVGAnimatedBoolean getExternalResourcesRequired( )
  +	{
  +		return null;
  +	}
  +
  +	public void setExternalResourcesRequired( SVGAnimatedBoolean externalResourcesRequired )
  +	{
   	}
   }
  
  
  
  1.2       +15 -15    xml-fop/src/org/apache/fop/dom/svg/SVGEllipseElementImpl.java
  
  Index: SVGEllipseElementImpl.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/dom/svg/SVGEllipseElementImpl.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- SVGEllipseElementImpl.java	2000/07/11 00:46:51	1.1
  +++ SVGEllipseElementImpl.java	2000/07/18 05:39:45	1.2
  @@ -1,4 +1,4 @@
  -/*-- $Id: SVGEllipseElementImpl.java,v 1.1 2000/07/11 00:46:51 keiron Exp $ -- 
  +/*-- $Id: SVGEllipseElementImpl.java,v 1.2 2000/07/18 05:39:45 keiron Exp $ -- 
   
    ============================================================================
                      The Apache Software License, Version 1.1
  @@ -59,10 +59,10 @@
    *
    */
   public class SVGEllipseElementImpl extends GraphicElement implements SVGEllipseElement {
  -	private SVGLength cx;
  -	private SVGLength cy;
  -	private SVGLength rx;
  -	private SVGLength ry;
  +	private SVGAnimatedLength cx;
  +	private SVGAnimatedLength cy;
  +	private SVGAnimatedLength rx;
  +	private SVGAnimatedLength ry;
   
   	/**
   	 */
  @@ -70,42 +70,42 @@
   	{
   	}
   
  -	public String getClassName( )
  +/*	public String getClassName( )
   	{
   		return null;
   	}
   	public void setClassName( String className )
   	{
  -	}
  -	public SVGLength getCx( )
  +	}*/
  +	public SVGAnimatedLength getCx( )
   	{
   		return cx;
   	}
  -	public void setCx( SVGLength cx )
  +	public void setCx( SVGAnimatedLength cx )
   	{
   		this.cx = cx;
   	}
  -	public SVGLength getCy( )
  +	public SVGAnimatedLength getCy( )
   	{
   		return cy;
   	}
  -	public void setCy( SVGLength cy )
  +	public void setCy( SVGAnimatedLength cy )
   	{
   		this.cy = cy;
   	}
  -	public SVGLength getRx( )
  +	public SVGAnimatedLength getRx( )
   	{
   		return rx;
   	}
  -	public void setRx( SVGLength rx )
  +	public void setRx( SVGAnimatedLength rx )
   	{
   		this.rx = rx;
   	}
  -	public SVGLength getRy( )
  +	public SVGAnimatedLength getRy( )
   	{
   		return ry;
   	}
  -	public void setRy( SVGLength ry )
  +	public void setRy( SVGAnimatedLength ry )
   	{
   		this.ry = ry;
   	}
  
  
  
  1.2       +30 -15    xml-fop/src/org/apache/fop/dom/svg/SVGFilterElementImpl.java
  
  Index: SVGFilterElementImpl.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/dom/svg/SVGFilterElementImpl.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- SVGFilterElementImpl.java	2000/07/11 00:46:52	1.1
  +++ SVGFilterElementImpl.java	2000/07/18 05:39:45	1.2
  @@ -1,4 +1,4 @@
  -/*-- $Id: SVGFilterElementImpl.java,v 1.1 2000/07/11 00:46:52 keiron Exp $ -- 
  +/*-- $Id: SVGFilterElementImpl.java,v 1.2 2000/07/18 05:39:45 keiron Exp $ -- 
   
    ============================================================================
                      The Apache Software License, Version 1.1
  @@ -62,64 +62,79 @@
   	{
   	}
   
  -	public short getFilterUnits( )
  +	public SVGAnimatedEnumeration getFilterUnits( )
   	{
  -		return 0;
  +		return null;
   	}
   
  -	public void setFilterUnits( short filterUnits )
  +	public void setFilterUnits( SVGAnimatedEnumeration filterUnits )
   	{
   	}
   
  -	public SVGLength getX( )
  +	public SVGAnimatedEnumeration getPrimitiveUnits( )
   	{
   		return null;
   	}
   
  -	public void setX( SVGLength x )
  +	public void setPrimitiveUnits( SVGAnimatedEnumeration filterUnits )
   	{
   	}
   
  -	public SVGLength getY( )
  +	public SVGAnimatedLength getX( )
   	{
   		return null;
   	}
   
  -	public void setY( SVGLength y )
  +	public void setX( SVGAnimatedLength x )
   	{
   	}
   
  -	public SVGLength getWidth( )
  +	public SVGAnimatedLength getY( )
   	{
   		return null;
   	}
   
  -	public void setWidth( SVGLength width )
  +	public void setY( SVGAnimatedLength y )
   	{
   	}
   
  -	public SVGLength getHeight( )
  +	public SVGAnimatedLength getWidth( )
   	{
   		return null;
   	}
   
  -	public void setHeight( SVGLength height )
  +	public void setWidth( SVGAnimatedLength width )
   	{
   	}
   
  -	public SVGInteger getFilterResX( )
  +	public SVGAnimatedLength getHeight( )
   	{
   		return null;
   	}
  +
  +	public void setHeight( SVGAnimatedLength height )
  +	{
  +	}
   
  -	public SVGInteger getFilterResY( )
  +	public SVGAnimatedInteger getFilterResX( )
   	{
   		return null;
   	}
   
  +	public SVGAnimatedInteger getFilterResY( )
  +	{
  +		return null;
  +	}
  +
  +	public void setFilterResX( SVGAnimatedInteger filterResX )
  +	{
  +	}
  +
  +	public void setFilterResY( SVGAnimatedInteger filterResY )
  +	{
  +	}
   
   	public void setFilterRes ( int filterResX, int filterResY )
  -	              throws SVGException
   	{
   	}
   }
  
  
  
  1.2       +28 -10    xml-fop/src/org/apache/fop/dom/svg/SVGGradientElementImpl.java
  
  Index: SVGGradientElementImpl.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/dom/svg/SVGGradientElementImpl.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- SVGGradientElementImpl.java	2000/07/11 00:46:52	1.1
  +++ SVGGradientElementImpl.java	2000/07/18 05:39:45	1.2
  @@ -1,4 +1,4 @@
  -/*-- $Id: SVGGradientElementImpl.java,v 1.1 2000/07/11 00:46:52 keiron Exp $ -- 
  +/*-- $Id: SVGGradientElementImpl.java,v 1.2 2000/07/18 05:39:45 keiron Exp $ -- 
   
    ============================================================================
                      The Apache Software License, Version 1.1
  @@ -58,33 +58,51 @@
    */
   public class SVGGradientElementImpl extends SVGURIReferenceImpl implements SVGGradientElement {
   /*
  -SVG_UNIT_TYPE_UNKNOWN
  -SVG_UNIT_TYPE_USERSPACE
  -SVG_UNIT_TYPE_USERSPACEONUSE
  -SVG_UNIT_TYPE_OBJECTBOUNDINGBOX
  +SVG_SPREADMETHOD_UNKNOWN;
  +SVG_SPREADMETHOD_PAD;
  +SVG_SPREADMETHOD_REFLECT;
  +SVG_SPREADMETHOD_REPEAT;
   */
  -	short units = SVG_UNIT_TYPE_UNKNOWN;
  +	SVGAnimatedEnumeration units = new SVGAnimatedEnumerationImpl(SVG_UNIT_TYPE_UNKNOWN);
   
   	public SVGGradientElementImpl()
   	{
   	}
   
  -	public short getGradientUnits( )
  +	public SVGAnimatedEnumeration getGradientUnits( )
   	{
   		return units;
   	}
   
  -	public void setGradientUnits(short gradientUnits)
  +	public void setGradientUnits(SVGAnimatedEnumeration gradientUnits)
   	{
   		units = gradientUnits;
   	}
   
  -	public SVGTransformList getGradientTransform()
  +	public SVGAnimatedTransformList getGradientTransform()
   	{
   		return null;
   	}
   
  -	public void setGradientTransform(SVGTransformList gradientTransform)
  +	public void setGradientTransform(SVGAnimatedTransformList gradientTransform)
  +	{
  +	}
  +
  +	public SVGAnimatedEnumeration   getSpreadMethod( )
  +	{
  +		return null;
  +	}
  +
  +	public void setSpreadMethod( SVGAnimatedEnumeration spreadMethod )
  +	{
  +	}
  +
  +	public SVGAnimatedBoolean getExternalResourcesRequired( )
  +	{
  +		return null;
  +	}
  +
  +	public void      setExternalResourcesRequired( SVGAnimatedBoolean externalResourcesRequired )
   	{
   	}
   }
  
  
  
  1.2       +32 -33    xml-fop/src/org/apache/fop/dom/svg/SVGLineElementImpl.java
  
  Index: SVGLineElementImpl.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/dom/svg/SVGLineElementImpl.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- SVGLineElementImpl.java	2000/07/11 00:46:53	1.1
  +++ SVGLineElementImpl.java	2000/07/18 05:39:45	1.2
  @@ -1,4 +1,4 @@
  -/*-- $Id: SVGLineElementImpl.java,v 1.1 2000/07/11 00:46:53 keiron Exp $ -- 
  +/*-- $Id: SVGLineElementImpl.java,v 1.2 2000/07/18 05:39:45 keiron Exp $ -- 
   
    ============================================================================
                      The Apache Software License, Version 1.1
  @@ -59,68 +59,67 @@
    * class representing a line in an SVG Area
    */
   public class SVGLineElementImpl extends GraphicElement implements SVGLineElement {
  +	/** x-coordinate of start */
  +	protected SVGAnimatedLength x1;
  +
  +	/** y-coordinate of start */
  +	protected SVGAnimatedLength y1;
  +
  +	/** x-coordinate of end */
  +	protected SVGAnimatedLength x2;
  +
  +	/** y-coordinate of end */
  +	protected SVGAnimatedLength y2;
  +
  +	/**
  +	 * construct a line graphic
  +	 *
  +	 * @param x1 x-coordinate of start
  +	 * @param y1 y-coordinate of start
  +	 * @param x2 x-coordinate of end
  +	 * @param y2 y-coordinate of end
  +	 */
  +	public SVGLineElementImpl()
  +	{
  +	}
   
  -  public SVGLength getX1( )
  +  public SVGAnimatedLength getX1( )
     {
     	return x1;
     }
   
  -  public void setX1( SVGLength x1 )
  +  public void setX1( SVGAnimatedLength x1 )
     {
   	this.x1 = x1;
     }
   
  -  public SVGLength getY1( )
  +  public SVGAnimatedLength getY1( )
     {
     	return y1;
     }
   
  -  public void setY1( SVGLength y1 )
  +  public void setY1( SVGAnimatedLength y1 )
     {
   	this.y1 = y1;
     }
   
  -  public SVGLength getX2( )
  +  public SVGAnimatedLength getX2( )
     {
     	return x2;
     }
   
  -  public void setX2( SVGLength x2 )
  +  public void setX2( SVGAnimatedLength x2 )
     {
   	this.x2 = x2;
     }
   
  -  public SVGLength getY2( )
  +  public SVGAnimatedLength getY2( )
     {
     	return y2;
     }
   
  -  public void setY2( SVGLength y2 )
  +  public void setY2( SVGAnimatedLength y2 )
     {
   	this.y2 = y2;
     }
  -
  -	/** x-coordinate of start */
  -	protected SVGLength x1;
  -
  -	/** y-coordinate of start */
  -	protected SVGLength y1;
  -
  -	/** x-coordinate of end */
  -	protected SVGLength x2;
  -
  -	/** y-coordinate of end */
  -	protected SVGLength y2;
  -
  -	/**
  -	 * construct a line graphic
  -	 *
  -	 * @param x1 x-coordinate of start
  -	 * @param y1 y-coordinate of start
  -	 * @param x2 x-coordinate of end
  -	 * @param y2 y-coordinate of end
  -	 */
  -	public SVGLineElementImpl()
  -	{
  -	}
   }
  
  
  
  1.2       +16 -16    xml-fop/src/org/apache/fop/dom/svg/SVGLinearGradientElementImpl.java
  
  Index: SVGLinearGradientElementImpl.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/dom/svg/SVGLinearGradientElementImpl.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- SVGLinearGradientElementImpl.java	2000/07/11 00:46:53	1.1
  +++ SVGLinearGradientElementImpl.java	2000/07/18 05:39:45	1.2
  @@ -1,4 +1,4 @@
  -/*-- $Id: SVGLinearGradientElementImpl.java,v 1.1 2000/07/11 00:46:53 keiron Exp $ -- 
  +/*-- $Id: SVGLinearGradientElementImpl.java,v 1.2 2000/07/18 05:39:45 keiron Exp $ -- 
   
    ============================================================================
                      The Apache Software License, Version 1.1
  @@ -59,57 +59,57 @@
   public class SVGLinearGradientElementImpl extends SVGGradientElementImpl
   	implements SVGLinearGradientElement {
   
  -	SVGLength x1;
  -	SVGLength x2;
  -	SVGLength y1;
  -	SVGLength y2;
  -	short spreadMethod;
  +	SVGAnimatedLength x1;
  +	SVGAnimatedLength x2;
  +	SVGAnimatedLength y1;
  +	SVGAnimatedLength y2;
  +//	short spreadMethod;
   
   	public SVGLinearGradientElementImpl()
   	{
   	}
   
  -	public SVGLength getX1()
  +	public SVGAnimatedLength getX1()
   	{
   		return x1;
   	}
   
  -	public void setX1(SVGLength x1)
  +	public void setX1(SVGAnimatedLength x1)
   	{
   		this.x1 = x1;
   	}
   
  -	public SVGLength getY1()
  +	public SVGAnimatedLength getY1()
   	{
   		return y1;
   	}
   
  -	public void setY1(SVGLength y1)
  +	public void setY1(SVGAnimatedLength y1)
   	{
   		this.y1 = y1;
   	}
   
  -	public SVGLength getX2()
  +	public SVGAnimatedLength getX2()
   	{
   		return x2;
   	}
   
  -	public void setX2(SVGLength x2)
  +	public void setX2(SVGAnimatedLength x2)
   	{
   		this.x2 = x2;
   	}
   
  -	public SVGLength getY2()
  +	public SVGAnimatedLength getY2()
   	{
   		return y2;
   	}
   
  -	public void setY2(SVGLength y2)
  +	public void setY2(SVGAnimatedLength y2)
   	{
   		this.y2 = y2;
   	}
   
  -	public short getSpreadMethod()
  +/*	public short getSpreadMethod()
   	{
   		return spreadMethod;
   	}
  @@ -117,5 +117,5 @@
   	public void setSpreadMethod(short spreadMethod)
   	{
   		this.spreadMethod = spreadMethod;
  -	}
  +	}*/
   }
  
  
  
  1.2       +6 -6      xml-fop/src/org/apache/fop/dom/svg/SVGListImpl.java
  
  Index: SVGListImpl.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/dom/svg/SVGListImpl.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- SVGListImpl.java	2000/07/11 00:46:53	1.1
  +++ SVGListImpl.java	2000/07/18 05:39:45	1.2
  @@ -1,4 +1,4 @@
  -/*-- $Id: SVGListImpl.java,v 1.1 2000/07/11 00:46:53 keiron Exp $ -- 
  +/*-- $Id: SVGListImpl.java,v 1.2 2000/07/18 05:39:45 keiron Exp $ -- 
   
    ============================================================================
                      The Apache Software License, Version 1.1
  @@ -58,7 +58,7 @@
   /**
    *
    */
  -class SVGListImpl implements SVGList {
  +public class SVGListImpl implements SVGList {
   	Vector list = new Vector();
   
   	public int getNumberOfItems( )
  @@ -89,19 +89,19 @@
   		return obj;
   	}
   
  -	public Object insertBefore(Object newItem, int index)
  +	public Object insertItemBefore(Object newItem, int index)
   		throws SVGException
   	{
   		return null;
   	}
   
  -	public Object replace(Object newItem, int index)
  +	public Object replaceItem(Object newItem, int index)
   		throws DOMException, SVGException
   	{
   		return null;
   	}
   
  -	public Object remove(int index)
  +	public Object removeItem(int index)
   		throws DOMException
   	{
   		Object obj = list.elementAt(index);
  @@ -109,7 +109,7 @@
   		return obj;
   	}
   
  -	public Object append(Object newItem)
  +	public Object appendItem(Object newItem)
   		throws SVGException
   	{
   		list.addElement(newItem);
  
  
  
  1.2       +22 -18    xml-fop/src/org/apache/fop/dom/svg/SVGMarkerElementImpl.java
  
  Index: SVGMarkerElementImpl.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/dom/svg/SVGMarkerElementImpl.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- SVGMarkerElementImpl.java	2000/07/11 00:46:53	1.1
  +++ SVGMarkerElementImpl.java	2000/07/18 05:39:46	1.2
  @@ -1,4 +1,4 @@
  -/*-- $Id: SVGMarkerElementImpl.java,v 1.1 2000/07/11 00:46:53 keiron Exp $ -- 
  +/*-- $Id: SVGMarkerElementImpl.java,v 1.2 2000/07/18 05:39:46 keiron Exp $ -- 
   
    ============================================================================
                      The Apache Software License, Version 1.1
  @@ -57,61 +57,61 @@
    *
    */
   public class SVGMarkerElementImpl extends GraphicElement implements SVGMarkerElement {
  -	short units;
  -	short otype;
  +	SVGAnimatedEnumeration units;
  +	SVGAnimatedEnumeration otype;
   
   	public SVGMarkerElementImpl()
   	{
   	}
   
  -	public short getMarkerUnits( )
  +	public SVGAnimatedEnumeration getMarkerUnits( )
   	{
   		return units;
   	}
   
  -	public short getOrientType( )
  +	public SVGAnimatedEnumeration getOrientType( )
   	{
   		return otype;
   	}
   
  -	public SVGAngle getOrientAngle( )
  +	public SVGAnimatedAngle getOrientAngle( )
   	{
   		return null;
   	}
   
  -	public SVGLength getRefX( )
  +	public SVGAnimatedLength getRefX( )
   	{
   		return null;
   	}
   
  -	public void setRefX( SVGLength refX )
  +	public void setRefX(SVGAnimatedLength refX)
   	{
   	}
   
  -	public SVGLength getRefY( )
  +	public SVGAnimatedLength getRefY( )
   	{
   		return null;
   	}
   
  -	public void setRefY( SVGLength refY )
  +	public void setRefY( SVGAnimatedLength refY )
   	{
   	}
   
  -	public SVGLength getMarkerWidth( )
  +	public SVGAnimatedLength getMarkerWidth( )
   	{
   		return null;
   	}
   
  -	public void setMarkerWidth( SVGLength markerWidth )
  +	public void setMarkerWidth( SVGAnimatedLength markerWidth )
   	{
   	}
   
  -	public SVGLength getMarkerHeight( )
  +	public SVGAnimatedLength getMarkerHeight( )
   	{
   		return null;
   	}
   
  -	public void setMarkerHeight( SVGLength markerHeight )
  +	public void setMarkerHeight( SVGAnimatedLength markerHeight )
   	{
   	}
   
  @@ -124,21 +124,25 @@
   	{
   	}
   
  -	public SVGRect getViewBox( )
  +	public SVGAnimatedRect getViewBox( )
   	{
   		return null;
   	}
   
  -	public void setViewBox( SVGRect viewBox )
  +	public void setViewBox( SVGAnimatedRect viewBox )
   	{
   	}
   
  -	public SVGPreserveAspectRatio getPreserveAspectRatio( )
  +	public SVGAnimatedPreserveAspectRatio getPreserveAspectRatio( )
   	{
   		return null;
   	}
   
  -	public void setPreserveAspectRatio( SVGPreserveAspectRatio preserveAspectRatio )
  +	public void setPreserveAspectRatio( SVGAnimatedPreserveAspectRatio preserveAspectRatio )
  +	{
  +	}
  +
  +	public void setMarkerUnits( SVGAnimatedEnumeration markerUnits )
   	{
   	}
   }
  
  
  
  1.2       +25 -40    xml-fop/src/org/apache/fop/dom/svg/SVGMatrixImpl.java
  
  Index: SVGMatrixImpl.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/dom/svg/SVGMatrixImpl.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- SVGMatrixImpl.java	2000/07/11 00:46:53	1.1
  +++ SVGMatrixImpl.java	2000/07/18 05:39:46	1.2
  @@ -1,4 +1,4 @@
  -/*-- $Id: SVGMatrixImpl.java,v 1.1 2000/07/11 00:46:53 keiron Exp $ -- 
  +/*-- $Id: SVGMatrixImpl.java,v 1.2 2000/07/18 05:39:46 keiron Exp $ -- 
   
    ============================================================================
                      The Apache Software License, Version 1.1
  @@ -64,8 +64,8 @@
   	float b = 0.0f;
   	float c = 0.0f;
   	float d = 1.0f;
  -	SVGLength e = new SVGLengthImpl();
  -	SVGLength f = new SVGLengthImpl();
  +	float e = 0.0f;
  +	float f = 0.0f;
   
   	public SVGMatrixImpl()
   	{
  @@ -111,22 +111,22 @@
   		this.d = d;
   	}
   
  -	public SVGLength getE( )
  +	public float getE( )
   	{
   		return e;
   	}
   
  -	public void setE( SVGLength e )
  +	public void setE( float e )
   	{
   		this.e = e;
   	}
   
  -	public SVGLength getF( )
  +	public float getF( )
   	{
   		return f;
   	}
   
  -	public void setF( SVGLength f )
  +	public void setF( float f )
   	{
   		this.f = f;
   	}
  @@ -140,13 +140,8 @@
   		mat.setC(c * secondMatrix.getA() + d * secondMatrix.getC());
   		mat.setD(c * secondMatrix.getB() + d * secondMatrix.getD());
   		// e,f?
  -		SVGLengthImpl len;
  -		len = new SVGLengthImpl();
  -		len.setValue(e.getValue() + secondMatrix.getE().getValue());
  -		mat.setE(len);
  -		len = new SVGLengthImpl();
  -		len.setValue(f.getValue() + secondMatrix.getF().getValue());
  -		mat.setF(len);
  +		mat.setE(e + secondMatrix.getE());
  +		mat.setF(f + secondMatrix.getF());
   		return mat;
   	}
   
  @@ -160,13 +155,8 @@
   		mat.setC((float)(-c / det));
   		mat.setD((float)(a / det));
   		// e,f?
  -		SVGLengthImpl len;
  -		len = new SVGLengthImpl();
  -		len.setValue(-e.getValue());
  -		mat.setE(len);
  -		len = new SVGLengthImpl();
  -		len.setValue(-f.getValue());
  -		mat.setF(len);
  +		mat.setE(-e);
  +		mat.setF(-f);
   		return mat;
   	}
   
  @@ -207,7 +197,7 @@
   				break;
   			}*/
   
  -	public SVGMatrix translate ( SVGLength x, SVGLength y )
  +	public SVGMatrix translate ( float x, float y )
   	              throws SVGException
   	{
   		SVGMatrix matrix = new SVGMatrixImpl();
  @@ -215,13 +205,8 @@
   		matrix.setB(b);
   		matrix.setC(c);
   		matrix.setD(d);
  -		SVGLength len;
  -		len = new SVGLengthImpl();
  -		len.setValue(e.getValue() + x.getValue());
  -		matrix.setE(len);
  -		len = new SVGLengthImpl();
  -		len.setValue(f.getValue() + y.getValue());
  -		matrix.setF(len);
  +		matrix.setE(e + x);
  +		matrix.setF(f + y);
   		return matrix;
   	}
   
  @@ -251,18 +236,18 @@
   		return matrix;
   	}
   
  -	public SVGMatrix rotate ( SVGAngle angle )
  +	public SVGMatrix rotate ( float angle )
   	              throws SVGException
   	{
   		SVGMatrix matrix = new SVGMatrixImpl();
  -		matrix.setA((float)Math.cos(angle.getValue()));
  -		matrix.setB((float)Math.sin(angle.getValue()));
  -		matrix.setC((float)-Math.sin(angle.getValue()));
  -		matrix.setD((float)Math.cos(angle.getValue()));
  +		matrix.setA((float)Math.cos(angle));
  +		matrix.setB((float)Math.sin(angle));
  +		matrix.setC((float)-Math.sin(angle));
  +		matrix.setD((float)Math.cos(angle));
   		return multiply(matrix);
   	}
   
  -	public SVGMatrix rotateFromVector(SVGLength x, SVGLength y) throws SVGException
  +	public SVGMatrix rotateFromVector(float x, float y) throws SVGException
   	{
   		return null;
   	}
  @@ -277,22 +262,22 @@
   		return null;
   	}
   
  -	public SVGMatrix skewX(SVGAngle angle) throws SVGException
  +	public SVGMatrix skewX(float angle) throws SVGException
   	{
   		SVGMatrix matrix = new SVGMatrixImpl();
   		matrix.setA(1);
  -		matrix.setB((float)Math.sin(angle.getValue()));
  +		matrix.setB((float)Math.sin(angle));
   		matrix.setC(0);
   		matrix.setD(1);
   		return multiply(matrix);
   	}
   
  -	public SVGMatrix skewY(SVGAngle angle) throws SVGException
  +	public SVGMatrix skewY(float angle) throws SVGException
   	{
   		SVGMatrix matrix = new SVGMatrixImpl();
   		matrix.setA(1);
   		matrix.setB(0);
  -		matrix.setC((float)-Math.sin(angle.getValue()));
  +		matrix.setC((float)-Math.sin(angle));
   		matrix.setD(1);
   		return multiply(matrix);
   	}
  @@ -300,6 +285,6 @@
   	public String toString()
   	{
   		return "[" + getA() + " " + getB() + " " + getC()
  -					+ " " + getD() + " " + getE().getValue() + " " + getF().getValue() + "]";
  +					+ " " + getD() + " " + getE() + " " + getF() + "]";
   	}
   }
  
  
  
  1.2       +114 -4    xml-fop/src/org/apache/fop/dom/svg/SVGPathElementImpl.java
  
  Index: SVGPathElementImpl.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/dom/svg/SVGPathElementImpl.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- SVGPathElementImpl.java	2000/07/11 00:46:54	1.1
  +++ SVGPathElementImpl.java	2000/07/18 05:39:46	1.2
  @@ -1,4 +1,4 @@
  -/*-- $Id: SVGPathElementImpl.java,v 1.1 2000/07/11 00:46:54 keiron Exp $ -- 
  +/*-- $Id: SVGPathElementImpl.java,v 1.2 2000/07/18 05:39:46 keiron Exp $ -- 
   
    ============================================================================
                      The Apache Software License, Version 1.1
  @@ -70,12 +70,12 @@
   		this.pathElements = v;
   	}
   
  -	public SVGNumber getLength()
  +	public SVGAnimatedNumber getPathLength()
   	{
   		return null;
   	}
   
  -	public void setLength( SVGNumber length )
  +	public void setPathLength( SVGAnimatedNumber length )
   	{
   	}
   
  @@ -106,7 +106,117 @@
   		return 0;
   	}
   
  -	public SVGPathSeg createSVGPathSeg()
  +	public short getPathSegType( )
  +	{
  +		return 0;
  +	}
  +
  +	public String getPathSegTypeAsLetter( )
  +	{
  +		return null;
  +	}
  +
  +	public SVGPathSegClosePath createSVGPathSegClosePath (  )
  +	{
  +		return null;
  +	}
  +
  +	public SVGPathSegMovetoAbs createSVGPathSegMovetoAbs ( float x, float y )
  +	{
  +		return null;
  +	}
  +
  +	public SVGPathSegMovetoRel createSVGPathSegMovetoRel ( float x, float y )
  +	{
  +		return null;
  +	}
  +
  +	public SVGPathSegLinetoAbs createSVGPathSegLinetoAbs ( float x, float y )
  +	{
  +		return null;
  +	}
  +
  +	public SVGPathSegLinetoRel createSVGPathSegLinetoRel ( float x, float y )
  +	{
  +		return null;
  +	}
  +
  +	public SVGPathSegCurvetoCubicAbs createSVGPathSegCurvetoCubicAbs ( float x, float y, float x1, float y1, float x2, float y2 )
  +	{
  +		return null;
  +	}
  +
  +	public SVGPathSegCurvetoCubicRel createSVGPathSegCurvetoCubicRel ( float x, float y, float x1, float y1, float x2, float y2 )
  +	{
  +		return null;
  +	}
  +
  +	public SVGPathSegCurvetoQuadraticAbs createSVGPathSegCurvetoQuadraticAbs ( float x, float y, float x1, float y1 )
  +	{
  +		return null;
  +	}
  +
  +	public SVGPathSegCurvetoQuadraticRel createSVGPathSegCurvetoQuadraticRel ( float x, float y, float x1, float y1 )
  +	{
  +		return null;
  +	}
  +
  +	public SVGPathSegArcAbs createSVGPathSegArcAbs ( float x, float y, float r1, float r2, float angle, boolean largeArcFlag, boolean sweepFlag )
  +	{
  +		return null;
  +	}
  +
  +	public SVGPathSegArcRel createSVGPathSegArcRel ( float x, float y, float r1, float r2, float angle, boolean largeArcFlag, boolean sweepFlag )
  +	{
  +		return null;
  +	}
  +
  +	public SVGPathSegLinetoHorizontalAbs createSVGPathSegLinetoHorizontalAbs ( float x )
  +	{
  +		return null;
  +	}
  +
  +	public SVGPathSegLinetoHorizontalRel createSVGPathSegLinetoHorizontalRel ( float x )
  +	{
  +		return null;
  +	}
  +
  +	public SVGPathSegLinetoVerticalAbs createSVGPathSegLinetoVerticalAbs ( float y )
  +	{
  +		return null;
  +	}
  +
  +	public SVGPathSegLinetoVerticalRel createSVGPathSegLinetoVerticalRel ( float y )
  +	{
  +		return null;
  +	}
  +
  +	public SVGPathSegCurvetoCubicSmoothAbs createSVGPathSegCurvetoCubicSmoothAbs ( float x, float y, float x2, float y2 )
  +	{
  +		return null;
  +	}
  +
  +	public SVGPathSegCurvetoCubicSmoothRel createSVGPathSegCurvetoCubicSmoothRel ( float x, float y, float x2, float y2 )
  +	{
  +		return null;
  +	}
  +
  +	public SVGPathSegCurvetoQuadraticSmoothAbs createSVGPathSegCurvetoQuadraticSmoothAbs ( float x, float y )
  +	{
  +		return null;
  +	}
  +
  +	public SVGPathSegCurvetoQuadraticSmoothRel createSVGPathSegCurvetoQuadraticSmoothRel ( float x, float y )
  +	{
  +		return null;
  +	}
  +
  +	public SVGList   getAnimatedPathSegList( )
  +	{
  +		return null;
  +	}
  +
  +	public SVGList   getAnimatedNormalizedPathSegList( )
   	{
   		return null;
   	}
  
  
  
  1.2       +3 -3      xml-fop/src/org/apache/fop/dom/svg/SVGPathSegImpl.java
  
  Index: SVGPathSegImpl.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/dom/svg/SVGPathSegImpl.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- SVGPathSegImpl.java	2000/07/11 00:46:54	1.1
  +++ SVGPathSegImpl.java	2000/07/18 05:39:46	1.2
  @@ -1,4 +1,4 @@
  -/*-- $Id: SVGPathSegImpl.java,v 1.1 2000/07/11 00:46:54 keiron Exp $ -- 
  +/*-- $Id: SVGPathSegImpl.java,v 1.2 2000/07/18 05:39:46 keiron Exp $ -- 
   
    ============================================================================
                      The Apache Software License, Version 1.1
  @@ -84,7 +84,7 @@
   	{
   	}
   
  -	public float getX( )
  +/*	public float getX( )
   	{
   		return 0;
   	}
  @@ -181,5 +181,5 @@
   
   	public void setSweepFlag( boolean sweepFlag )
   	{
  -	}
  +	}*/
   }
  
  
  
  1.2       +18 -18    xml-fop/src/org/apache/fop/dom/svg/SVGPatternElementImpl.java
  
  Index: SVGPatternElementImpl.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/dom/svg/SVGPatternElementImpl.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- SVGPatternElementImpl.java	2000/07/11 00:46:54	1.1
  +++ SVGPatternElementImpl.java	2000/07/18 05:39:46	1.2
  @@ -1,4 +1,4 @@
  -/*-- $Id: SVGPatternElementImpl.java,v 1.1 2000/07/11 00:46:54 keiron Exp $ -- 
  +/*-- $Id: SVGPatternElementImpl.java,v 1.2 2000/07/18 05:39:46 keiron Exp $ -- 
   
    ============================================================================
                      The Apache Software License, Version 1.1
  @@ -61,75 +61,75 @@
   	public SVGPatternElementImpl() {
   	}
   
  -	public short getPatternUnits( )
  +	public SVGAnimatedEnumeration getPatternUnits( )
   	{
  -		return 0;
  +		return null;
   	}
   
  -	public void setPatternUnits( short patternUnits )
  +	public void setPatternUnits( SVGAnimatedEnumeration patternUnits )
   	{
   	}
   
  -	public SVGTransformList getPatternTransform( )
  +	public SVGAnimatedTransformList getPatternTransform( )
   	{
   		return null;
   	}
   
  -	public void setPatternTransform( SVGTransformList patternTransform )
  +	public void setPatternTransform( SVGAnimatedTransformList patternTransform )
   	{
   	}
   
  -	public SVGLength getX( )
  +	public SVGAnimatedLength getX( )
   	{
   		return null;
   	}
   
  -	public void setX( SVGLength x )
  +	public void setX( SVGAnimatedLength x )
   	{
   	}
   
  -	public SVGLength getY( )
  +	public SVGAnimatedLength getY( )
   	{
   		return null;
   	}
   
  -	public void setY( SVGLength y )
  +	public void setY( SVGAnimatedLength y )
   	{
   	}
   
  -	public SVGLength getWidth( )
  +	public SVGAnimatedLength getWidth( )
   	{
   		return null;
   	}
   
  -	public void setWidth( SVGLength width )
  +	public void setWidth( SVGAnimatedLength width )
   	{
   	}
   
  -	public SVGLength getHeight( )
  +	public SVGAnimatedLength getHeight( )
   	{
   		return null;
   	}
   
  -	public void setHeight( SVGLength height )
  +	public void setHeight( SVGAnimatedLength height )
   	{
   	}
   
  -	public SVGRect getViewBox( )
  +	public SVGAnimatedRect getViewBox( )
   	{
   		return null;
   	}
   
  -	public void setViewBox( SVGRect viewBox )
  +	public void setViewBox( SVGAnimatedRect viewBox )
   	{
   	}
   
  -	public SVGPreserveAspectRatio getPreserveAspectRatio( )
  +	public SVGAnimatedPreserveAspectRatio getPreserveAspectRatio( )
   	{
   		return null;
   	}
   
  -	public void setPreserveAspectRatio( SVGPreserveAspectRatio preserveAspectRatio)
  +	public void setPreserveAspectRatio( SVGAnimatedPreserveAspectRatio preserveAspectRatio)
   	{
   	}
   }
  
  
  
  1.2       +6 -1      xml-fop/src/org/apache/fop/dom/svg/SVGPolygonElementImpl.java
  
  Index: SVGPolygonElementImpl.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/dom/svg/SVGPolygonElementImpl.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- SVGPolygonElementImpl.java	2000/07/11 00:46:54	1.1
  +++ SVGPolygonElementImpl.java	2000/07/18 05:39:46	1.2
  @@ -1,4 +1,4 @@
  -/*-- $Id: SVGPolygonElementImpl.java,v 1.1 2000/07/11 00:46:54 keiron Exp $ -- 
  +/*-- $Id: SVGPolygonElementImpl.java,v 1.2 2000/07/18 05:39:46 keiron Exp $ -- 
   
    ============================================================================
                      The Apache Software License, Version 1.1
  @@ -68,6 +68,11 @@
   	}
   
   	public SVGList getPoints( )
  +	{
  +		return null;
  +	}
  +
  +	public SVGList getAnimatedPoints( )
   	{
   		return null;
   	}
  
  
  
  1.2       +15 -1     xml-fop/src/org/apache/fop/dom/svg/SVGPolylineElementImpl.java
  
  Index: SVGPolylineElementImpl.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/dom/svg/SVGPolylineElementImpl.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- SVGPolylineElementImpl.java	2000/07/11 00:46:54	1.1
  +++ SVGPolylineElementImpl.java	2000/07/18 05:39:46	1.2
  @@ -1,4 +1,4 @@
  -/*-- $Id: SVGPolylineElementImpl.java,v 1.1 2000/07/11 00:46:54 keiron Exp $ -- 
  +/*-- $Id: SVGPolylineElementImpl.java,v 1.2 2000/07/18 05:39:46 keiron Exp $ -- 
   
    ============================================================================
                      The Apache Software License, Version 1.1
  @@ -71,4 +71,18 @@
   	{
   		return null;
   	}
  +
  +	public SVGList getAnimatedPoints( )
  +	{
  +	    return null;
  +	}
  +
  +/*	public SVGAnimatedBoolean getExternalResourcesRequired( )
  +	{
  +		return null;
  +	}
  +
  +	public void setExternalResourcesRequired( SVGAnimatedBoolean externalResourcesRequired )
  +	{
  +	}*/
   }
  
  
  
  1.2       +16 -16    xml-fop/src/org/apache/fop/dom/svg/SVGRadialGradientElementImpl.java
  
  Index: SVGRadialGradientElementImpl.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/dom/svg/SVGRadialGradientElementImpl.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- SVGRadialGradientElementImpl.java	2000/07/11 00:46:55	1.1
  +++ SVGRadialGradientElementImpl.java	2000/07/18 05:39:46	1.2
  @@ -1,4 +1,4 @@
  -/*-- $Id: SVGRadialGradientElementImpl.java,v 1.1 2000/07/11 00:46:55 keiron Exp $ -- 
  +/*-- $Id: SVGRadialGradientElementImpl.java,v 1.2 2000/07/18 05:39:46 keiron Exp $ -- 
   
    ============================================================================
                      The Apache Software License, Version 1.1
  @@ -57,62 +57,62 @@
    *
    */
   public class SVGRadialGradientElementImpl extends SVGGradientElementImpl implements SVGRadialGradientElement {
  -	SVGLength cx;
  -	SVGLength cy;
  -	SVGLength r;
  -	SVGLength fx;
  -	SVGLength fy;
  +	SVGAnimatedLength cx;
  +	SVGAnimatedLength cy;
  +	SVGAnimatedLength r;
  +	SVGAnimatedLength fx;
  +	SVGAnimatedLength fy;
   
   	public SVGRadialGradientElementImpl()
   	{
   	}
   
  -	public SVGLength getCx()
  +	public SVGAnimatedLength getCx()
   	{
   		return cx;
   	}
   
  -	public void setCx(SVGLength cx)
  +	public void setCx(SVGAnimatedLength cx)
   	{
   		this.cx = cx;
   	}
   
  -	public SVGLength getCy()
  +	public SVGAnimatedLength getCy()
   	{
   		return cy;
   	}
   
  -	public void setCy(SVGLength cy)
  +	public void setCy(SVGAnimatedLength cy)
   	{
   		this.cy = cy;
   	}
   
  -	public SVGLength getR()
  +	public SVGAnimatedLength getR()
   	{
   		return r;
   	}
   
  -	public void setR(SVGLength r)
  +	public void setR(SVGAnimatedLength r)
   	{
   		this.r = r;
   	}
   
  -	public SVGLength getFx()
  +	public SVGAnimatedLength getFx()
   	{
   		return fx;
   	}
   
  -	public void setFx(SVGLength fx)
  +	public void setFx(SVGAnimatedLength fx)
   	{
   		this.fx = fx;
   	}
   
  -	public SVGLength getFy()
  +	public SVGAnimatedLength getFy()
   	{
   		return fy;
   	}
   
  -	public void setFy(SVGLength fy)
  +	public void setFy(SVGAnimatedLength fy)
   	{
   		this.fy = fy;
   	}
  
  
  
  1.2       +21 -30    xml-fop/src/org/apache/fop/dom/svg/SVGRectElementImpl.java
  
  Index: SVGRectElementImpl.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/dom/svg/SVGRectElementImpl.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- SVGRectElementImpl.java	2000/07/11 00:46:55	1.1
  +++ SVGRectElementImpl.java	2000/07/18 05:39:46	1.2
  @@ -1,4 +1,4 @@
  -/*-- $Id: SVGRectElementImpl.java,v 1.1 2000/07/11 00:46:55 keiron Exp $ -- 
  +/*-- $Id: SVGRectElementImpl.java,v 1.2 2000/07/18 05:39:46 keiron Exp $ -- 
   
    ============================================================================
                      The Apache Software License, Version 1.1
  @@ -60,16 +60,16 @@
   public class SVGRectElementImpl extends GraphicElement implements SVGRectElement {
   
   	/** x-coordinate of corner */
  -	private SVGLength x;
  +	private SVGAnimatedLength x;
   
   	/** y-coordinate of corner */
  -	private SVGLength y;
  +	private SVGAnimatedLength y;
   
   	/** width of rectangle */
  -	private SVGLength width;
  +	private SVGAnimatedLength width;
   
   	/** height of rectangle */
  -	private SVGLength height;
  +	private SVGAnimatedLength height;
   
   	/**
   	 * construct a rectangle graphic.
  @@ -85,74 +85,65 @@
   	public SVGRect getBBox()
   	{
   		SVGRect rect = new SVGRectImpl();
  -		SVGNumber num;
  -		num = new SVGNumberImpl();
  -		num.setValue(x.getValue());
  -		rect.setX(num);
  -		num = new SVGNumberImpl();
  -		num.setValue(y.getValue());
  -		rect.setY(num);
  -		num = new SVGNumberImpl();
  -		num.setValue(width.getValue());
  -		rect.setWidth(num);
  -		num = new SVGNumberImpl();
  -		num.setValue(height.getValue());
  -		rect.setHeight(num);
  +		rect.setX(x.getBaseVal().getValue());
  +		rect.setY(y.getBaseVal().getValue());
  +		rect.setWidth(width.getBaseVal().getValue());
  +		rect.setHeight(height.getBaseVal().getValue());
   		return rect;
   	}
   
  -	public SVGLength getX( )
  +	public SVGAnimatedLength getX( )
   	{
   		return x;
   	}
   
  -	public void setX( SVGLength x )
  +	public void setX( SVGAnimatedLength x )
   	{
   		this.x = x;
   	}
   
  -	public SVGLength getY( )
  +	public SVGAnimatedLength getY( )
   	{
   		return y;
   	}
   
  -	public void setY( SVGLength y )
  +	public void setY( SVGAnimatedLength y )
   	{
   		this.y = y;
   	}
   
  -	public SVGLength getWidth( )
  +	public SVGAnimatedLength getWidth( )
   	{
   		return width;
   	}
   
  -	public void setWidth( SVGLength width )
  +	public void setWidth( SVGAnimatedLength width )
   	{
   		this.width = width;
   	}
   
  -	public SVGLength getHeight( )
  +	public SVGAnimatedLength getHeight( )
   	{
   		return height;
   	}
   
  -	public void setHeight( SVGLength height )
  +	public void setHeight( SVGAnimatedLength height )
   	{
   		this.height = height;
   	}
   
  -	public SVGLength getRx( )
  +	public SVGAnimatedLength getRx( )
   	{
   		return null;
   	}
  -	public void setRx( SVGLength rx )
  +	public void setRx( SVGAnimatedLength rx )
   	{
   	}
  -	public SVGLength getRy( )
  +	public SVGAnimatedLength getRy( )
   	{
   		return null;
   	}
  -	public void setRy( SVGLength ry )
  +	public void setRy( SVGAnimatedLength ry )
   	{
   	}
   }
  
  
  
  1.2       +14 -14    xml-fop/src/org/apache/fop/dom/svg/SVGRectImpl.java
  
  Index: SVGRectImpl.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/dom/svg/SVGRectImpl.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- SVGRectImpl.java	2000/07/11 00:46:55	1.1
  +++ SVGRectImpl.java	2000/07/18 05:39:47	1.2
  @@ -1,4 +1,4 @@
  -/*-- $Id: SVGRectImpl.java,v 1.1 2000/07/11 00:46:55 keiron Exp $ -- 
  +/*-- $Id: SVGRectImpl.java,v 1.2 2000/07/18 05:39:47 keiron Exp $ -- 
   
    ============================================================================
                      The Apache Software License, Version 1.1
  @@ -60,51 +60,51 @@
    *
    */
   public class SVGRectImpl implements SVGRect {
  -	SVGNumber x;
  -	SVGNumber y;
  -	SVGNumber width;
  -	SVGNumber height;
  +	float x;
  +	float y;
  +	float width;
  +	float height;
   
  -	SVGRectImpl()
  +	public SVGRectImpl()
   	{
   	}
   
  -	public SVGNumber getX( )
  +	public float getX( )
   	{
   		return x;
   	}
   
  -	public void setX( SVGNumber x )
  +	public void setX(float x )
   	{
   		this.x = x;
   	}
   
  -	public SVGNumber getY( )
  +	public float getY( )
   	{
   		return y;
   	}
   
  -	public void setY( SVGNumber y )
  +	public void setY(float y )
   	{
   		this.y = y;
   	}
   
  -	public SVGNumber getWidth( )
  +	public float getWidth( )
   	{
   		return width;
   	}
   
  -	public void setWidth( SVGNumber width )
  +	public void setWidth(float width )
   	{
   		this.width = width;
   	}
   
  -	public SVGNumber getHeight( )
  +	public float getHeight( )
   	{
   		return height;
   	}
   
  -	public void setHeight( SVGNumber height )
  +	public void setHeight(float height )
   	{
   		this.height = height;
   	}
  
  
  
  1.2       +4 -4      xml-fop/src/org/apache/fop/dom/svg/SVGStopElementImpl.java
  
  Index: SVGStopElementImpl.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/dom/svg/SVGStopElementImpl.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- SVGStopElementImpl.java	2000/07/11 00:46:55	1.1
  +++ SVGStopElementImpl.java	2000/07/18 05:39:47	1.2
  @@ -1,4 +1,4 @@
  -/*-- $Id: SVGStopElementImpl.java,v 1.1 2000/07/11 00:46:55 keiron Exp $ -- 
  +/*-- $Id: SVGStopElementImpl.java,v 1.2 2000/07/18 05:39:47 keiron Exp $ -- 
   
    ============================================================================
                      The Apache Software License, Version 1.1
  @@ -57,18 +57,18 @@
    *
    */
   public class SVGStopElementImpl extends SVGElementImpl implements SVGStopElement {
  -	float offset;
  +	SVGAnimatedNumber offset;
   
   	public SVGStopElementImpl()
   	{
   	}
   
  -	public float getOffset()
  +	public SVGAnimatedNumber getOffset()
   	{
   		return offset;
   	}
   
  -	public void setOffset(float offset)
  +	public void setOffset(SVGAnimatedNumber offset)
   	{
   		this.offset = offset;
   	}
  
  
  
  1.2       +19 -1     xml-fop/src/org/apache/fop/dom/svg/SVGStyleElementImpl.java
  
  Index: SVGStyleElementImpl.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/dom/svg/SVGStyleElementImpl.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- SVGStyleElementImpl.java	2000/07/11 00:46:55	1.1
  +++ SVGStyleElementImpl.java	2000/07/18 05:39:47	1.2
  @@ -1,4 +1,4 @@
  -/*-- $Id: SVGStyleElementImpl.java,v 1.1 2000/07/11 00:46:55 keiron Exp $ -- 
  +/*-- $Id: SVGStyleElementImpl.java,v 1.2 2000/07/18 05:39:47 keiron Exp $ -- 
   
    ============================================================================
                      The Apache Software License, Version 1.1
  @@ -71,5 +71,23 @@
   	public void setType(String type)
   	{
   		this.type = type;
  +	}
  +
  +	public String getMedia( )
  +	{
  +	    return null;
  +	}
  +
  +	public void setMedia( String media )
  +	{
  +	}
  +
  +	public String getTitle( )
  +	{
  +	    return null;
  +	}
  +
  +	public void setTitle( String title )
  +	{
   	}
   }
  
  
  
  1.2       +5 -5      xml-fop/src/org/apache/fop/dom/svg/SVGSymbolElementImpl.java
  
  Index: SVGSymbolElementImpl.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/dom/svg/SVGSymbolElementImpl.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- SVGSymbolElementImpl.java	2000/07/11 00:46:55	1.1
  +++ SVGSymbolElementImpl.java	2000/07/18 05:39:47	1.2
  @@ -1,4 +1,4 @@
  -/*-- $Id: SVGSymbolElementImpl.java,v 1.1 2000/07/11 00:46:55 keiron Exp $ -- 
  +/*-- $Id: SVGSymbolElementImpl.java,v 1.2 2000/07/18 05:39:47 keiron Exp $ -- 
   
    ============================================================================
                      The Apache Software License, Version 1.1
  @@ -62,21 +62,21 @@
   	{
   	}
   
  -	public SVGRect getViewBox()
  +	public SVGAnimatedRect getViewBox()
   	{
   		return null;
   	}
   
  -	public void setViewBox(SVGRect viewBox)
  +	public void setViewBox(SVGAnimatedRect viewBox)
   	{
   	}
   
  -	public SVGPreserveAspectRatio getPreserveAspectRatio( )
  +	public SVGAnimatedPreserveAspectRatio getPreserveAspectRatio( )
   	{
   		return null;
   	}
   
  -	public void setPreserveAspectRatio(SVGPreserveAspectRatio preserveAspectRatio)
  +	public void setPreserveAspectRatio(SVGAnimatedPreserveAspectRatio preserveAspectRatio)
   	{
   	}
   }
  
  
  
  1.2       +10 -11    xml-fop/src/org/apache/fop/dom/svg/SVGTransformImpl.java
  
  Index: SVGTransformImpl.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/dom/svg/SVGTransformImpl.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- SVGTransformImpl.java	2000/07/11 00:46:56	1.1
  +++ SVGTransformImpl.java	2000/07/18 05:39:47	1.2
  @@ -1,4 +1,4 @@
  -/*-- $Id: SVGTransformImpl.java,v 1.1 2000/07/11 00:46:56 keiron Exp $ -- 
  +/*-- $Id: SVGTransformImpl.java,v 1.2 2000/07/18 05:39:47 keiron Exp $ -- 
   
    ============================================================================
                      The Apache Software License, Version 1.1
  @@ -77,44 +77,43 @@
   		return matrix;
   	}
   
  -	public SVGAngle getAngle( )
  +	public float getAngle( )
   	{
  -		return null;
  +		return 0.0f;
   	}
   
   	public void setMatrix ( SVGMatrix matrix )
  -	              throws SVGException
   	{
   		this.matrix = matrix;
   	}
   
  -	public void setTranslate ( SVGLength tx, SVGLength ty )
  +	public void setTranslate ( float tx, float ty )
   	              throws SVGException
   	{
   		matrix.setE(tx);
   		matrix.setF(ty);
   	}
   
  -	public void setScale ( SVGNumber sx, SVGNumber sy )
  +	public void setScale ( float sx, float sy )
   	              throws SVGException
   	{
  -		matrix.setA(sx.getValue());
  -		matrix.setD(sy.getValue());
  +		matrix.setA(sx);
  +		matrix.setD(sy);
   	}
   
  -	public void setRotate ( SVGAngle angle )
  +	public void setRotate (float angle, float cx, float cy)
   	              throws SVGException
   	{
   		matrix = matrix.rotate(angle);
   	}
   
  -	public void setSkewX ( SVGAngle angle )
  +	public void setSkewX ( float angle )
   	              throws SVGException
   	{
   		matrix = matrix.skewX(angle);
   	}
   
  -	public void setSkewY ( SVGAngle angle )
  +	public void setSkewY ( float angle )
   	              throws SVGException
   	{
   		matrix = matrix.skewY(angle);
  
  
  
  1.2       +13 -4     xml-fop/src/org/apache/fop/dom/svg/SVGURIReferenceImpl.java
  
  Index: SVGURIReferenceImpl.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/dom/svg/SVGURIReferenceImpl.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- SVGURIReferenceImpl.java	2000/07/11 00:46:56	1.1
  +++ SVGURIReferenceImpl.java	2000/07/18 05:39:47	1.2
  @@ -1,4 +1,4 @@
  -/*-- $Id: SVGURIReferenceImpl.java,v 1.1 2000/07/11 00:46:56 keiron Exp $ -- 
  +/*-- $Id: SVGURIReferenceImpl.java,v 1.2 2000/07/18 05:39:47 keiron Exp $ -- 
   
    ============================================================================
                      The Apache Software License, Version 1.1
  @@ -59,7 +59,7 @@
   	String xlinkTitle;
   	String xlinkShow;
   	String xlinkActuate;
  -	String href;
  +	SVGAnimatedString href;
   
   	public String getXlinkType( )
   	{
  @@ -111,13 +111,22 @@
   		this.xlinkActuate = xlinkActuate;
   	}
   
  -	public String getHref( )
  +	public SVGAnimatedString getHref( )
   	{
   		return href;
   	}
   
  -	public void setHref( String href )
  +	public void setHref( SVGAnimatedString href )
   	{
   		this.href = href;
  +	}
  +
  +	public SVGAnimatedBoolean getExternalResourcesRequired()
  +	{
  +		return null;
  +	}
  +
  +	public void setExternalResourcesRequired(SVGAnimatedBoolean externalResourcesRequired)
  +	{
   	}
   }
  
  
  
  1.2       +29 -11    xml-fop/src/org/apache/fop/dom/svg/SVGUseElementImpl.java
  
  Index: SVGUseElementImpl.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/dom/svg/SVGUseElementImpl.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- SVGUseElementImpl.java	2000/07/11 00:46:56	1.1
  +++ SVGUseElementImpl.java	2000/07/18 05:39:47	1.2
  @@ -1,4 +1,4 @@
  -/*-- $Id: SVGUseElementImpl.java,v 1.1 2000/07/11 00:46:56 keiron Exp $ -- 
  +/*-- $Id: SVGUseElementImpl.java,v 1.2 2000/07/18 05:39:47 keiron Exp $ -- 
   
    ============================================================================
                      The Apache Software License, Version 1.1
  @@ -110,48 +110,66 @@
   	{
   	}
   
  -	public String getHref( )
  +	public SVGAnimatedString getHref( )
   	{
   		return null;
   	}
   
  -	public void setHref( String href )
  +	public void setHref( SVGAnimatedString href )
   	{
   	}
   
  -	public SVGLength getX( )
  +	public SVGAnimatedLength getX( )
   	{
   		return null;
   	}
   
  -	public void setX( SVGLength x )
  +	public void setX( SVGAnimatedLength x )
   	{
   	}
   
  -	public SVGLength getY( )
  +	public SVGAnimatedLength getY( )
   	{
   		return null;
   	}
   
  -	public void setY( SVGLength y )
  +	public void setY( SVGAnimatedLength y )
   	{
   	}
   
  -	public SVGLength getWidth( )
  +	public SVGAnimatedLength getWidth( )
   	{
   		return null;
   	}
   
  -	public void setWidth( SVGLength width )
  +	public void setWidth( SVGAnimatedLength width )
   	{
   	}
   
  -	public SVGLength getHeight( )
  +	public SVGAnimatedLength getHeight( )
   	{
   		return null;
   	}
   
  -	public void setHeight( SVGLength height )
  +	public void setHeight( SVGAnimatedLength height )
   	{
   	}
  +
  +	public SVGElementInstance getInstanceRoot( )
  +	{
  +		return null;
  +	}
  +
  +	public SVGElementInstance getAnimatedInstanceRoot( )
  +	{
  +		return null;
  +	}
  +
  +/*	public SVGAnimatedBoolean getExternalResourcesRequired( )
  +	{
  +	}
  +
  +	public void setExternalResourcesRequired( SVGAnimatedBoolean externalResourcesRequired )
  +	{
  +	}*/
   }
  
  
  
  1.1                  xml-fop/src/org/apache/fop/dom/svg/SVGAnimatedEnumerationImpl.java
  
  Index: SVGAnimatedEnumerationImpl.java
  ===================================================================
  /*-- $Id: SVGAnimatedEnumerationImpl.java,v 1.1 2000/07/18 05:39:44 keiron Exp $ -- 
  
   ============================================================================
                     The Apache Software License, Version 1.1
   ============================================================================
   
      Copyright (C) 1999 The Apache Software Foundation. All rights reserved.
   
   Redistribution and use in source and binary forms, with or without modifica-
   tion, are permitted provided that the following conditions are met:
   
   1. Redistributions of  source code must  retain the above copyright  notice,
      this list of conditions and the following disclaimer.
   
   2. Redistributions in binary form must reproduce the above copyright notice,
      this list of conditions and the following disclaimer in the documentation
      and/or other materials provided with the distribution.
   
   3. The end-user documentation included with the redistribution, if any, must
      include  the following  acknowledgment:  "This product includes  software
      developed  by the  Apache Software Foundation  (http://www.apache.org/)."
      Alternately, this  acknowledgment may  appear in the software itself,  if
      and wherever such third-party acknowledgments normally appear.
   
   4. The names "FOP" and  "Apache Software Foundation"  must not be used to
      endorse  or promote  products derived  from this  software without  prior
      written permission. For written permission, please contact
      apache@apache.org.
   
   5. Products  derived from this software may not  be called "Apache", nor may
      "Apache" appear  in their name,  without prior written permission  of the
      Apache Software Foundation.
   
   THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
   INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
   FITNESS  FOR A PARTICULAR  PURPOSE ARE  DISCLAIMED.  IN NO  EVENT SHALL  THE
   APACHE SOFTWARE  FOUNDATION  OR ITS CONTRIBUTORS  BE LIABLE FOR  ANY DIRECT,
   INDIRECT, INCIDENTAL, SPECIAL,  EXEMPLARY, OR CONSEQUENTIAL  DAMAGES (INCLU-
   DING, BUT NOT LIMITED TO, PROCUREMENT  OF SUBSTITUTE GOODS OR SERVICES; LOSS
   OF USE, DATA, OR  PROFITS; OR BUSINESS  INTERRUPTION)  HOWEVER CAUSED AND ON
   ANY  THEORY OF LIABILITY,  WHETHER  IN CONTRACT,  STRICT LIABILITY,  OR TORT
   (INCLUDING  NEGLIGENCE OR  OTHERWISE) ARISING IN  ANY WAY OUT OF THE  USE OF
   THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
   
   This software  consists of voluntary contributions made  by many individuals
   on  behalf of the Apache Software  Foundation and was  originally created by
   James Tauber <jt...@jtauber.com>. For more  information on the Apache 
   Software Foundation, please see <http://www.apache.org/>.
   
   */
  
  package org.apache.fop.dom.svg;
  
  import org.w3c.dom.svg.*;
  
  import org.w3c.dom.DOMException;
  
  public class SVGAnimatedEnumerationImpl implements SVGAnimatedEnumeration {
      short baseval = 0;
  
      public SVGAnimatedEnumerationImpl(short base)
      {
          baseval = base;
      }
  
  	public short getBaseVal( )
  	{
  		return baseval;
  	}
  
  	public void setBaseVal(short baseVal)
  	{
  	    this.baseval = baseVal;
  	}
  
  	public short getAnimVal( )
  	{
  	    return baseval;
  	}
  }
  
  
  
  1.1                  xml-fop/src/org/apache/fop/dom/svg/SVGAnimatedLengthImpl.java
  
  Index: SVGAnimatedLengthImpl.java
  ===================================================================
  /*-- $Id: SVGAnimatedLengthImpl.java,v 1.1 2000/07/18 05:39:44 keiron Exp $ -- 
  
   ============================================================================
                     The Apache Software License, Version 1.1
   ============================================================================
   
      Copyright (C) 1999 The Apache Software Foundation. All rights reserved.
   
   Redistribution and use in source and binary forms, with or without modifica-
   tion, are permitted provided that the following conditions are met:
   
   1. Redistributions of  source code must  retain the above copyright  notice,
      this list of conditions and the following disclaimer.
   
   2. Redistributions in binary form must reproduce the above copyright notice,
      this list of conditions and the following disclaimer in the documentation
      and/or other materials provided with the distribution.
   
   3. The end-user documentation included with the redistribution, if any, must
      include  the following  acknowledgment:  "This product includes  software
      developed  by the  Apache Software Foundation  (http://www.apache.org/)."
      Alternately, this  acknowledgment may  appear in the software itself,  if
      and wherever such third-party acknowledgments normally appear.
   
   4. The names "FOP" and  "Apache Software Foundation"  must not be used to
      endorse  or promote  products derived  from this  software without  prior
      written permission. For written permission, please contact
      apache@apache.org.
   
   5. Products  derived from this software may not  be called "Apache", nor may
      "Apache" appear  in their name,  without prior written permission  of the
      Apache Software Foundation.
   
   THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
   INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
   FITNESS  FOR A PARTICULAR  PURPOSE ARE  DISCLAIMED.  IN NO  EVENT SHALL  THE
   APACHE SOFTWARE  FOUNDATION  OR ITS CONTRIBUTORS  BE LIABLE FOR  ANY DIRECT,
   INDIRECT, INCIDENTAL, SPECIAL,  EXEMPLARY, OR CONSEQUENTIAL  DAMAGES (INCLU-
   DING, BUT NOT LIMITED TO, PROCUREMENT  OF SUBSTITUTE GOODS OR SERVICES; LOSS
   OF USE, DATA, OR  PROFITS; OR BUSINESS  INTERRUPTION)  HOWEVER CAUSED AND ON
   ANY  THEORY OF LIABILITY,  WHETHER  IN CONTRACT,  STRICT LIABILITY,  OR TORT
   (INCLUDING  NEGLIGENCE OR  OTHERWISE) ARISING IN  ANY WAY OUT OF THE  USE OF
   THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
   
   This software  consists of voluntary contributions made  by many individuals
   on  behalf of the Apache Software  Foundation and was  originally created by
   James Tauber <jt...@jtauber.com>. For more  information on the Apache 
   Software Foundation, please see <http://www.apache.org/>.
   
   */
  
  package org.apache.fop.dom.svg;
  
  import org.w3c.dom.svg.*;
  
  public class SVGAnimatedLengthImpl implements SVGAnimatedLength {
      SVGLength len = null;
  
      public SVGAnimatedLengthImpl(SVGLength l)
      {
          len = l;
      }
  
    public SVGLength getBaseVal( )
    {
        return len;
    }
  
    public void setBaseVal( SVGLength baseVal )
    {
        len = baseVal;
    }
  
    public SVGLength getAnimVal( )
    {
        return null;
    }
  }
  
  
  
  1.1                  xml-fop/src/org/apache/fop/dom/svg/SVGAnimatedNumberImpl.java
  
  Index: SVGAnimatedNumberImpl.java
  ===================================================================
  /*-- $Id: SVGAnimatedNumberImpl.java,v 1.1 2000/07/18 05:39:44 keiron Exp $ -- 
  
   ============================================================================
                     The Apache Software License, Version 1.1
   ============================================================================
   
      Copyright (C) 1999 The Apache Software Foundation. All rights reserved.
   
   Redistribution and use in source and binary forms, with or without modifica-
   tion, are permitted provided that the following conditions are met:
   
   1. Redistributions of  source code must  retain the above copyright  notice,
      this list of conditions and the following disclaimer.
   
   2. Redistributions in binary form must reproduce the above copyright notice,
      this list of conditions and the following disclaimer in the documentation
      and/or other materials provided with the distribution.
   
   3. The end-user documentation included with the redistribution, if any, must
      include  the following  acknowledgment:  "This product includes  software
      developed  by the  Apache Software Foundation  (http://www.apache.org/)."
      Alternately, this  acknowledgment may  appear in the software itself,  if
      and wherever such third-party acknowledgments normally appear.
   
   4. The names "Fop" and  "Apache Software Foundation"  must not be used to
      endorse  or promote  products derived  from this  software without  prior
      written permission. For written permission, please contact
      apache@apache.org.
   
   5. Products  derived from this software may not  be called "Apache", nor may
      "Apache" appear  in their name,  without prior written permission  of the
      Apache Software Foundation.
   
   THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
   INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
   FITNESS  FOR A PARTICULAR  PURPOSE ARE  DISCLAIMED.  IN NO  EVENT SHALL  THE
   APACHE SOFTWARE  FOUNDATION  OR ITS CONTRIBUTORS  BE LIABLE FOR  ANY DIRECT,
   INDIRECT, INCIDENTAL, SPECIAL,  EXEMPLARY, OR CONSEQUENTIAL  DAMAGES (INCLU-
   DING, BUT NOT LIMITED TO, PROCUREMENT  OF SUBSTITUTE GOODS OR SERVICES; LOSS
   OF USE, DATA, OR  PROFITS; OR BUSINESS  INTERRUPTION)  HOWEVER CAUSED AND ON
   ANY  THEORY OF LIABILITY,  WHETHER  IN CONTRACT,  STRICT LIABILITY,  OR TORT
   (INCLUDING  NEGLIGENCE OR  OTHERWISE) ARISING IN  ANY WAY OUT OF THE  USE OF
   THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
   
   This software  consists of voluntary contributions made  by many individuals
   on  behalf of the Apache Software  Foundation and was  originally created by
   James Tauber <jt...@jtauber.com>. For more  information on the Apache 
   Software Foundation, please see <http://www.apache.org/>.
   
   */
  package org.apache.fop.dom.svg;
  
  import org.apache.fop.fo.Property;
  
  import java.util.*;
  
  import org.w3c.dom.svg.*;
  
  /**
   *
   */
  public class SVGAnimatedNumberImpl implements SVGAnimatedNumber {
  	float base = 0;
  
  	public SVGAnimatedNumberImpl(float b)
  	{
  	    base = b;
  	}
  
  	public float getBaseVal()
  	{
  	    return base;
  	}
  
  	public void setBaseVal(float baseVal)
  	{
  	    base = baseVal;
  	}
  
  	public float getAnimVal()
  	{
  	    return base;
  	}
  }
  
  
  
  1.1                  xml-fop/src/org/apache/fop/dom/svg/SVGAnimatedTransformListImpl.java
  
  Index: SVGAnimatedTransformListImpl.java
  ===================================================================
  /*-- $Id: SVGAnimatedTransformListImpl.java,v 1.1 2000/07/18 05:39:44 keiron Exp $ -- 
  
   ============================================================================
                     The Apache Software License, Version 1.1
   ============================================================================
   
      Copyright (C) 1999 The Apache Software Foundation. All rights reserved.
   
   Redistribution and use in source and binary forms, with or without modifica-
   tion, are permitted provided that the following conditions are met:
   
   1. Redistributions of  source code must  retain the above copyright  notice,
      this list of conditions and the following disclaimer.
   
   2. Redistributions in binary form must reproduce the above copyright notice,
      this list of conditions and the following disclaimer in the documentation
      and/or other materials provided with the distribution.
   
   3. The end-user documentation included with the redistribution, if any, must
      include  the following  acknowledgment:  "This product includes  software
      developed  by the  Apache Software Foundation  (http://www.apache.org/)."
      Alternately, this  acknowledgment may  appear in the software itself,  if
      and wherever such third-party acknowledgments normally appear.
   
   4. The names "FOP" and  "Apache Software Foundation"  must not be used to
      endorse  or promote  products derived  from this  software without  prior
      written permission. For written permission, please contact
      apache@apache.org.
   
   5. Products  derived from this software may not  be called "Apache", nor may
      "Apache" appear  in their name,  without prior written permission  of the
      Apache Software Foundation.
   
   THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
   INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
   FITNESS  FOR A PARTICULAR  PURPOSE ARE  DISCLAIMED.  IN NO  EVENT SHALL  THE
   APACHE SOFTWARE  FOUNDATION  OR ITS CONTRIBUTORS  BE LIABLE FOR  ANY DIRECT,
   INDIRECT, INCIDENTAL, SPECIAL,  EXEMPLARY, OR CONSEQUENTIAL  DAMAGES (INCLU-
   DING, BUT NOT LIMITED TO, PROCUREMENT  OF SUBSTITUTE GOODS OR SERVICES; LOSS
   OF USE, DATA, OR  PROFITS; OR BUSINESS  INTERRUPTION)  HOWEVER CAUSED AND ON
   ANY  THEORY OF LIABILITY,  WHETHER  IN CONTRACT,  STRICT LIABILITY,  OR TORT
   (INCLUDING  NEGLIGENCE OR  OTHERWISE) ARISING IN  ANY WAY OUT OF THE  USE OF
   THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
   
   This software  consists of voluntary contributions made  by many individuals
   on  behalf of the Apache Software  Foundation and was  originally created by
   James Tauber <jt...@jtauber.com>. For more  information on the Apache 
   Software Foundation, please see <http://www.apache.org/>.
   
   */
  package org.apache.fop.dom.svg;
  
  import java.util.*;
  
  import org.w3c.dom.svg.*;
  import org.w3c.dom.*;
  
  /**
   * Transform List
   */
  public class SVGAnimatedTransformListImpl implements SVGAnimatedTransformList {
      SVGTransformList base;
  
      public SVGAnimatedTransformListImpl()
      {
      }
  
      public SVGTransformList getBaseVal( )
      {
          return base;
      }
  
      public void setBaseVal(SVGTransformList baseVal )
      {
          base = baseVal;
      }
  
      public SVGTransformList getAnimVal()
      {
          return null;
      }
  }