Java™ Platform
Standard Ed. 6

Uses of Interface
org.w3c.dom.Document

Packages that use Document
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) which is a component API of the Java API for XML Processing
org.w3c.dom.ls   
 

Uses of Document in javax.imageio.metadata
 

Methods in javax.imageio.metadata that return Document
 Document IIOMetadataNode.getOwnerDocument()
          Returns null, since IIOMetadataNodes do not belong to any Document.
 

Uses of Document in javax.xml.parsers
 

Methods in javax.xml.parsers that return Document
abstract  Document DocumentBuilder.newDocument()
          Obtain a new instance of a DOM Document object 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 Document object.
abstract  Document DocumentBuilder.parse(InputSource is)
          Parse the content of the given input source as an XML document and return a new DOM Document object.
 Document DocumentBuilder.parse(InputStream is)
          Parse the content of the given InputStream as an XML document and return a new DOM Document object.
 Document DocumentBuilder.parse(InputStream is, String systemId)
          Parse the content of the given InputStream as an XML document and return a new DOM Document object.
 Document DocumentBuilder.parse(String uri)
          Parse the content of the given URI as an XML document and return a new DOM Document object.
 

Uses of Document in javax.xml.soap
 

Classes in javax.xml.soap that implement Document
 class SOAPPart
          The container for the SOAP-specific portion of a SOAPMessage object.
 

Methods in javax.xml.soap that return Document
 Document SOAPBody.extractContentAsDocument()
          Creates a new DOM Document and sets the first child of this SOAPBody as it's document element.
 

Methods in javax.xml.soap with parameters of type Document
 SOAPBodyElement SOAPBody.addDocument(Document document)
          Adds the root node of the DOM Document to this SOAPBody object.
 

Uses of Document in org.w3c.dom
 

Methods in org.w3c.dom that return Document
 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 Document object associated with this node.
 

Uses of Document in org.w3c.dom.ls
 

Methods in org.w3c.dom.ls that return Document
 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].
 


Java™ Platform
Standard Ed. 6

Submit a bug or feature
For further API reference and developer documentation, see Java SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright © 1993, 2015, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.

Scripting on this page tracks web page traffic, but does not change the content in any way.