Package | Description |
---|---|
javax.xml.parsers |
The javax.xml.parsers package contains the Java API for XML Processing (JAXP)
subset defined by JSR 280.
|
org.w3c.dom |
The org.w3c.dom package provides the Java ME DOM API defined by
JSR 280.
|
Modifier and Type | Method and Description |
---|---|
abstract Document |
DocumentBuilder.newDocument()
Obtain a new instance of a DOM
Document object
to build a DOM tree with. |
abstract Document |
DocumentBuilder.parse(org.xml.sax.InputSource is)
Parse the content of the given input source as an XML document
and return a new DOM
Document object. |
Document |
DocumentBuilder.parse(java.io.InputStream is)
Parse the content of the given
InputStream as an XML
document and return a new DOM Document object. |
Modifier and Type | Method and Description |
---|---|
Document |
DOMImplementation.createDocument(java.lang.String namespaceURI,
java.lang.String qualifiedName,
DocumentType doctype)
Creates an XML
Document object of the specified type with
its document element. |
Document |
Node.getOwnerDocument()
The
Document object associated with this node. |
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Use is subject to License Terms. Your use of this web site or any of its contents or software indicates your agreement to be bound by these License Terms.