W3C home > Mailing lists > Public > www-dom@w3.org > April to June 2003

DOMBuilder needs a getFeature

From: Mike Mansell <MMansell@PureEdge.com>
Date: Fri, 18 Apr 2003 13:17:38 -0700
Message-ID: <7874BFCCD289A645B5CE3935769F0B52452CD5@tigger.pureedge.com>
To: <www-dom@w3.org>

As of the spec:


The DOMBuilder section has this description:

Asynchronous DOMBuilder objects are expected to also implement the
events::EventTarget interface so that event listeners can be registered
on asynchronous DOMBuilder objects.

However, in order to implement the EventTarget interface, the DOMBuilder
(which does NOT inherit from Node), needs the getFeature method. This
will allow someone to go:

DOMBuilder	myBuilder;
EventTarget	myTarget;

   myTarget = (EventTarget)myBuilder.getFeature("Events", "3.0");
      "load", myListener, true, NULL);

Michael Mansell, 
Senior Product Architect
PureEdge Solutions
Trusted Digital Relationships
v: 250-708-8046  f: 250-708-8010
1-888-517-2675  http://www.PureEdge.com 
Received on Friday, 18 April 2003 16:17:45 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:11 UTC