Enhydra 5.1 API

org.enhydra.xml.lazydom
Class LazyDOMImplementation

java.lang.Object
  |
  +--org.apache.xerces.dom.DOMImplementationImpl
        |
        +--org.enhydra.xml.lazydom.LazyDOMImplementation
All Implemented Interfaces:
DOMImplementation
Direct Known Subclasses:
LazyHTMLDOMImplementation

public class LazyDOMImplementation
extends DOMImplementationImpl

DOMImplementation method for the LazyDOM.

See Also:
DOMImplementation

Constructor Summary
LazyDOMImplementation()
           
 
Method Summary
 Document createDocument(java.lang.String namespaceURI, java.lang.String qualifiedName, DocumentType doctype)
          Create a new LazyDocument
 Document createDocument(TemplateDOM templateDOM)
          Create a new LazyDocument from a template.
static DOMImplementation getDOMImplementation()
          Obtain and return the singleton shared object.
 
Methods inherited from class org.apache.xerces.dom.DOMImplementationImpl
createDocumentType, hasFeature
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LazyDOMImplementation

public LazyDOMImplementation()
Method Detail

getDOMImplementation

public static DOMImplementation getDOMImplementation()
Obtain and return the singleton shared object.


createDocument

public Document createDocument(java.lang.String namespaceURI,
                               java.lang.String qualifiedName,
                               DocumentType doctype)
                        throws DOMException
Create a new LazyDocument

Specified by:
createDocument in interface DOMImplementation
Overrides:
createDocument in class DOMImplementationImpl
Parameters:
namespaceURI - The namespace URI of the document element to create, or null.
qualifiedName - The qualified name of the document element to create.
doctype - The type of document to be created or null.

When doctype is not null, its Node.ownerDocument attribute is set to the document being created.

Returns:
Document A new Document object.
Throws:
DOMException - WRONG_DOCUMENT_ERR: Raised if doctype has already been used with a different document.
See Also:
DOMImplementation.createDocument(java.lang.String, java.lang.String, org.w3c.dom.DocumentType)

createDocument

public Document createDocument(TemplateDOM templateDOM)
                        throws DOMException
Create a new LazyDocument from a template.

DOMException
See Also:
DOMImplementation.createDocument(java.lang.String, java.lang.String, org.w3c.dom.DocumentType)

Enhydra 5.1 API