| Package | Description | 
|---|---|
| org.w3c.dom | Provides the interfaces for the Document Object Model (DOM). | 
| Modifier and Type | Method and Description | 
|---|---|
| DocumentType | DOMImplementation. createDocumentType(String qualifiedName,
                  String publicId,
                  String systemId)Creates an empty  DocumentTypenode. | 
| DocumentType | Document. getDoctype()The Document Type Declaration (see  DocumentType)
 associated with this document. | 
| Modifier and Type | Method and Description | 
|---|---|
| Document | DOMImplementation. createDocument(String namespaceURI,
              String qualifiedName,
              DocumentType doctype)Creates a DOM Document object of the specified type with its document
 element. | 
 Submit a bug or feature
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
 Copyright © 2005, 2025, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.