| Package | Description | 
|---|---|
| javax.imageio.metadata | A package of the Java Image I/O API dealing with reading and writing
metadata. | 
| javax.xml.parsers | 
                Provides classes allowing the processing of XML documents. | 
| javax.xml.soap | Provides the API for creating and building SOAP messages. | 
| org.w3c.dom | Provides the interfaces for the Document Object Model (DOM). | 
| org.w3c.dom.ls | 
| Modifier and Type | Method and Description | 
|---|---|
| Document | IIOMetadataNode. getOwnerDocument()Returns  null, sinceIIOMetadataNodes
 do not belong to anyDocument. | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract Document | DocumentBuilder. newDocument()Obtain a new instance of a DOM  Documentobject
 to build a DOM tree with. | 
| Document | DocumentBuilder. parse(File f)Parse the content of the given file as an XML document
 and return a new DOM  Documentobject. | 
| abstract Document | DocumentBuilder. parse(InputSource is)Parse the content of the given input source as an XML document
 and return a new DOM  Documentobject. | 
| Document | DocumentBuilder. parse(InputStream is)Parse the content of the given  InputStreamas an XML
 document and return a new DOMDocumentobject. | 
| Document | DocumentBuilder. parse(InputStream is,
     String systemId)Parse the content of the given  InputStreamas an
 XML document and return a new DOMDocumentobject. | 
| Document | DocumentBuilder. parse(String uri)Parse the content of the given URI as an XML document
 and return a new DOM  Documentobject. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | SOAPPartThe container for the SOAP-specific portion of a  SOAPMessageobject. | 
| Modifier and Type | Method and Description | 
|---|---|
| Document | SOAPBody. extractContentAsDocument()Creates a new DOM  and sets
 the first child of thisSOAPBodyas it's document
 element. | 
| Modifier and Type | Method and Description | 
|---|---|
| SOAPBodyElement | SOAPBody. addDocument(Document document)Adds the root node of the DOM  to thisSOAPBodyobject. | 
| 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 | 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 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2025, Oracle and/or its affiliates.  All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.