W3C home > Mailing lists > Public > www-dom@w3.org > July to September 1998

Request: DocumentFactory

From: Chris Hubick <maillist@chris.hubick.com>
Date: Tue, 22 Sep 1998 04:02:14 +0000 (GMT)
To: www-dom@w3.org
Message-ID: <Pine.LNX.3.96.980922034801.15845B-100000@chris.hubick.com>

A standardized DocumentFactory interface would be nice, just something
simple like:

package org.w3c.dom;

public interface DocumentFactory {

  public Document makeDocument();


A standardized factory interface would make it easier for applications to
use multiple, or switch between, DOM implementations.  Each DOM 
implementor could implement this interface, returning a Document from 
their implementation.  Applications which build DOM hierarchies could
take a DocumentFactory as an argument allowing them to be implementation

Chris Hubick
Received on Tuesday, 22 September 1998 07:07:48 UTC

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