W3C home > Mailing lists > Public > www-svg@w3.org > February 2002

SVGAbstractGraphicsElement interface and other common hybrid interfaces

From: Curt Arnold <carnold@houston.rr.com>
Date: Fri, 1 Feb 2002 09:57:52 -0600
Message-ID: <002e01c1ab39$34f128f0$a800a8c0@CurtMicron>
To: <www-svg@w3.org>
SVGRectElement, SVGCircleElement, etc all contain the same boilerplate list of base interfaces:

public interface SVGRectElement extends 
SVGElement,
SVGTests,
SVGLangSpace,
SVGExternalResourcesRequired,
SVGStylable,
SVGTransformable,
EventTarget {


It would seem to simplify comprehension of the spec at no compatibility cost if that cluster (and similar clusters) of interfaces could be combined into a common base interface.

public interface SVGAbstractGraphicsElement extends SVGElement,
SVGTests,
SVGLangSpace,
SVGExternalResourcesRequired,
SVGStylable,
SVGTransformable,
EventTarget {}

public interface SVGRectElement extends SVGAbstractGraphicsElement {

}

public interface SVGCircleElement extends SVGAbstractGraphicsElement {

}


...
Received on Friday, 1 February 2002 10:58:00 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:21 GMT