📄 domexception.html
字号:
<TD><CODE><B>Element.</B><B><A HREF="../../../../org/w3c/dom/Element.html#setAttributeNodeNS(org.w3c.dom.Attr)">setAttributeNodeNS</A></B>(<A HREF="../../../../org/w3c/dom/Attr.html">Attr</A> newAttr)</CODE><BR> Adds a new attribute.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../org/w3c/dom/Text.html">Text</A></CODE></FONT></TD><TD><CODE><B>Text.</B><B><A HREF="../../../../org/w3c/dom/Text.html#splitText(int)">splitText</A></B>(int offset)</CODE><BR> Breaks this node into two nodes at the specified <code>offset</code>, keeping both in the tree as siblings.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B>ProcessingInstruction.</B><B><A HREF="../../../../org/w3c/dom/ProcessingInstruction.html#setData(java.lang.String)">setData</A></B>(java.lang.String data)</CODE><BR> The content of this processing instruction.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B>Attr.</B><B><A HREF="../../../../org/w3c/dom/Attr.html#setValue(java.lang.String)">setValue</A></B>(java.lang.String value)</CODE><BR> On retrieval, the value of the attribute is returned as a string.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../org/w3c/dom/DocumentType.html">DocumentType</A></CODE></FONT></TD><TD><CODE><B>DOMImplementation.</B><B><A HREF="../../../../org/w3c/dom/DOMImplementation.html#createDocumentType(java.lang.String, java.lang.String, java.lang.String)">createDocumentType</A></B>(java.lang.String qualifiedName, java.lang.String publicId, java.lang.String systemId)</CODE><BR> Creates an empty <code>DocumentType</code> node.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../org/w3c/dom/Document.html">Document</A></CODE></FONT></TD><TD><CODE><B>DOMImplementation.</B><B><A HREF="../../../../org/w3c/dom/DOMImplementation.html#createDocument(java.lang.String, java.lang.String, org.w3c.dom.DocumentType)">createDocument</A></B>(java.lang.String namespaceURI, java.lang.String qualifiedName, <A HREF="../../../../org/w3c/dom/DocumentType.html">DocumentType</A> doctype)</CODE><BR> Creates a DOM Document object of the specified type with its document element.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.String</CODE></FONT></TD><TD><CODE><B>Node.</B><B><A HREF="../../../../org/w3c/dom/Node.html#getNodeValue()">getNodeValue</A></B>()</CODE><BR> The value of this node, depending on its type; see the table above.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B>Node.</B><B><A HREF="../../../../org/w3c/dom/Node.html#setNodeValue(java.lang.String)">setNodeValue</A></B>(java.lang.String nodeValue)</CODE><BR> The value of this node, depending on its type; see the table above.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../org/w3c/dom/Node.html">Node</A></CODE></FONT></TD><TD><CODE><B>Node.</B><B><A HREF="../../../../org/w3c/dom/Node.html#insertBefore(org.w3c.dom.Node, org.w3c.dom.Node)">insertBefore</A></B>(<A HREF="../../../../org/w3c/dom/Node.html">Node</A> newChild, <A HREF="../../../../org/w3c/dom/Node.html">Node</A> refChild)</CODE><BR> Inserts the node <code>newChild</code> before the existing child node <code>refChild</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../org/w3c/dom/Node.html">Node</A></CODE></FONT></TD><TD><CODE><B>Node.</B><B><A HREF="../../../../org/w3c/dom/Node.html#replaceChild(org.w3c.dom.Node, org.w3c.dom.Node)">replaceChild</A></B>(<A HREF="../../../../org/w3c/dom/Node.html">Node</A> newChild, <A HREF="../../../../org/w3c/dom/Node.html">Node</A> oldChild)</CODE><BR> Replaces the child node <code>oldChild</code> with <code>newChild</code> in the list of children, and returns the <code>oldChild</code> node.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../org/w3c/dom/Node.html">Node</A></CODE></FONT></TD><TD><CODE><B>Node.</B><B><A HREF="../../../../org/w3c/dom/Node.html#removeChild(org.w3c.dom.Node)">removeChild</A></B>(<A HREF="../../../../org/w3c/dom/Node.html">Node</A> oldChild)</CODE><BR> Removes the child node indicated by <code>oldChild</code> from the list of children, and returns it.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../org/w3c/dom/Node.html">Node</A></CODE></FONT></TD><TD><CODE><B>Node.</B><B><A HREF="../../../../org/w3c/dom/Node.html#appendChild(org.w3c.dom.Node)">appendChild</A></B>(<A HREF="../../../../org/w3c/dom/Node.html">Node</A> newChild)</CODE><BR> Adds the node <code>newChild</code> to the end of the list of children of this node.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B>Node.</B><B><A HREF="../../../../org/w3c/dom/Node.html#setPrefix(java.lang.String)">setPrefix</A></B>(java.lang.String prefix)</CODE><BR> The namespace prefix of this node, or <code>null</code> if it is unspecified.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../org/w3c/dom/Element.html">Element</A></CODE></FONT></TD><TD><CODE><B>Document.</B><B><A HREF="../../../../org/w3c/dom/Document.html#createElement(java.lang.String)">createElement</A></B>(java.lang.String tagName)</CODE><BR> Creates an element of the type specified.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../org/w3c/dom/CDATASection.html">CDATASection</A></CODE></FONT></TD><TD><CODE><B>Document.</B><B><A HREF="../../../../org/w3c/dom/Document.html#createCDATASection(java.lang.String)">createCDATASection</A></B>(java.lang.String data)</CODE><BR> Creates a <code>CDATASection</code> node whose value is the specified string.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../org/w3c/dom/ProcessingInstruction.html">ProcessingInstruction</A></CODE></FONT></TD><TD><CODE><B>Document.</B><B><A HREF="../../../../org/w3c/dom/Document.html#createProcessingInstruction(java.lang.String, java.lang.String)">createProcessingInstruction</A></B>(java.lang.String target, java.lang.String data)</CODE><BR> Creates a <code>ProcessingInstruction</code> node given the specified name and data strings.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../org/w3c/dom/Attr.html">Attr</A></CODE></FONT></TD><TD><CODE><B>Document.</B><B><A HREF="../../../../org/w3c/dom/Document.html#createAttribute(java.lang.String)">createAttribute</A></B>(java.lang.String name)</CODE><BR> Creates an <code>Attr</code> of the given name.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../org/w3c/dom/EntityReference.html">EntityReference</A></CODE></FONT></TD><TD><CODE><B>Document.</B><B><A HREF="../../../../org/w3c/dom/Document.html#createEntityReference(java.lang.String)">createEntityReference</A></B>(java.lang.String name)</CODE><BR> Creates an <code>EntityReference</code> object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../org/w3c/dom/Node.html">Node</A></CODE></FONT></TD><TD><CODE><B>Document.</B><B><A HREF="../../../../org/w3c/dom/Document.html#importNode(org.w3c.dom.Node, boolean)">importNode</A></B>(<A HREF="../../../../org/w3c/dom/Node.html">Node</A> importedNode, boolean deep)</CODE><BR> Imports a node from another document to this document.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../org/w3c/dom/Element.html">Element</A></CODE></FONT></TD><TD><CODE><B>Document.</B><B><A HREF="../../../../org/w3c/dom/Document.html#createElementNS(java.lang.String, java.lang.String)">createElementNS</A></B>(java.lang.String namespaceURI, java.lang.String qualifiedName)</CODE><BR> Creates an element of the given qualified name and namespace URI.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../org/w3c/dom/Attr.html">Attr</A></CODE></FONT></TD><TD><CODE><B>Document.</B><B><A HREF="../../../../org/w3c/dom/Document.html#createAttributeNS(java.lang.String, java.lang.String)">createAttributeNS</A></B>(java.lang.String namespaceURI, java.lang.String qualifiedName)</CODE><BR> Creates an attribute of the given qualified name and namespace URI.</TD></TR></TABLE> <P><HR><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3"> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../org/w3c/dom/DOMException.html"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> PREV NEXT</FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A> <A HREF="DOMException.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -