com.novell.xml.dom
Class DocumentFactory

java.lang.Object
  extended bycom.novell.xml.dom.DocumentFactory

public final class DocumentFactory
extends Object

Class to create a new instance of a DOM Document This is needed because the DOM 1.0 spec doesn't specify any method of creating a document. Once the document is created, however, the Document object has factory methods to create all necessary children of the document.


Method Summary
static Document newDocument()
          Create and return a new instance of a DOM document
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

newDocument

public static Document newDocument()
Create and return a new instance of a DOM document

Returns:
instance of Document