| Package | Description | 
|---|---|
| com.sun.java.browser.dom | |
| org.w3c.dom | Provides the interfaces for the Document Object Model (DOM). | 
| org.w3c.dom.html | |
| org.w3c.dom.ls | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract Document | DOMServiceProvider. getDocument(Object obj)Returns the Document object of the DOM. | 
| Document | DOMAccessor. getDocument(Object obj)Returns the Document object of the DOM. | 
| 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. | 
| Document | Node. getOwnerDocument()The  Documentobject associated with this node. | 
| Modifier and Type | Interface and Description | 
|---|---|
| interface  | HTMLDocumentAn  HTMLDocumentis the root of the HTML hierarchy and holds
 the entire content. | 
| Modifier and Type | Method and Description | 
|---|---|
| Document | HTMLObjectElement. getContentDocument()The document this object contains, if there is any and it is
 available, or  nullotherwise. | 
| Document | HTMLIFrameElement. getContentDocument()The document this frame contains, if there is any and it is available,
 or  nullotherwise. | 
| Document | HTMLFrameElement. getContentDocument()The document this frame contains, if there is any and it is available,
 or  nullotherwise. | 
| Modifier and Type | Method and Description | 
|---|---|
| Document | LSLoadEvent. getNewDocument()The document that finished loading. | 
| Document | LSParser. parse(LSInput input)Parse an XML document from a resource identified by a
  LSInput. | 
| Document | LSParser. parseURI(String uri)Parse an XML document from a location identified by a URI reference [IETF RFC 2396]. | 
 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.