org.enhydra.xml.xhtml.dom.xerces
Class XHTMLDOMImplementationImpl

java.lang.Object
  |
  +--org.enhydra.apache.xerces.dom.DOMImplementationImpl
        |
        +--org.enhydra.xml.xhtml.dom.xerces.XHTMLDOMImplementationImpl
All Implemented Interfaces:
DOMImplementation, XHTMLDOMImplementation

public class XHTMLDOMImplementationImpl
extends org.enhydra.apache.xerces.dom.DOMImplementationImpl
implements XHTMLDOMImplementation

Provides number of methods for performing operations that are independent of any particular instance of the document object model. This class is unconstructable, the only way to obtain an instance of a DOM implementation is by calling the static method getDOMImplementation().

Version:
$Revision: 1.3 $ $Date: 2006/01/21 17:58:39 $
Author:
Assaf Arkin
See Also:
DOMImplementation

Fields inherited from class org.enhydra.apache.xerces.dom.DOMImplementationImpl
singleton
 
Method Summary
 Document createDocument(String namespaceURI, String qualifiedName, DocumentType doctype)
           
 HTMLDocument createHTMLDocument(String title)
          Create a new XHTML document of the specified title text.
 XHTMLDocument createXHTMLDocument(String title)
           
 XHTMLDocument createXHTMLDocument(String namespaceURI, String qualifiedName, DocumentType doctype)
           
static DOMImplementation getDOMImplementation()
          Returns an instance of a XHTMLDOMImplementation that can be used to perform operations that are not specific to a particular document instance, e.g.
static HTMLDOMImplementation getHTMLDOMImplementation()
          Returns an instance of a XHTMLDOMImplementation that can be used to perform operations that are not specific to a particular document instance, e.g.
static XHTMLDOMImplementation getXHTMLDOMImplementation()
          Returns an instance of a XHTMLDOMImplementation that can be used to perform operations that are not specific to a particular document instance, e.g.
 
Methods inherited from class org.enhydra.apache.xerces.dom.DOMImplementationImpl
, createDocumentType, getFeature, hasFeature
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createDocument

public Document createDocument(String namespaceURI,
                               String qualifiedName,
                               DocumentType doctype)
                        throws DOMException
Overrides:
createDocument in class org.enhydra.apache.xerces.dom.DOMImplementationImpl
See Also:
DOMImplementation

createXHTMLDocument

public XHTMLDocument createXHTMLDocument(String namespaceURI,
                                         String qualifiedName,
                                         DocumentType doctype)
                                  throws DOMException
See Also:
createDocument(java.lang.String, java.lang.String, org.w3c.dom.DocumentType)

createXHTMLDocument

public final XHTMLDocument createXHTMLDocument(String title)
                                        throws DOMException

createHTMLDocument

public final HTMLDocument createHTMLDocument(String title)
                                      throws DOMException
Create a new XHTML document of the specified title text.
Parameters:
title - The document title text
Returns:
New HTML document
See Also:
createXHTMLDocument(String)

getHTMLDOMImplementation

public static HTMLDOMImplementation getHTMLDOMImplementation()
Returns an instance of a XHTMLDOMImplementation that can be used to perform operations that are not specific to a particular document instance, e.g. to create a new document.
Returns:
Reference to a valid DOM implementation
See Also:
getXHTMLDOMImplementation()

getXHTMLDOMImplementation

public static XHTMLDOMImplementation getXHTMLDOMImplementation()
Returns an instance of a XHTMLDOMImplementation that can be used to perform operations that are not specific to a particular document instance, e.g. to create a new document.
Returns:
Reference to a valid DOM implementation

getDOMImplementation

public static DOMImplementation getDOMImplementation()
Returns an instance of a XHTMLDOMImplementation that can be used to perform operations that are not specific to a particular document instance, e.g. to create a new document.
Returns:
Reference to a valid DOM implementation


Copyright © 1999-2002 Mark Diekhans, enhydra.org. All Rights reserved.