FileDocCategorySizeDatePackage
HTMLDOMImplementationImpl.javaAPI DocApache Xerces 3.0.13082Fri Sep 14 20:33:52 BST 2007org.apache.html.dom

HTMLDOMImplementationImpl

public class HTMLDOMImplementationImpl extends org.apache.xerces.dom.DOMImplementationImpl implements HTMLDOMImplementation
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 {@link #getDOMImplementation}.
xerces.internal
version
$Revision: 447255 $ $Date: 2006-09-18 01:36:42 -0400 (Mon, 18 Sep 2006) $
author
Assaf Arkin
see
org.w3c.dom.DOMImplementation

Fields Summary
private static HTMLDOMImplementation
_instance
Holds a reference to the single instance of the DOM implementation. Only one instance is required since this class is multiple entry.
Constructors Summary
private HTMLDOMImplementationImpl()
Private constructor assures that an object of this class cannot be created. The only way to obtain an object is by calling {@link #getDOMImplementation}.



                                 
     
    
    
Methods Summary
public final org.w3c.dom.html.HTMLDocumentcreateHTMLDocument(java.lang.String title)
Create a new HTML document of the specified TITLE text.

param
title The document title text
return
New HTML document

	HTMLDocument doc;

	if ( title == null )
	    throw new NullPointerException( "HTM014 Argument 'title' is null." );
	doc = new HTMLDocumentImpl();
	doc.setTitle( title );
	return doc;
    
public static org.w3c.dom.html.HTMLDOMImplementationgetHTMLDOMImplementation()
Returns an instance of a {@link HTMLDOMImplementation} that can be used to perform operations that are not specific to a particular document instance, e.g. to create a new document.

return
Reference to a valid DOM implementation

	return _instance;