org.bibop.xml.utils
Class DefaultDOMFactory

java.lang.Object
  |
  +--org.bibop.xml.utils.DefaultDOMFactory
All Implemented Interfaces:
org.apache.cocoon.xml.dom.DOMFactory

public class DefaultDOMFactory
extends java.lang.Object
implements org.apache.cocoon.xml.dom.DOMFactory

This class provides an easy way to build an empty dom document.

Version:
1.0
Author:
Alberto Garoffolo

Constructor Summary
DefaultDOMFactory()
           
 
Method Summary
 org.w3c.dom.Document newDocument()
          Create a new Document object.
 org.w3c.dom.Document newDocument(java.lang.String name)
          Create a new Document object with a specified DOCTYPE.
 org.w3c.dom.Document newDocument(java.lang.String name, java.lang.String publicId, java.lang.String systemId)
          Create a new Document object with a specified DOCTYPE, public ID and system ID.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultDOMFactory

public DefaultDOMFactory()
Method Detail

newDocument

public org.w3c.dom.Document newDocument()
Create a new Document object.

Specified by:
newDocument in interface org.apache.cocoon.xml.dom.DOMFactory

newDocument

public org.w3c.dom.Document newDocument(java.lang.String name)
Create a new Document object with a specified DOCTYPE.

Specified by:
newDocument in interface org.apache.cocoon.xml.dom.DOMFactory

newDocument

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

Specified by:
newDocument in interface org.apache.cocoon.xml.dom.DOMFactory


Copyright 2003 Bibop Research International. All Rights Reserved.