org.apache.cocoon.xml.dom
Interface DOMFactory


public interface DOMFactory

This interface identifies classes producing instances of DOM Document objects.

Version:
$Id: DOMFactory.html 1304280 2012-03-23 11:18:01Z ilgrosso $

Method Summary
 Document newDocument()
          Create a new Document object.
 Document newDocument(String name)
          Create a new Document object with a specified DOCTYPE.
 Document newDocument(String name, String publicId, String systemId)
          Create a new Document object with a specified DOCTYPE, public ID and system ID.
 

Method Detail

newDocument

public Document newDocument()
Create a new Document object.


newDocument

public Document newDocument(String name)
Create a new Document object with a specified DOCTYPE.


newDocument

public Document newDocument(String name,
                            String publicId,
                            String systemId)
Create a new Document object with a specified DOCTYPE, public ID and system ID.



Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.