⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 adapternode.html

📁 jsXe 是java简单的XML编辑器。 它使用的Swing工具
💻 HTML
📖 第 1 页 / 共 3 页
字号:
                      newChild node, or if the node to append is one of this                      node's ancestors or this node itself.<DD><CODE>org.w3c.dom.DOMException</CODE> - WRONG_DOCUMENT_ERR: Raised if newChild was created                      from a different document than the one that created                      this node.<DD><CODE>org.w3c.dom.DOMException</CODE> - NO_MODIFICATION_ALLOWED_ERR: Raised if this node is                      readonly or if the previous parent of the node being                      inserted is readonly.</DL></DD></DL><HR><A NAME="addAdapterNodeAt(net.sourceforge.jsxe.dom.AdapterNode, int)"><!-- --></A><H3>addAdapterNodeAt</H3><PRE>public <A HREF="../../../../net/sourceforge/jsxe/dom/AdapterNode.html" title="class in net.sourceforge.jsxe.dom">AdapterNode</A> <B>addAdapterNodeAt</B>(<A HREF="../../../../net/sourceforge/jsxe/dom/AdapterNode.html" title="class in net.sourceforge.jsxe.dom">AdapterNode</A>&nbsp;node,                                    int&nbsp;location)                             throws org.w3c.dom.DOMException</PRE><DL><DD>Adds an already existing AdapterNode to this node at a specified location. The location is zero indexed so it can be any number greater than or equal to zero and less than or equal to the number of children contained currently. Using a location that is one index greater than the last child's index <code>(location == childCount())</code> then the node is added at the end.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>node</CODE> - the node to add to this parent node.<DD><CODE>location</CODE> - the location to add it at.<DT><B>Returns:</B><DD>the node added.<DT><B>Throws:</B><DD><CODE>org.w3c.dom.DOMException</CODE> - if the addition of the node is not allowed or the                      location is invalid.</DL></DD></DL><HR><A NAME="remove(net.sourceforge.jsxe.dom.AdapterNode)"><!-- --></A><H3>remove</H3><PRE>public void <B>remove</B>(<A HREF="../../../../net/sourceforge/jsxe/dom/AdapterNode.html" title="class in net.sourceforge.jsxe.dom">AdapterNode</A>&nbsp;child)            throws org.w3c.dom.DOMException</PRE><DL><DD><p>Removes a child from this node.</p><P><DD><DL><DT><B>Parameters:</B><DD><CODE>child</CODE> - the child node to remove from this node<DT><B>Throws:</B><DD><CODE>org.w3c.dom.DOMException</CODE> - NO_MODIFICATION_ALLOWED_ERR: Raised if this node is                      readonly.<DD><CODE>org.w3c.dom.DOMException</CODE> - NOT_FOUND_ERR: Raised if oldChild is not                      a child of this node.</DL></DD></DL><HR><A NAME="entityDeclared(java.lang.String)"><!-- --></A><H3>entityDeclared</H3><PRE>public boolean <B>entityDeclared</B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;entityName)</PRE><DL><DD>Determines if the entity was declared by the DTD.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>entityName</CODE> - the name of the entity<DT><B>Returns:</B><DD>true if the entity was declared in this document</DL></DD></DL><HR><A NAME="setAttribute(java.lang.String, java.lang.String)"><!-- --></A><H3>setAttribute</H3><PRE>public void <B>setAttribute</B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;name,                         <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;value)                  throws org.w3c.dom.DOMException</PRE><DL><DD><p>Sets an attribute of this node. If the specified attribute does not exist it is created.</p><P><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the attribute<DD><CODE>value</CODE> - the new value of the attribute<DT><B>Throws:</B><DD><CODE>org.w3c.dom.DOMException</CODE> - NOT_SUPPORTED_ERR: if this is not an element node<DD><CODE>org.w3c.dom.DOMException</CODE> - INVALID_CHARACTER_ERR: Raised if the specified                      qualified name contains an illegal character, per                      the XML 1.0 specification<DD><CODE>org.w3c.dom.DOMException</CODE> - NO_MODIFICATION_ALLOWED_ERR: Raised if this node is                      readonly</DL></DD></DL><HR><A NAME="getAttribute(java.lang.String)"><!-- --></A><H3>getAttribute</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getAttribute</B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;name)                    throws org.w3c.dom.DOMException</PRE><DL><DD><p>Gets the value of an attribute associated with this node.</p><P><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the attribute<DT><B>Throws:</B><DD><CODE>org.w3c.dom.DOMException</CODE> - NOT_SUPPORTED_ERR: if this is not an element node</DL></DD></DL><HR><A NAME="removeAttributeAt(int)"><!-- --></A><H3>removeAttributeAt</H3><PRE>public void <B>removeAttributeAt</B>(int&nbsp;index)                       throws org.w3c.dom.DOMException</PRE><DL><DD><p>Removes an attribute at the given index.</p> <p><b>Note:</b> Attributes are sorted alphabetically.</p><P><DD><DL><DT><B>Parameters:</B><DD><CODE>index</CODE> - the index of the node to remove<DT><B>Throws:</B><DD><CODE>org.w3c.dom.DOMException</CODE> - NOT_SUPPORTED_ERR: if this is not an element node<DD><CODE>org.w3c.dom.DOMException</CODE> - NO_MODIFICATION_ALLOWED_ERR: Raised if this node is                      readonly</DL></DD></DL><HR><A NAME="removeAttribute(java.lang.String)"><!-- --></A><H3>removeAttribute</H3><PRE>public void <B>removeAttribute</B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;attr)                     throws org.w3c.dom.DOMException</PRE><DL><DD><p>Removes an attribute by name.</p><P><DD><DL><DT><B>Parameters:</B><DD><CODE>attr</CODE> - the name of the attribute to remove<DT><B>Throws:</B><DD><CODE>org.w3c.dom.DOMException</CODE> - NOT_SUPPORTED_ERR: if this is not an element node<DD><CODE>org.w3c.dom.DOMException</CODE> - NO_MODIFICATION_ALLOWED_ERR: Raised if this node is                      readonly</DL></DD></DL><HR><A NAME="getAttributeAt(int)"><!-- --></A><H3>getAttributeAt</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getAttributeAt</B>(int&nbsp;index)                      throws org.w3c.dom.DOMException</PRE><DL><DD><p>Gets the value of an attribute at the given index</p> <p><b>Note:</b> Attributes are sorted alphabetically.</p><P><DD><DL><DT><B>Parameters:</B><DD><CODE>index</CODE> - the index of the attribute to get<DT><B>Throws:</B><DD><CODE>org.w3c.dom.DOMException</CODE> - NOT_SUPPORTED_ERR: if this is not an element node</DL></DD></DL><HR><A NAME="equals(net.sourceforge.jsxe.dom.AdapterNode)"><!-- --></A><H3>equals</H3><PRE>public boolean <B>equals</B>(<A HREF="../../../../net/sourceforge/jsxe/dom/AdapterNode.html" title="class in net.sourceforge.jsxe.dom">AdapterNode</A>&nbsp;node)</PRE><DL><DD><p>Compares this AdapterNode with another.</p><P><DD><DL><DT><B>Parameters:</B><DD><CODE>node</CODE> - the AdapterNode to compare to<DT><B>Returns:</B><DD>true if the underlying Node object for the two AdapterNodes is         is the same.</DL></DD></DL><HR><A NAME="addAdapterNodeListener(net.sourceforge.jsxe.dom.AdapterNodeListener)"><!-- --></A><H3>addAdapterNodeListener</H3><PRE>public void <B>addAdapterNodeListener</B>(<A HREF="../../../../net/sourceforge/jsxe/dom/AdapterNodeListener.html" title="interface in net.sourceforge.jsxe.dom">AdapterNodeListener</A>&nbsp;listener)</PRE><DL><DD><p>Adds an AdapterNodeListener to be notified when this node changes</p><P><DD><DL><DT><B>Parameters:</B><DD><CODE>listener</CODE> - the listener to add</DL></DD></DL><HR><A NAME="removeAdapterNodeListener(net.sourceforge.jsxe.dom.AdapterNodeListener)"><!-- --></A><H3>removeAdapterNodeListener</H3><PRE>public void <B>removeAdapterNodeListener</B>(<A HREF="../../../../net/sourceforge/jsxe/dom/AdapterNodeListener.html" title="interface in net.sourceforge.jsxe.dom">AdapterNodeListener</A>&nbsp;listener)</PRE><DL><DD><p>Removes a listener from this node if it exists</p><P><DD><DL><DT><B>Parameters:</B><DD><CODE>listener</CODE> - the listener to remove</DL></DD></DL><HR><A NAME="serializeToString()"><!-- --></A><H3>serializeToString</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>serializeToString</B>()</PRE><DL><DD>Serializes this Node to a string based on the owning XMLDocument's properties.<P><DD><DL><DT><B>Returns:</B><DD>the string representation of this node.</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">  <TR ALIGN="center" VALIGN="top">  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;PREV CLASS&nbsp;&nbsp;<A HREF="../../../../net/sourceforge/jsxe/dom/DefaultDOMLocator.html" title="class in net.sourceforge.jsxe.dom"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="AdapterNode.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<SCRIPT type="text/javascript">  <!--  if(window==top) {    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');  }  //--></SCRIPT><NOSCRIPT>  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -