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

📄 xmlserializationmethodhandler.html

📁 weka是机器学习和数据挖掘领域最有影响力的开源项目之一
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>equals, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD></TR></TABLE>&nbsp;<P><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TH></TR></TABLE><A NAME="XMLSerializationMethodHandler(java.lang.Object)"><!-- --></A><H3>XMLSerializationMethodHandler</H3><PRE>public <B>XMLSerializationMethodHandler</B>(java.lang.Object&nbsp;owner)                              throws java.lang.Exception</PRE><DL><DD>initializes the method handling, executes also <code>clear()</code>, which adds initial methods automatically.<P><DL><DT><B>Parameters:</B><DD><CODE>owner</CODE> - the owner to retrieve the methods from<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if initialization fails<DT><B>See Also:</B><DD><A HREF="../../../weka/core/xml/XMLSerializationMethodHandler.html#clear()"><CODE>clear()</CODE></A></DL></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Method Detail</B></FONT></TH></TR></TABLE><A NAME="findReadMethod(java.lang.Object, java.lang.String)"><!-- --></A><H3>findReadMethod</H3><PRE>public static java.lang.reflect.Method <B>findReadMethod</B>(java.lang.Object&nbsp;o,                                                      java.lang.String&nbsp;name)</PRE><DL><DD>returns the method with the given name that has the same signature as <code>readFromXML()</code> of the <code>XMLSerialiation</code> class.  simplifies the adding of custom methods.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>o</CODE> - the object to inspect<DD><CODE>name</CODE> - the name of the method to return<DT><B>Returns:</B><DD>either <code>null</code> if no method was found or a reference<DT><B>See Also:</B><DD><A HREF="../../../weka/core/xml/XMLSerialization.html#readFromXML(org.w3c.dom.Element)"><CODE>XMLSerialization.readFromXML(Element)</CODE></A></DL></DD></DL><HR><A NAME="findWriteMethod(java.lang.Object, java.lang.String)"><!-- --></A><H3>findWriteMethod</H3><PRE>public static java.lang.reflect.Method <B>findWriteMethod</B>(java.lang.Object&nbsp;o,                                                       java.lang.String&nbsp;name)</PRE><DL><DD>returns the method with the given name that has the same signature as <code>writeToXML()</code> of the <code>XMLSerialiation</code> class.  simplifies the adding of custom methods.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>o</CODE> - the object to inspect<DD><CODE>name</CODE> - the name of the method to return<DT><B>Returns:</B><DD>either <code>null</code> if no method was found or a reference<DT><B>See Also:</B><DD><A HREF="../../../weka/core/xml/XMLSerialization.html#writeToXML(org.w3c.dom.Element, java.lang.Object, java.lang.String)"><CODE>XMLSerialization.writeToXML(Element, Object, String)</CODE></A></DL></DD></DL><HR><A NAME="clear()"><!-- --></A><H3>clear</H3><PRE>public void <B>clear</B>()</PRE><DL><DD>removes all current methods and adds the methods according to the<P><DD><DL></DL></DD></DL><HR><A NAME="read()"><!-- --></A><H3>read</H3><PRE>public <A HREF="../../../weka/core/xml/MethodHandler.html" title="class in weka.core.xml">MethodHandler</A> <B>read</B>()</PRE><DL><DD>returns the handler for read methods<P><DD><DL><DT><B>Returns:</B><DD>the methodhandler for read methods</DL></DD></DL><HR><A NAME="write()"><!-- --></A><H3>write</H3><PRE>public <A HREF="../../../weka/core/xml/MethodHandler.html" title="class in weka.core.xml">MethodHandler</A> <B>write</B>()</PRE><DL><DD>returns the handler for write methods<P><DD><DL><DT><B>Returns:</B><DD>the methodhandler for read methods</DL></DD></DL><HR><A NAME="register(java.lang.Object, java.lang.Class, java.lang.String)"><!-- --></A><H3>register</H3><PRE>public void <B>register</B>(java.lang.Object&nbsp;handler,                     java.lang.Class&nbsp;cls,                     java.lang.String&nbsp;name)</PRE><DL><DD>adds read and write methods for the given class, i.e., read&;lt;name&gt; and write&lt;name&gt; ("name" is prefixed by read and write)<P><DD><DL><DT><B>Parameters:</B><DD><CODE>handler</CODE> - the handler class that contains the read and write method<DD><CODE>cls</CODE> - the class to register the read and write method for<DD><CODE>name</CODE> - the suffix of the read and write method</DL></DD></DL><HR><A NAME="toString()"><!-- --></A><H3>toString</H3><PRE>public java.lang.String <B>toString</B>()</PRE><DL><DD>returns the read and write method handlers as string<P><DD><DL><DT><B>Overrides:</B><DD><CODE>toString</CODE> in class <CODE>java.lang.Object</CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the read/write method handlers as string</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=2 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> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="http://www.cs.waikato.ac.nz/ml/weka/" target="_blank"><FONT CLASS="NavBarFont1"><B>Weka's home</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;<A HREF="../../../weka/core/xml/XMLSerialization.html" title="class in weka.core.xml"><B>PREV CLASS</B></A>&nbsp;&nbsp;NEXT CLASS</FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../index.html?weka/core/xml/XMLSerializationMethodHandler.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="XMLSerializationMethodHandler.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;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&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 + -