| Package | Description | 
|---|---|
| javax.imageio.metadata | A package of the Java Image I/O API dealing with reading and writing
metadata. | 
| javax.xml.bind | 
        Provides a runtime binding framework for client applications including
        unmarshalling, marshalling, and validation capabilities. | 
| javax.xml.bind.helpers | 
        JAXB Provider Use Only: Provides partial default implementations for 
        some of the javax.xml.bind interfaces. | 
| javax.xml.crypto.dom | DOM-specific classes for the  javax.xml.cryptopackage. | 
| javax.xml.crypto.dsig.dom | DOM-specific classes for the  javax.xml.crypto.dsigpackage. | 
| javax.xml.soap | Provides the API for creating and building SOAP messages. | 
| javax.xml.transform.dom | This package implements DOM-specific transformation APIs. | 
| org.w3c.dom | Provides the interfaces for the Document Object Model (DOM). | 
| org.w3c.dom.events | |
| org.w3c.dom.ls | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | IIOMetadataNodeA class representing a node in a meta-data tree, which implements
 the 
  org.w3c.dom.Elementinterface and additionally allows
 for the storage of non-textual objects via thegetUserObjectandsetUserObjectmethods. | 
| Modifier and Type | Field and Description | 
|---|---|
| protected Node | IIOInvalidTreeException. offendingNodeThe  Nodethat led to the parsing error, ornull. | 
| Modifier and Type | Method and Description | 
|---|---|
| Node | IIOMetadataNode. appendChild(Node newChild)Adds the node  newChildto the end of the list of
 children of this node. | 
| Node | IIOMetadataNode. cloneNode(boolean deep)Returns a duplicate of this node. | 
| abstract Node | IIOMetadata. getAsTree(String formatName)Returns an XML DOM  Nodeobject that represents the
 root of a tree of metadata contained within this object
 according to the conventions defined by a given metadata
 format. | 
| Node | IIOMetadataNode. getFirstChild()Returns the first child of this node, or  nullif
 the node has no children. | 
| Node | IIOMetadataNode. getLastChild()Returns the last child of this node, or  nullif
 the node has no children. | 
| Node | IIOMetadataNode. getNextSibling()Returns the next sibling of this node, or  nullif
 the node has no next sibling. | 
| Node | IIOInvalidTreeException. getOffendingNode()Returns the  Nodethat caused the error in parsing. | 
| Node | IIOMetadataNode. getParentNode()Returns the parent of this node. | 
| Node | IIOMetadataNode. getPreviousSibling()Returns the previous sibling of this node, or  nullif this node has no previous sibling. | 
| Node | IIOMetadataNode. insertBefore(Node newChild,
            Node refChild)Inserts the node  newChildbefore the existing
 child noderefChild. | 
| Node | IIOMetadataNode. item(int index) | 
| Node | IIOMetadataNode. removeChild(Node oldChild)Removes the child node indicated by  oldChildfrom
 the list of children, and returns it. | 
| Node | IIOMetadataNode. replaceChild(Node newChild,
            Node oldChild)Replaces the child node  oldChildwithnewChildin the list of children, and returns theoldChildnode. | 
| Modifier and Type | Method and Description | 
|---|---|
| Node | IIOMetadataNode. appendChild(Node newChild)Adds the node  newChildto the end of the list of
 children of this node. | 
| short | IIOMetadataNode. compareDocumentPosition(Node other)This DOM Level 3 method is not supported for  IIOMetadataNodeand will throw aDOMException. | 
| Node | IIOMetadataNode. insertBefore(Node newChild,
            Node refChild)Inserts the node  newChildbefore the existing
 child noderefChild. | 
| boolean | IIOMetadataNode. isEqualNode(Node node)This DOM Level 3 method is not supported for  IIOMetadataNodeand will throw aDOMException. | 
| boolean | IIOMetadataNode. isSameNode(Node node)This DOM Level 3 method is not supported for  IIOMetadataNodeand will throw aDOMException. | 
| abstract void | IIOMetadata. mergeTree(String formatName,
         Node root)Alters the internal state of this  IIOMetadataobject from a tree of XML DOMNodes whose syntax
 is defined by the given metadata format. | 
| Node | IIOMetadataNode. removeChild(Node oldChild)Removes the child node indicated by  oldChildfrom
 the list of children, and returns it. | 
| Node | IIOMetadataNode. replaceChild(Node newChild,
            Node oldChild)Replaces the child node  oldChildwithnewChildin the list of children, and returns theoldChildnode. | 
| void | IIOMetadata. setFromTree(String formatName,
           Node root)Sets the internal state of this  IIOMetadataobject
 from a tree of XML DOMNodes whose syntax is
 defined by the given metadata format. | 
| Constructor and Description | 
|---|
| IIOInvalidTreeException(String message,
                       Node offendingNode)Constructs an  IIOInvalidTreeExceptionwith a
 message string and a reference to theNodethat
 caused the parsing error. | 
| IIOInvalidTreeException(String message,
                       Throwable cause,
                       Node offendingNode)Constructs an  IIOInvalidTreeExceptionwith a
 message string, a reference to an exception that caused this
 exception, and a reference to theNodethat caused
 the parsing error. | 
| Modifier and Type | Method and Description | 
|---|---|
| Node | ValidationEventLocator. getNode()Return a reference to the DOM Node if available | 
| Node | Marshaller. getNode(Object contentTree)Get a DOM tree view of the content tree(Optional). | 
| Modifier and Type | Method and Description | 
|---|---|
| Binder<Node> | JAXBContext. createBinder()Creates a Binder for W3C DOM. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | Marshaller. marshal(Object jaxbElement,
       Node node)Marshal the content tree rooted at jaxbElement into a DOM tree. | 
| Object | Unmarshaller. unmarshal(Node node)Unmarshal global XML data from the specified DOM tree and return the resulting
 content tree. | 
| <T> JAXBElement<T> | Unmarshaller. unmarshal(Node node,
         Class<T> declaredType)Unmarshal XML data by JAXB mapped declaredType
 and return the resulting content tree. | 
| Modifier and Type | Method and Description | 
|---|---|
| Node | ValidationEventLocatorImpl. getNode() | 
| Node | AbstractMarshallerImpl. getNode(Object obj)By default, the getNode method is unsupported and throw
 an  UnsupportedOperationException. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | AbstractMarshallerImpl. marshal(Object obj,
       Node node) | 
| void | ValidationEventLocatorImpl. setNode(Node _node)Set the Node field on this event locator. | 
| <T> JAXBElement<T> | AbstractUnmarshallerImpl. unmarshal(Node node,
         Class<T> expectedType) | 
| Constructor and Description | 
|---|
| ValidationEventLocatorImpl(Node _node)Constructs an object that points to a DOM Node. | 
| Modifier and Type | Method and Description | 
|---|---|
| Node | DOMURIReference. getHere()Returns the here node. | 
| Node | DOMStructure. getNode()Returns the node contained in this  DOMStructure. | 
| Constructor and Description | 
|---|
| DOMStructure(Node node)Creates a  DOMStructurecontaining the specified node. | 
| Modifier and Type | Method and Description | 
|---|---|
| Node | DOMSignContext. getNextSibling()Returns the nextSibling node. | 
| Node | DOMValidateContext. getNode()Returns the node. | 
| Node | DOMSignContext. getParent()Returns the parent node. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | DOMSignContext. setNextSibling(Node nextSibling)Sets the next sibling node. | 
| void | DOMValidateContext. setNode(Node node)Sets the node. | 
| void | DOMSignContext. setParent(Node parent)Sets the parent node. | 
| Constructor and Description | 
|---|
| DOMSignContext(Key signingKey,
              Node parent)Creates a  DOMSignContextwith the specified signing key
 and parent node. | 
| DOMSignContext(Key signingKey,
              Node parent,
              Node nextSibling)Creates a  DOMSignContextwith the specified signing key,
 parent and next sibling nodes. | 
| DOMSignContext(KeySelector ks,
              Node parent)Creates a  DOMSignContextwith the specified key selector
 and parent node. | 
| DOMSignContext(KeySelector ks,
              Node parent,
              Node nextSibling)Creates a  DOMSignContextwith the specified key selector,
 parent and next sibling nodes. | 
| DOMValidateContext(Key validatingKey,
                  Node node)Creates a  DOMValidateContextcontaining the specified key
 and node. | 
| DOMValidateContext(KeySelector ks,
                  Node node)Creates a  DOMValidateContextcontaining the specified key
 selector and node. | 
| Modifier and Type | Interface and Description | 
|---|---|
| interface  | DetailA container for  DetailEntryobjects. | 
| interface  | DetailEntryThe content for a  Detailobject, giving details for
 aSOAPFaultobject. | 
| interface  | NodeA representation of a node (element) in an XML document. | 
| interface  | SOAPBodyAn object that represents the contents of the SOAP body
 element in a SOAP message. | 
| interface  | SOAPBodyElementA  SOAPBodyElementobject represents the contents in
 aSOAPBodyobject. | 
| interface  | SOAPElementAn object representing an element of a SOAP message that is allowed but not
 specifically prescribed by a SOAP specification. | 
| interface  | SOAPEnvelopeThe container for the SOAPHeader and SOAPBody portions of a
  SOAPPartobject. | 
| interface  | SOAPFaultAn element in the  SOAPBodyobject that contains
 error and/or status information. | 
| interface  | SOAPFaultElementA representation of the contents in
 a  SOAPFaultobject. | 
| interface  | SOAPHeaderA representation of the SOAP header
 element. | 
| interface  | SOAPHeaderElementAn object representing the contents in the SOAP header part of the
 SOAP envelope. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | SOAPPartThe container for the SOAP-specific portion of a  SOAPMessageobject. | 
| Modifier and Type | Method and Description | 
|---|---|
| Node | DOMResult. getNextSibling()Get the child node before which the result nodes will be inserted. | 
| Node | DOMSource. getNode()Get the node that represents a Source DOM tree. | 
| Node | DOMResult. getNode()Get the node that will contain the result DOM tree. | 
| Node | DOMLocator. getOriginatingNode()Return the node where the event occurred. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | DOMResult. setNextSibling(Node nextSibling)Set the child node before which the result nodes will be inserted. | 
| void | DOMSource. setNode(Node node)Set the node that will represents a Source DOM tree. | 
| void | DOMResult. setNode(Node node)Set the node that will contain the result DOM tree. | 
| Constructor and Description | 
|---|
| DOMResult(Node node)Use a DOM node to create a new output target. | 
| DOMResult(Node node,
         Node nextSibling)Use a DOM node to create a new output target specifying the child node where the result nodes should be inserted before. | 
| DOMResult(Node node,
         Node nextSibling,
         String systemId)Use a DOM node to create a new output target specifying the child node where the result nodes should be inserted before and
 the specified System ID. | 
| DOMResult(Node node,
         String systemId)Use a DOM node to create a new output target with the specified System ID. | 
| DOMSource(Node n)Create a new input source with a DOM node. | 
| DOMSource(Node node,
         String systemID)Create a new input source with a DOM node, and with the
 system ID also passed in as the base URI. | 
| Modifier and Type | Interface and Description | 
|---|---|
| interface  | AttrThe  Attrinterface represents an attribute in anElementobject. | 
| interface  | CDATASectionCDATA sections are used to escape blocks of text containing characters that
 would otherwise be regarded as markup. | 
| interface  | CharacterDataThe  CharacterDatainterface extends Node with a set of
 attributes and methods for accessing character data in the DOM. | 
| interface  | CommentThis interface inherits from  CharacterDataand represents the
 content of a comment, i.e., all the characters between the starting '<!--' and ending '-->'. | 
| interface  | DocumentThe  Documentinterface represents the entire HTML or XML
 document. | 
| interface  | DocumentFragmentDocumentFragmentis a "lightweight" or "minimal"Documentobject. | 
| interface  | DocumentTypeEach  Documenthas adoctypeattribute whose value
 is eithernullor aDocumentTypeobject. | 
| interface  | ElementThe  Elementinterface represents an element in an HTML or XML
 document. | 
| interface  | EntityThis interface represents a known entity, either parsed or unparsed, in an
 XML document. | 
| interface  | EntityReferenceEntityReferencenodes may be used to represent an entity
 reference in the tree. | 
| interface  | NotationThis interface represents a notation declared in the DTD. | 
| interface  | ProcessingInstructionThe  ProcessingInstructioninterface represents a "processing
 instruction", used in XML as a way to keep processor-specific information
 in the text of the document. | 
| interface  | TextThe  Textinterface inherits fromCharacterDataand represents the textual content (termed character data in XML) of anElementorAttr. | 
| Modifier and Type | Method and Description | 
|---|---|
| Node | Document. adoptNode(Node source)Attempts to adopt a node from another document to this document. | 
| Node | Node. appendChild(Node newChild)Adds the node  newChildto the end of the list of children
 of this node. | 
| Node | Node. cloneNode(boolean deep)Returns a duplicate of this node, i.e., serves as a generic copy
 constructor for nodes. | 
| Node | Node. getFirstChild()The first child of this node. | 
| Node | Node. getLastChild()The last child of this node. | 
| Node | NamedNodeMap. getNamedItem(String name)Retrieves a node specified by name. | 
| Node | NamedNodeMap. getNamedItemNS(String namespaceURI,
              String localName)Retrieves a node specified by local name and namespace URI. | 
| Node | Node. getNextSibling()The node immediately following this node. | 
| Node | Node. getParentNode()The parent of this node. | 
| Node | Node. getPreviousSibling()The node immediately preceding this node. | 
| Node | DOMLocator. getRelatedNode()The node this locator is pointing to, or  nullif no node
 is available. | 
| Node | Document. importNode(Node importedNode,
          boolean deep)Imports a node from another document to this document, without altering
 or removing the source node from the original document; this method
 creates a new copy of the source node. | 
| Node | Node. insertBefore(Node newChild,
            Node refChild)Inserts the node  newChildbefore the existing child noderefChild. | 
| Node | NodeList. item(int index)Returns the  indexth item in the collection. | 
| Node | NamedNodeMap. item(int index)Returns the  indexth item in the map. | 
| Node | Node. removeChild(Node oldChild)Removes the child node indicated by  oldChildfrom the list
 of children, and returns it. | 
| Node | NamedNodeMap. removeNamedItem(String name)Removes a node specified by name. | 
| Node | NamedNodeMap. removeNamedItemNS(String namespaceURI,
                 String localName)Removes a node specified by local name and namespace URI. | 
| Node | Document. renameNode(Node n,
          String namespaceURI,
          String qualifiedName)Rename an existing node of type  ELEMENT_NODEorATTRIBUTE_NODE. | 
| Node | Node. replaceChild(Node newChild,
            Node oldChild)Replaces the child node  oldChildwithnewChildin the list of children, and returns theoldChildnode. | 
| Node | NamedNodeMap. setNamedItem(Node arg)Adds a node using its  nodeNameattribute. | 
| Node | NamedNodeMap. setNamedItemNS(Node arg)Adds a node using its  namespaceURIandlocalName. | 
| Modifier and Type | Method and Description | 
|---|---|
| Node | Document. adoptNode(Node source)Attempts to adopt a node from another document to this document. | 
| Node | Node. appendChild(Node newChild)Adds the node  newChildto the end of the list of children
 of this node. | 
| short | Node. compareDocumentPosition(Node other)Compares the reference node, i.e. | 
| void | UserDataHandler. handle(short operation,
      String key,
      Object data,
      Node src,
      Node dst)This method is called whenever the node for which this handler is
 registered is imported or cloned. | 
| Node | Document. importNode(Node importedNode,
          boolean deep)Imports a node from another document to this document, without altering
 or removing the source node from the original document; this method
 creates a new copy of the source node. | 
| Node | Node. insertBefore(Node newChild,
            Node refChild)Inserts the node  newChildbefore the existing child noderefChild. | 
| boolean | Node. isEqualNode(Node arg)Tests whether two nodes are equal. | 
| boolean | Node. isSameNode(Node other)Returns whether this node is the same node as the given one. | 
| Node | Node. removeChild(Node oldChild)Removes the child node indicated by  oldChildfrom the list
 of children, and returns it. | 
| Node | Document. renameNode(Node n,
          String namespaceURI,
          String qualifiedName)Rename an existing node of type  ELEMENT_NODEorATTRIBUTE_NODE. | 
| Node | Node. replaceChild(Node newChild,
            Node oldChild)Replaces the child node  oldChildwithnewChildin the list of children, and returns theoldChildnode. | 
| Node | NamedNodeMap. setNamedItem(Node arg)Adds a node using its  nodeNameattribute. | 
| Node | NamedNodeMap. setNamedItemNS(Node arg)Adds a node using its  namespaceURIandlocalName. | 
| Modifier and Type | Method and Description | 
|---|---|
| Node | MutationEvent. getRelatedNode()relatedNodeis used to identify a secondary node related
 to a mutation event. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | MutationEvent. initMutationEvent(String typeArg,
                 boolean canBubbleArg,
                 boolean cancelableArg,
                 Node relatedNodeArg,
                 String prevValueArg,
                 String newValueArg,
                 String attrNameArg,
                 short attrChangeArg)The  initMutationEventmethod is used to initialize the
 value of aMutationEventcreated through theDocumentEventinterface. | 
| Modifier and Type | Method and Description | 
|---|---|
| Node | LSParser. parseWithContext(LSInput input,
                Node contextArg,
                short action)Parse an XML fragment from a resource identified by a
  LSInputand insert the content into an existing document
 at the position specified with thecontextandactionarguments. | 
| Modifier and Type | Method and Description | 
|---|---|
| short | LSParserFilter. acceptNode(Node nodeArg)This method will be called by the parser at the completion of the
 parsing of each node. | 
| Node | LSParser. parseWithContext(LSInput input,
                Node contextArg,
                short action)Parse an XML fragment from a resource identified by a
  LSInputand insert the content into an existing document
 at the position specified with thecontextandactionarguments. | 
| boolean | LSSerializer. write(Node nodeArg,
     LSOutput destination)Serialize the specified node as described above in the general
 description of the  LSSerializerinterface. | 
| String | LSSerializer. writeToString(Node nodeArg)Serialize the specified node as described above in the general
 description of the  LSSerializerinterface. | 
| boolean | LSSerializer. writeToURI(Node nodeArg,
          String uri)A convenience method that acts as if  LSSerializer.writewas called with aLSOutputwith no encoding specified
 andLSOutput.systemIdset to theuriargument. | 
 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, 2015, Oracle and/or its affiliates.  All rights reserved.