* the primary access to the document's data.
* <p>Since elements, text nodes, comments, processing instructions, etc.
* <code>DOMDocument</code> within whose context they were created.
* can be specified directly on the returned object.
* and attached to the element.
* <code>namespaceURI</code> set to <code>null</code>.
* Creates an empty <code>DOMDocumentFragment</code> object.
* @return A new <code>DOMDocumentFragment</code>.
* Creates a <code>DOMText</code> node given the specified string.
* @param data The data for the node.
* @return The new <code>DOMText</code> object.
* Creates a <code>DOMComment</code> node given the specified string.
* @return The new <code>DOMComment</code> object.
* @param data The data for the <code>DOMCDATASection</code> contents.
* @return The new <code>DOMCDATASection</code> object.
* name and data strings.
* @param target The target part of the processing instruction.
* @return The new <code>DOMProcessingInstruction</code> object.
* using the <code>setAttributeNode</code> method.
* @param name The name of the attribute.
* <code>null</code>. The value of the attribute is the empty string.
* @param name The name of the entity to reference.
* @return The new <code>DOMEntityReference</code> object.
* DOM application may use objects from multiple implementations.
* node that is the root element of the document.
* preorder traversal of the <code>DOMDocument</code> tree.
* returned will be immediately reflected in the node list.
* @param tagname The name of the tag to match on. The special value "*"
* node has no parent; (<code>parentNode</code> is <code>null</code>).
* this method creates a new copy of the source node.
* node is not altered.
* and the resulting nodes reassembled to form the corresponding subtree.
* defines default attributes for this element name, those are assigned.
* <code>publicId</code> and <code>systemId</code> attributes are copied.
* @param importedNode The node to import.
* , <code>DOMEntityReference</code>, and <code>DOMNotation</code> nodes.
* @return The imported node that belongs to this <code>DOMDocument</code>.
* Creates an element of the given qualified name and namespace URI.
* @param namespaceURI The namespace URI of the element to create.
* contains an illegal character, per the XML 1.0 specification .
* Creates an attribute of the given qualified name and namespace URI.
* @param namespaceURI The namespace URI of the attribute to create.
* encountered in a preorder traversal of the <code>DOMDocument</code> tree.
* special value "*" matches all namespaces.
* special value "*" matches all local names.
* with the name "ID" are not of type ID unless so defined.
* not are expected to return <code>null</code>.
* @return The matching element.
* An attribute specifying the encoding used for this document at the time of the parsing.
* This is <code>null</code> when it is not known, such as when the DOMDocument was created in memory.
* An attribute specifying, as part of the XML declaration, the encoding of this document.
* DOMDocument was created in memory.
* An attribute specifying, as part of the XML declaration, whether this document is standalone.
* This is <code>false</code> when unspecified.
* <br> This attribute represents the property [standalone] defined in .
* number of this document. This is <code>null</code> when unspecified.
* <br> This attribute represents the property [version] defined in .
* The location of the document or <code>null</code> if undefined.
* An attribute specifying whether errors checking is enforced or not.
* event <code>NODE_RENAMED</code> is fired.
* above, it is put back.
* @param n The node to rename.
* @param namespaceURI The new namespaceURI.
* @param qualifiedName The new qualified name.
* node that was created to replace the specified node.
* neither <code>ELEMENT_NODE</code> nor <code>ATTRIBUTE_NODE</code>.
* from a different document than this document.
* following list describes the specifics for each type of node.
* element are adopted, and the generated <code>DOMAttr</code> nodes.
* and destination documents might have defined the entity differently.
* @param source The node to move into this document.
* normalizes attribute values, etc.
* changes occurring on the document.
* Note that this is a partial implementation. Not all the required features are implemented.
* Currently <code>DOMAttr</code> and <code>DOMText</code> nodes are normalized.
* Features to remove <code>DOMComment</code> and <code>DOMCDATASection</code> work.
* The configuration used when DOMDocument::normalizeDocument is invoked.
* Create a new entity.
* Create a DOMDocumentType node.
* namespace URI, and also stores line/column number info.
* Used by internally XSDXercesDOMParser during schema traversal.