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}.
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}.
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;
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.