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

📄 documentserializableutilities.html

📁 jxta的api库
💻 HTML
📖 第 1 页 / 共 5 页
字号:
<P><DD><DL><DT><B>Parameters:</B><DD><CODE>element</CODE> - Parent Element that the new element will be added to<DD><CODE>tagName</CODE> - TagName to be used for the created Child Element<DD><CODE>value</CODE> - The value that will be stored in the Element as a String</DL></DD></DL><HR><A NAME="getInt(net.jxta.document.Element)"><!-- --></A><H3>getInt</H3><PRE>public static int <B>getInt</B>(<A HREF="../../../../net/jxta/document/Element.html" title="interface in net.jxta.document">Element</A>&nbsp;element)</PRE><DL><DD>Get  the value of an element converted from a String<P><DD><DL><DT><B>Parameters:</B><DD><CODE>element</CODE> - Element that contains the value<DT><B>Returns:</B><DD>the value converted from a String</DL></DD></DL><HR><A NAME="getInt(net.jxta.document.Element, java.lang.String, int)"><!-- --></A><H3>getInt</H3><PRE>public static int <B>getInt</B>(<A HREF="../../../../net/jxta/document/Element.html" title="interface in net.jxta.document">Element</A>&nbsp;element,                         java.lang.String&nbsp;tagName,                         int&nbsp;defaultValue)</PRE><DL><DD>Get the value of a Child Element<P><DD><DL><DT><B>Parameters:</B><DD><CODE>element</CODE> - The Parant Element<DD><CODE>tagName</CODE> - The Tag Name of the Child Element that will contain the value<DD><CODE>defaultValue</CODE> - The return value if there is no Child Element with that Tag Name<DT><B>Returns:</B><DD>the value converted from a String</DL></DD></DL><HR><A NAME="addLong(net.jxta.document.Element, java.lang.String, long)"><!-- --></A><H3>addLong</H3><PRE>public static void <B>addLong</B>(<A HREF="../../../../net/jxta/document/Element.html" title="interface in net.jxta.document">Element</A>&nbsp;element,                           java.lang.String&nbsp;tagName,                           long&nbsp;value)</PRE><DL><DD>Add an Element with the specified tagname and value (converted to a String)<P><DD><DL><DT><B>Parameters:</B><DD><CODE>element</CODE> - Parent Element that the new element will be added to<DD><CODE>tagName</CODE> - TagName to be used for the created Child Element<DD><CODE>value</CODE> - The value that will be stored in the Element as a String</DL></DD></DL><HR><A NAME="getLong(net.jxta.document.Element)"><!-- --></A><H3>getLong</H3><PRE>public static long <B>getLong</B>(<A HREF="../../../../net/jxta/document/Element.html" title="interface in net.jxta.document">Element</A>&nbsp;element)</PRE><DL><DD>Get  the value of an element converted from a String<P><DD><DL><DT><B>Parameters:</B><DD><CODE>element</CODE> - Element that contains the value<DT><B>Returns:</B><DD>the value converted from a String</DL></DD></DL><HR><A NAME="getLong(net.jxta.document.Element, java.lang.String, long)"><!-- --></A><H3>getLong</H3><PRE>public static long <B>getLong</B>(<A HREF="../../../../net/jxta/document/Element.html" title="interface in net.jxta.document">Element</A>&nbsp;element,                           java.lang.String&nbsp;tagName,                           long&nbsp;defaultValue)</PRE><DL><DD>Get the value of a Child Element<P><DD><DL><DT><B>Parameters:</B><DD><CODE>element</CODE> - The Parant Element<DD><CODE>tagName</CODE> - The Tag Name of the Child Element that will contain the value<DD><CODE>defaultValue</CODE> - The return value if there is no Child Element with that Tag Name<DT><B>Returns:</B><DD>the value converted from a String</DL></DD></DL><HR><A NAME="addDouble(net.jxta.document.Element, java.lang.String, double)"><!-- --></A><H3>addDouble</H3><PRE>public static void <B>addDouble</B>(<A HREF="../../../../net/jxta/document/Element.html" title="interface in net.jxta.document">Element</A>&nbsp;element,                             java.lang.String&nbsp;tagName,                             double&nbsp;value)</PRE><DL><DD>Add an Element with the specified tagname and value (converted to a String)<P><DD><DL><DT><B>Parameters:</B><DD><CODE>element</CODE> - Parent Element that the new element will be added to<DD><CODE>tagName</CODE> - TagName to be used for the created Child Element<DD><CODE>value</CODE> - The value that will be stored in the Element as a String</DL></DD></DL><HR><A NAME="getDouble(net.jxta.document.Element)"><!-- --></A><H3>getDouble</H3><PRE>public static double <B>getDouble</B>(<A HREF="../../../../net/jxta/document/Element.html" title="interface in net.jxta.document">Element</A>&nbsp;element)</PRE><DL><DD>Get  the value of an element converted from a String<P><DD><DL><DT><B>Parameters:</B><DD><CODE>element</CODE> - Element that contains the value<DT><B>Returns:</B><DD>the value converted from a String</DL></DD></DL><HR><A NAME="getDouble(net.jxta.document.Element, java.lang.String, double)"><!-- --></A><H3>getDouble</H3><PRE>public static double <B>getDouble</B>(<A HREF="../../../../net/jxta/document/Element.html" title="interface in net.jxta.document">Element</A>&nbsp;element,                               java.lang.String&nbsp;tagName,                               double&nbsp;defaultValue)</PRE><DL><DD>Get the value of a Child Element<P><DD><DL><DT><B>Parameters:</B><DD><CODE>element</CODE> - The Parant Element<DD><CODE>tagName</CODE> - The Tag Name of the Child Element that will contain the value<DD><CODE>defaultValue</CODE> - The return value if there is no Child Element with that Tag Name<DT><B>Returns:</B><DD>the value converted from a String</DL></DD></DL><HR><A NAME="addBoolean(net.jxta.document.Element, java.lang.String, boolean)"><!-- --></A><H3>addBoolean</H3><PRE>public static void <B>addBoolean</B>(<A HREF="../../../../net/jxta/document/Element.html" title="interface in net.jxta.document">Element</A>&nbsp;element,                              java.lang.String&nbsp;tagName,                              boolean&nbsp;value)</PRE><DL><DD>Add an Element with the specified tagname and value (converted to a String)<P><DD><DL><DT><B>Parameters:</B><DD><CODE>element</CODE> - Parent Element that the new element will be added to<DD><CODE>tagName</CODE> - TagName to be used for the created Child Element<DD><CODE>value</CODE> - The value that will be stored in the Element as a String</DL></DD></DL><HR><A NAME="getBoolean(net.jxta.document.Element)"><!-- --></A><H3>getBoolean</H3><PRE>public static boolean <B>getBoolean</B>(<A HREF="../../../../net/jxta/document/Element.html" title="interface in net.jxta.document">Element</A>&nbsp;element)</PRE><DL><DD>Get  the value of an element converted from a String ("true" or "false")<P><DD><DL><DT><B>Parameters:</B><DD><CODE>element</CODE> - Element that contains the value<DT><B>Returns:</B><DD>the value converted from a String</DL></DD></DL><HR><A NAME="getBoolean(net.jxta.document.Element, java.lang.String, boolean)"><!-- --></A><H3>getBoolean</H3><PRE>public static boolean <B>getBoolean</B>(<A HREF="../../../../net/jxta/document/Element.html" title="interface in net.jxta.document">Element</A>&nbsp;element,                                 java.lang.String&nbsp;tagName,                                 boolean&nbsp;defaultValue)</PRE><DL><DD>Get the value of a Child Element<P><DD><DL><DT><B>Parameters:</B><DD><CODE>element</CODE> - The Parant Element<DD><CODE>tagName</CODE> - The Tag Name of the Child Element that will contain the value<DD><CODE>defaultValue</CODE> - The return value if there is no Child Element with that Tag Name<DT><B>Returns:</B><DD>the value converted from a String</DL></DD></DL><HR><A NAME="addString(net.jxta.document.Element, java.lang.String, java.lang.String)"><!-- --></A><H3>addString</H3><PRE>public static void <B>addString</B>(<A HREF="../../../../net/jxta/document/Element.html" title="interface in net.jxta.document">Element</A>&nbsp;element,                             java.lang.String&nbsp;tagName,                             java.lang.String&nbsp;value)</PRE><DL><DD>Add an Element with the specified tagname and value<P><DD><DL><DT><B>Parameters:</B><DD><CODE>element</CODE> - Parent Element that the new element will be added to<DD><CODE>tagName</CODE> - TagName to be used for the created Child Element<DD><CODE>value</CODE> - The value that will be stored in the Element</DL></DD></DL><HR><A NAME="getString(net.jxta.document.Element)"><!-- --></A><H3>getString</H3><PRE>public static java.lang.String <B>getString</B>(<A HREF="../../../../net/jxta/document/Element.html" title="interface in net.jxta.document">Element</A>&nbsp;element)</PRE><DL><DD>Get  the value of an element as a String<P><DD><DL><DT><B>Parameters:</B><DD><CODE>element</CODE> - Element that contains the value<DT><B>Returns:</B><DD>the value converted from a String</DL></DD></DL><HR><A NAME="getString(net.jxta.document.Element, java.lang.String, java.lang.String)"><!-- --></A><H3>getString</H3><PRE>public static java.lang.String <B>getString</B>(<A HREF="../../../../net/jxta/document/Element.html" title="interface in net.jxta.document">Element</A>&nbsp;element,                                         java.lang.String&nbsp;tagName,                                         java.lang.String&nbsp;defaultValue)</PRE><DL><DD>Get the value of a Child Element<P><DD><DL><DT><B>Parameters:</B><DD><CODE>element</CODE> - The Parant Element<DD><CODE>tagName</CODE> - The Tag Name of the Child Element that will contain the value<DD><CODE>defaultValue</CODE> - The return value if there is no Child Element with that Tag Name<DT><B>Returns:</B><DD>The value found in the Element</DL></DD></DL><HR>

⌨️ 快捷键说明

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