org.w3c.dom
Interface Node

All Known Subinterfaces:
Attr sample code for org.w3c.dom.Attr definition code for org.w3c.dom.Attr , CDATASection sample code for org.w3c.dom.CDATASection definition code for org.w3c.dom.CDATASection , CharacterData sample code for org.w3c.dom.CharacterData definition code for org.w3c.dom.CharacterData , Comment sample code for org.w3c.dom.Comment definition code for org.w3c.dom.Comment , Document sample code for org.w3c.dom.Document definition code for org.w3c.dom.Document , DocumentFragment sample code for org.w3c.dom.DocumentFragment definition code for org.w3c.dom.DocumentFragment , DocumentType sample code for org.w3c.dom.DocumentType definition code for org.w3c.dom.DocumentType , Element sample code for org.w3c.dom.Element definition code for org.w3c.dom.Element , Entity sample code for org.w3c.dom.Entity definition code for org.w3c.dom.Entity , EntityReference sample code for org.w3c.dom.EntityReference definition code for org.w3c.dom.EntityReference , HTMLAnchorElement sample code for org.w3c.dom.html.HTMLAnchorElement definition code for org.w3c.dom.html.HTMLAnchorElement , HTMLAppletElement sample code for org.w3c.dom.html.HTMLAppletElement definition code for org.w3c.dom.html.HTMLAppletElement , HTMLAreaElement sample code for org.w3c.dom.html.HTMLAreaElement definition code for org.w3c.dom.html.HTMLAreaElement , HTMLBaseElement sample code for org.w3c.dom.html.HTMLBaseElement definition code for org.w3c.dom.html.HTMLBaseElement , HTMLBaseFontElement sample code for org.w3c.dom.html.HTMLBaseFontElement definition code for org.w3c.dom.html.HTMLBaseFontElement , HTMLBodyElement sample code for org.w3c.dom.html.HTMLBodyElement definition code for org.w3c.dom.html.HTMLBodyElement , HTMLBRElement sample code for org.w3c.dom.html.HTMLBRElement definition code for org.w3c.dom.html.HTMLBRElement , HTMLButtonElement sample code for org.w3c.dom.html.HTMLButtonElement definition code for org.w3c.dom.html.HTMLButtonElement , HTMLDirectoryElement sample code for org.w3c.dom.html.HTMLDirectoryElement definition code for org.w3c.dom.html.HTMLDirectoryElement , HTMLDivElement sample code for org.w3c.dom.html.HTMLDivElement definition code for org.w3c.dom.html.HTMLDivElement , HTMLDListElement sample code for org.w3c.dom.html.HTMLDListElement definition code for org.w3c.dom.html.HTMLDListElement , HTMLDocument sample code for org.w3c.dom.html.HTMLDocument definition code for org.w3c.dom.html.HTMLDocument , HTMLElement sample code for org.w3c.dom.html.HTMLElement definition code for org.w3c.dom.html.HTMLElement , HTMLFieldSetElement sample code for org.w3c.dom.html.HTMLFieldSetElement definition code for org.w3c.dom.html.HTMLFieldSetElement , HTMLFontElement sample code for org.w3c.dom.html.HTMLFontElement definition code for org.w3c.dom.html.HTMLFontElement , HTMLFormElement sample code for org.w3c.dom.html.HTMLFormElement definition code for org.w3c.dom.html.HTMLFormElement , HTMLFrameElement sample code for org.w3c.dom.html.HTMLFrameElement definition code for org.w3c.dom.html.HTMLFrameElement , HTMLFrameSetElement sample code for org.w3c.dom.html.HTMLFrameSetElement definition code for org.w3c.dom.html.HTMLFrameSetElement , HTMLHeadElement sample code for org.w3c.dom.html.HTMLHeadElement definition code for org.w3c.dom.html.HTMLHeadElement , HTMLHeadingElement sample code for org.w3c.dom.html.HTMLHeadingElement definition code for org.w3c.dom.html.HTMLHeadingElement , HTMLHRElement sample code for org.w3c.dom.html.HTMLHRElement definition code for org.w3c.dom.html.HTMLHRElement , HTMLHtmlElement sample code for org.w3c.dom.html.HTMLHtmlElement definition code for org.w3c.dom.html.HTMLHtmlElement , HTMLIFrameElement sample code for org.w3c.dom.html.HTMLIFrameElement definition code for org.w3c.dom.html.HTMLIFrameElement , HTMLImageElement sample code for org.w3c.dom.html.HTMLImageElement definition code for org.w3c.dom.html.HTMLImageElement , HTMLInputElement sample code for org.w3c.dom.html.HTMLInputElement definition code for org.w3c.dom.html.HTMLInputElement , HTMLIsIndexElement sample code for org.w3c.dom.html.HTMLIsIndexElement definition code for org.w3c.dom.html.HTMLIsIndexElement , HTMLLabelElement sample code for org.w3c.dom.html.HTMLLabelElement definition code for org.w3c.dom.html.HTMLLabelElement , HTMLLegendElement sample code for org.w3c.dom.html.HTMLLegendElement definition code for org.w3c.dom.html.HTMLLegendElement , HTMLLIElement sample code for org.w3c.dom.html.HTMLLIElement definition code for org.w3c.dom.html.HTMLLIElement , HTMLLinkElement sample code for org.w3c.dom.html.HTMLLinkElement definition code for org.w3c.dom.html.HTMLLinkElement , HTMLMapElement sample code for org.w3c.dom.html.HTMLMapElement definition code for org.w3c.dom.html.HTMLMapElement , HTMLMenuElement sample code for org.w3c.dom.html.HTMLMenuElement definition code for org.w3c.dom.html.HTMLMenuElement , HTMLMetaElement sample code for org.w3c.dom.html.HTMLMetaElement definition code for org.w3c.dom.html.HTMLMetaElement , HTMLModElement sample code for org.w3c.dom.html.HTMLModElement definition code for org.w3c.dom.html.HTMLModElement , HTMLObjectElement sample code for org.w3c.dom.html.HTMLObjectElement definition code for org.w3c.dom.html.HTMLObjectElement , HTMLOListElement sample code for org.w3c.dom.html.HTMLOListElement definition code for org.w3c.dom.html.HTMLOListElement , HTMLOptGroupElement sample code for org.w3c.dom.html.HTMLOptGroupElement definition code for org.w3c.dom.html.HTMLOptGroupElement , HTMLOptionElement sample code for org.w3c.dom.html.HTMLOptionElement definition code for org.w3c.dom.html.HTMLOptionElement , HTMLParagraphElement sample code for org.w3c.dom.html.HTMLParagraphElement definition code for org.w3c.dom.html.HTMLParagraphElement , HTMLParamElement sample code for org.w3c.dom.html.HTMLParamElement definition code for org.w3c.dom.html.HTMLParamElement , HTMLPreElement sample code for org.w3c.dom.html.HTMLPreElement definition code for org.w3c.dom.html.HTMLPreElement , HTMLQuoteElement sample code for org.w3c.dom.html.HTMLQuoteElement definition code for org.w3c.dom.html.HTMLQuoteElement , HTMLScriptElement sample code for org.w3c.dom.html.HTMLScriptElement definition code for org.w3c.dom.html.HTMLScriptElement , HTMLSelectElement sample code for org.w3c.dom.html.HTMLSelectElement definition code for org.w3c.dom.html.HTMLSelectElement , HTMLStyleElement sample code for org.w3c.dom.html.HTMLStyleElement definition code for org.w3c.dom.html.HTMLStyleElement , HTMLTableCaptionElement sample code for org.w3c.dom.html.HTMLTableCaptionElement definition code for org.w3c.dom.html.HTMLTableCaptionElement , HTMLTableCellElement sample code for org.w3c.dom.html.HTMLTableCellElement definition code for org.w3c.dom.html.HTMLTableCellElement , HTMLTableColElement sample code for org.w3c.dom.html.HTMLTableColElement definition code for org.w3c.dom.html.HTMLTableColElement , HTMLTableElement sample code for org.w3c.dom.html.HTMLTableElement definition code for org.w3c.dom.html.HTMLTableElement , HTMLTableRowElement sample code for org.w3c.dom.html.HTMLTableRowElement definition code for org.w3c.dom.html.HTMLTableRowElement , HTMLTableSectionElement sample code for org.w3c.dom.html.HTMLTableSectionElement definition code for org.w3c.dom.html.HTMLTableSectionElement , HTMLTextAreaElement sample code for org.w3c.dom.html.HTMLTextAreaElement definition code for org.w3c.dom.html.HTMLTextAreaElement , HTMLTitleElement sample code for org.w3c.dom.html.HTMLTitleElement definition code for org.w3c.dom.html.HTMLTitleElement , HTMLUListElement sample code for org.w3c.dom.html.HTMLUListElement definition code for org.w3c.dom.html.HTMLUListElement , Notation sample code for org.w3c.dom.Notation definition code for org.w3c.dom.Notation , ProcessingInstruction sample code for org.w3c.dom.ProcessingInstruction definition code for org.w3c.dom.ProcessingInstruction , Text sample code for org.w3c.dom.Text definition code for org.w3c.dom.Text
All Known Implementing Classes:
IIOMetadataNode sample code for javax.imageio.metadata.IIOMetadataNode definition code for javax.imageio.metadata.IIOMetadataNode

public interface Node

The Node interface is the primary datatype for the entire Document Object Model. It represents a single node in the document tree. While all objects implementing the Node interface expose methods for dealing with children, not all objects implementing the Node interface may have children. For example, Text nodes may not have children, and adding children to such nodes results in a DOMException being raised.

The attributes nodeName, nodeValue and attributes are included as a mechanism to get at node information without casting down to the specific derived interface. In cases where there is no obvious mapping of these attributes for a specific nodeType (e.g., nodeValue for an Element or attributes for a Comment ), this returns null. Note that the specialized interfaces may contain additional and more convenient mechanisms to get and set the relevant information.

The values of nodeName, nodeValue, and attributes vary according to the node type as follows:

Interface nodeName nodeValue attributes
Attr same as Attr.name same as Attr.value null
CDATASection "#cdata-section" same as CharacterData.data, the content of the CDATA Section null
Comment "#comment" same as CharacterData.data, the content of the comment null
Document "#document" null null
DocumentFragment "#document-fragment" null null
DocumentType same as DocumentType.name null null
Element same as Element.tagName null NamedNodeMap
Entity entity name null null
EntityReference name of entity referenced null null
Notation notation name null null
ProcessingInstruction same as ProcessingInstruction.target same as ProcessingInstruction.data null
Text "#text" same as CharacterData.data, the content of the text node null

See also the Document Object Model (DOM) Level 3 Core Specification.


Field Summary
static short ATTRIBUTE_NODE sample code for org.w3c.dom.Node.ATTRIBUTE_NODE definition code for org.w3c.dom.Node.ATTRIBUTE_NODE
          The node is an Attr.
static short CDATA_SECTION_NODE sample code for org.w3c.dom.Node.CDATA_SECTION_NODE definition code for org.w3c.dom.Node.CDATA_SECTION_NODE
          The node is a CDATASection.
static short COMMENT_NODE sample code for org.w3c.dom.Node.COMMENT_NODE definition code for org.w3c.dom.Node.COMMENT_NODE
          The node is a Comment.
static short DOCUMENT_FRAGMENT_NODE sample code for org.w3c.dom.Node.DOCUMENT_FRAGMENT_NODE definition code for org.w3c.dom.Node.DOCUMENT_FRAGMENT_NODE
          The node is a DocumentFragment.
static short DOCUMENT_NODE sample code for org.w3c.dom.Node.DOCUMENT_NODE definition code for org.w3c.dom.Node.DOCUMENT_NODE
          The node is a Document.
static short DOCUMENT_POSITION_CONTAINED_BY sample code for org.w3c.dom.Node.DOCUMENT_POSITION_CONTAINED_BY definition code for org.w3c.dom.Node.DOCUMENT_POSITION_CONTAINED_BY
          The node is contained by the reference node.
static short DOCUMENT_POSITION_CONTAINS sample code for org.w3c.dom.Node.DOCUMENT_POSITION_CONTAINS definition code for org.w3c.dom.Node.DOCUMENT_POSITION_CONTAINS
          The node contains the reference node.
static short DOCUMENT_POSITION_DISCONNECTED sample code for org.w3c.dom.Node.DOCUMENT_POSITION_DISCONNECTED definition code for org.w3c.dom.Node.DOCUMENT_POSITION_DISCONNECTED
          The two nodes are disconnected.
static short DOCUMENT_POSITION_FOLLOWING sample code for org.w3c.dom.Node.DOCUMENT_POSITION_FOLLOWING definition code for org.w3c.dom.Node.DOCUMENT_POSITION_FOLLOWING
          The node follows the reference node.
static short DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC sample code for org.w3c.dom.Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC definition code for org.w3c.dom.Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC
          The determination of preceding versus following is implementation-specific.
static short DOCUMENT_POSITION_PRECEDING sample code for org.w3c.dom.Node.DOCUMENT_POSITION_PRECEDING definition code for org.w3c.dom.Node.DOCUMENT_POSITION_PRECEDING
          The second node precedes the reference node.
static short DOCUMENT_TYPE_NODE sample code for org.w3c.dom.Node.DOCUMENT_TYPE_NODE definition code for org.w3c.dom.Node.DOCUMENT_TYPE_NODE
          The node is a DocumentType.
static short ELEMENT_NODE sample code for org.w3c.dom.Node.ELEMENT_NODE definition code for org.w3c.dom.Node.ELEMENT_NODE
          The node is an Element.
static short ENTITY_NODE sample code for org.w3c.dom.Node.ENTITY_NODE definition code for org.w3c.dom.Node.ENTITY_NODE
          The node is an Entity.
static short ENTITY_REFERENCE_NODE sample code for org.w3c.dom.Node.ENTITY_REFERENCE_NODE definition code for org.w3c.dom.Node.ENTITY_REFERENCE_NODE
          The node is an EntityReference.
static short NOTATION_NODE sample code for org.w3c.dom.Node.NOTATION_NODE definition code for org.w3c.dom.Node.NOTATION_NODE
          The node is a Notation.
static short PROCESSING_INSTRUCTION_NODE sample code for org.w3c.dom.Node.PROCESSING_INSTRUCTION_NODE definition code for org.w3c.dom.Node.PROCESSING_INSTRUCTION_NODE
          The node is a ProcessingInstruction.
static short TEXT_NODE sample code for org.w3c.dom.Node.TEXT_NODE definition code for org.w3c.dom.Node.TEXT_NODE
          The node is a Text node.
 
Method Summary
 Node sample code for org.w3c.dom.Node definition code for org.w3c.dom.Node appendChild sample code for org.w3c.dom.Node.appendChild(org.w3c.dom.Node) definition code for org.w3c.dom.Node.appendChild(org.w3c.dom.Node) (Node sample code for org.w3c.dom.Node definition code for org.w3c.dom.Node  newChild)
          Adds the node newChild to the end of the list of children of this node.
 Node sample code for org.w3c.dom.Node definition code for org.w3c.dom.Node cloneNode sample code for org.w3c.dom.Node.cloneNode(boolean) definition code for org.w3c.dom.Node.cloneNode(boolean) (boolean deep)
          Returns a duplicate of this node, i.e., serves as a generic copy constructor for nodes.
 short compareDocumentPosition sample code for org.w3c.dom.Node.compareDocumentPosition(org.w3c.dom.Node) definition code for org.w3c.dom.Node.compareDocumentPosition(org.w3c.dom.Node) (Node sample code for org.w3c.dom.Node definition code for org.w3c.dom.Node  other)
          Compares the reference node, i.e.
 NamedNodeMap sample code for org.w3c.dom.NamedNodeMap definition code for org.w3c.dom.NamedNodeMap getAttributes sample code for org.w3c.dom.Node.getAttributes() definition code for org.w3c.dom.Node.getAttributes() ()
          A NamedNodeMap containing the attributes of this node (if it is an Element) or null otherwise.
 String sample code for java.lang.String definition code for java.lang.String getBaseURI sample code for org.w3c.dom.Node.getBaseURI() definition code for org.w3c.dom.Node.getBaseURI() ()
          The absolute base URI of this node or null if the implementation wasn't able to obtain an absolute URI.
 NodeList sample code for org.w3c.dom.NodeList definition code for org.w3c.dom.NodeList getChildNodes sample code for org.w3c.dom.Node.getChildNodes() definition code for org.w3c.dom.Node.getChildNodes() ()
          A NodeList that contains all children of this node.
 Object sample code for java.lang.Object definition code for java.lang.Object getFeature sample code for org.w3c.dom.Node.getFeature(java.lang.String, java.lang.String) definition code for org.w3c.dom.Node.getFeature(java.lang.String, java.lang.String) (String sample code for java.lang.String definition code for java.lang.String  feature, String sample code for java.lang.String definition code for java.lang.String  version)
          This method returns a specialized object which implements the specialized APIs of the specified feature and version, as specified in .
 Node sample code for org.w3c.dom.Node definition code for org.w3c.dom.Node getFirstChild sample code for org.w3c.dom.Node.getFirstChild() definition code for org.w3c.dom.Node.getFirstChild() ()
          The first child of this node.
 Node sample code for org.w3c.dom.Node definition code for org.w3c.dom.Node getLastChild sample code for org.w3c.dom.Node.getLastChild() definition code for org.w3c.dom.Node.getLastChild() ()
          The last child of this node.
 String sample code for java.lang.String definition code for java.lang.String getLocalName sample code for org.w3c.dom.Node.getLocalName() definition code for org.w3c.dom.Node.getLocalName() ()
          Returns the local part of the qualified name of this node.
 String sample code for java.lang.String definition code for java.lang.String getNamespaceURI sample code for org.w3c.dom.Node.getNamespaceURI() definition code for org.w3c.dom.Node.getNamespaceURI() ()
          The namespace URI of this node, or null if it is unspecified (see ).
 Node sample code for org.w3c.dom.Node definition code for org.w3c.dom.Node getNextSibling sample code for org.w3c.dom.Node.getNextSibling() definition code for org.w3c.dom.Node.getNextSibling() ()
          The node immediately following this node.
 String sample code for java.lang.String definition code for java.lang.String getNodeName sample code for org.w3c.dom.Node.getNodeName() definition code for org.w3c.dom.Node.getNodeName() ()
          The name of this node, depending on its type; see the table above.
 short getNodeType sample code for org.w3c.dom.Node.getNodeType() definition code for org.w3c.dom.Node.getNodeType() ()
          A code representing the type of the underlying object, as defined above.
 String sample code for java.lang.String definition code for java.lang.String getNodeValue sample code for org.w3c.dom.Node.getNodeValue() definition code for org.w3c.dom.Node.getNodeValue() ()
          The value of this node, depending on its type; see the table above.
 Document sample code for org.w3c.dom.Document definition code for org.w3c.dom.Document getOwnerDocument sample code for org.w3c.dom.Node.getOwnerDocument() definition code for org.w3c.dom.Node.getOwnerDocument() ()
          The Document object associated with this node.
 Node sample code for org.w3c.dom.Node definition code for org.w3c.dom.Node getParentNode sample code for org.w3c.dom.Node.getParentNode() definition code for org.w3c.dom.Node.getParentNode() ()
          The parent of this node.
 String sample code for java.lang.String definition code for java.lang.String getPrefix sample code for org.w3c.dom.Node.getPrefix() definition code for org.w3c.dom.Node.getPrefix() ()
          The namespace prefix of this node, or null if it is unspecified.
 Node sample code for org.w3c.dom.Node definition code for org.w3c.dom.Node getPreviousSibling sample code for org.w3c.dom.Node.getPreviousSibling() definition code for org.w3c.dom.Node.getPreviousSibling() ()
          The node immediately preceding this node.
 String sample code for java.lang.String definition code for java.lang.String getTextContent sample code for org.w3c.dom.Node.getTextContent() definition code for org.w3c.dom.Node.getTextContent() ()
          This attribute returns the text content of this node and its descendants.
 Object sample code for java.lang.Object definition code for java.lang.Object getUserData sample code for org.w3c.dom.Node.getUserData(java.lang.String) definition code for org.w3c.dom.Node.getUserData(java.lang.String) (String sample code for java.lang.String definition code for java.lang.String  key)
          Retrieves the object associated to a key on a this node.
 boolean hasAttributes sample code for org.w3c.dom.Node.hasAttributes() definition code for org.w3c.dom.Node.hasAttributes() ()
          Returns whether this node (if it is an element) has any attributes.
 boolean hasChildNodes sample code for org.w3c.dom.Node.hasChildNodes() definition code for org.w3c.dom.Node.hasChildNodes() ()
          Returns whether this node has any children.
 Node sample code for org.w3c.dom.Node definition code for org.w3c.dom.Node insertBefore sample code for org.w3c.dom.Node.insertBefore(org.w3c.dom.Node, org.w3c.dom.Node) definition code for org.w3c.dom.Node.insertBefore(org.w3c.dom.Node, org.w3c.dom.Node) (Node sample code for org.w3c.dom.Node definition code for org.w3c.dom.Node  newChild, Node sample code for org.w3c.dom.Node definition code for org.w3c.dom.Node  refChild)
          Inserts the node newChild before the existing child node refChild.
 boolean isDefaultNamespace sample code for org.w3c.dom.Node.isDefaultNamespace(java.lang.String) definition code for org.w3c.dom.Node.isDefaultNamespace(java.lang.String) (String sample code for java.lang.String definition code for java.lang.String  namespaceURI)
          This method checks if the specified namespaceURI is the default namespace or not.
 boolean isEqualNode sample code for org.w3c.dom.Node.isEqualNode(org.w3c.dom.Node) definition code for org.w3c.dom.Node.isEqualNode(org.w3c.dom.Node) (Node sample code for org.w3c.dom.Node definition code for org.w3c.dom.Node  arg)
          Tests whether two nodes are equal.
 boolean isSameNode sample code for org.w3c.dom.Node.isSameNode(org.w3c.dom.Node) definition code for org.w3c.dom.Node.isSameNode(org.w3c.dom.Node) (Node sample code for org.w3c.dom.Node definition code for org.w3c.dom.Node  other)
          Returns whether this node is the same node as the given one.
 boolean isSupported sample code for org.w3c.dom.Node.isSupported(java.lang.String, java.lang.String) definition code for org.w3c.dom.Node.isSupported(java.lang.String, java.lang.String) (String sample code for java.lang.String definition code for java.lang.String  feature, String sample code for java.lang.String definition code for java.lang.String  version)
          Tests whether the DOM implementation implements a specific feature and that feature is supported by this node, as specified in .
 String sample code for java.lang.String definition code for java.lang.String lookupNamespaceURI sample code for org.w3c.dom.Node.lookupNamespaceURI(java.lang.String) definition code for org.w3c.dom.Node.lookupNamespaceURI(java.lang.String) (String sample code for java.lang.String definition code for java.lang.String  prefix)
          Look up the namespace URI associated to the given prefix, starting from this node.
 String sample code for java.lang.String definition code for java.lang.String lookupPrefix sample code for org.w3c.dom.Node.lookupPrefix(java.lang.String) definition code for org.w3c.dom.Node.lookupPrefix(java.lang.String) (String sample code for java.lang.String definition code for java.lang.String  namespaceURI)
          Look up the prefix associated to the given namespace URI, starting from this node.
 void normalize sample code for org.w3c.dom.Node.normalize() definition code for org.w3c.dom.Node.normalize() ()
          Puts all Text nodes in the full depth of the sub-tree underneath this Node, including attribute nodes, into a "normal" form where only structure (e.g., elements, comments, processing instructions, CDATA sections, and entity references) separates Text nodes, i.e., there are neither adjacent Text nodes nor empty Text nodes.
 Node sample code for org.w3c.dom.Node definition code for org.w3c.dom.Node removeChild sample code for org.w3c.dom.Node.removeChild(org.w3c.dom.Node) definition code for org.w3c.dom.Node.removeChild(org.w3c.dom.Node) (Node sample code for org.w3c.dom.Node definition code for org.w3c.dom.Node  oldChild)
          Removes the child node indicated by oldChild from the list of children, and returns it.
 Node sample code for org.w3c.dom.Node definition code for org.w3c.dom.Node replaceChild sample code for org.w3c.dom.Node.replaceChild(org.w3c.dom.Node, org.w3c.dom.Node) definition code for org.w3c.dom.Node.replaceChild(org.w3c.dom.Node, org.w3c.dom.Node) (Node sample code for org.w3c.dom.Node definition code for org.w3c.dom.Node  newChild, Node sample code for org.w3c.dom.Node definition code for org.w3c.dom.Node  oldChild)
          Replaces the child node oldChild with newChild in the list of children, and returns the oldChild node.
 void setNodeValue sample code for org.w3c.dom.Node.setNodeValue(java.lang.String) definition code for org.w3c.dom.Node.setNodeValue(java.lang.String) (String sample code for java.lang.String definition code for java.lang.String  nodeValue)
          The value of this node, depending on its type; see the table above.
 void setPrefix sample code for org.w3c.dom.Node.setPrefix(java.lang.String) definition code for org.w3c.dom.Node.setPrefix(java.lang.String) (String sample code for java.lang.String definition code for java.lang.String  prefix)
          The namespace prefix of this node, or null if it is unspecified.
 void setTextContent sample code for org.w3c.dom.Node.setTextContent(java.lang.String) definition code for org.w3c.dom.Node.setTextContent(java.lang.String) (String