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

📄 xmlexperiment.html

📁 由java开发的软件包
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<TD><B>Methods inherited from class weka.core.xml.<A HREF="../../../weka/core/xml/XMLSerialization.html" title="class in weka.core.xml">XMLSerialization</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../weka/core/xml/XMLSerialization.html#fromXML(org.w3c.dom.Document)">fromXML</A>, <A HREF="../../../weka/core/xml/XMLSerialization.html#getVersion()">getVersion</A>, <A HREF="../../../weka/core/xml/XMLSerialization.html#read(java.io.File)">read</A>, <A HREF="../../../weka/core/xml/XMLSerialization.html#read(java.io.InputStream)">read</A>, <A HREF="../../../weka/core/xml/XMLSerialization.html#read(java.io.Reader)">read</A>, <A HREF="../../../weka/core/xml/XMLSerialization.html#read(java.lang.String)">read</A>, <A HREF="../../../weka/core/xml/XMLSerialization.html#readFromXML(org.w3c.dom.Element)">readFromXML</A>, <A HREF="../../../weka/core/xml/XMLSerialization.html#toXML(java.lang.Object)">toXML</A>, <A HREF="../../../weka/core/xml/XMLSerialization.html#write(java.io.File, java.lang.Object)">write</A>, <A HREF="../../../weka/core/xml/XMLSerialization.html#write(java.io.OutputStream, java.lang.Object)">write</A>, <A HREF="../../../weka/core/xml/XMLSerialization.html#write(java.lang.String, java.lang.Object)">write</A>, <A HREF="../../../weka/core/xml/XMLSerialization.html#write(java.io.Writer, java.lang.Object)">write</A>, <A HREF="../../../weka/core/xml/XMLSerialization.html#writeToXML(org.w3c.dom.Element, java.lang.Object, java.lang.String)">writeToXML</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class java.lang.Object</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD></TR></TABLE>&nbsp;<P><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD></TR></TABLE><A NAME="NAME_CLASSFIRST"><!-- --></A><H3>NAME_CLASSFIRST</H3><PRE>public static final java.lang.String <B>NAME_CLASSFIRST</B></PRE><DL><DD>the name of the classFirst property<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#weka.experiment.xml.XMLExperiment.NAME_CLASSFIRST">Constant Field Values</A></DL></DL><HR><A NAME="NAME_PROPERTYNODE_VALUE"><!-- --></A><H3>NAME_PROPERTYNODE_VALUE</H3><PRE>public static final java.lang.String <B>NAME_PROPERTYNODE_VALUE</B></PRE><DL><DD>PropertyNode member<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#weka.experiment.xml.XMLExperiment.NAME_PROPERTYNODE_VALUE">Constant Field Values</A></DL></DL><HR><A NAME="NAME_PROPERTYNODE_PARENTCLASS"><!-- --></A><H3>NAME_PROPERTYNODE_PARENTCLASS</H3><PRE>public static final java.lang.String <B>NAME_PROPERTYNODE_PARENTCLASS</B></PRE><DL><DD>PropertyNode member<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#weka.experiment.xml.XMLExperiment.NAME_PROPERTYNODE_PARENTCLASS">Constant Field Values</A></DL></DL><HR><A NAME="NAME_PROPERTYNODE_PROPERTY"><!-- --></A><H3>NAME_PROPERTYNODE_PROPERTY</H3><PRE>public static final java.lang.String <B>NAME_PROPERTYNODE_PROPERTY</B></PRE><DL><DD>PropertyNode member<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#weka.experiment.xml.XMLExperiment.NAME_PROPERTYNODE_PROPERTY">Constant Field Values</A></DL></DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="XMLExperiment()"><!-- --></A><H3>XMLExperiment</H3><PRE>public <B>XMLExperiment</B>()              throws java.lang.Exception</PRE><DL><DD>initializes the serialization<P><DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if initialization fails</DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="clear()"><!-- --></A><H3>clear</H3><PRE>public void <B>clear</B>()           throws java.lang.Exception</PRE><DL><DD>generates internally a new XML document and clears also the IgnoreList and the mappings for the Read/Write-Methods<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../weka/core/xml/XMLBasicSerialization.html#clear()">clear</A></CODE> in class <CODE><A HREF="../../../weka/core/xml/XMLBasicSerialization.html" title="class in weka.core.xml">XMLBasicSerialization</A></CODE></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE></DL></DD></DL><HR><A NAME="writePropertyNode(org.w3c.dom.Element, java.lang.Object, java.lang.String)"><!-- --></A><H3>writePropertyNode</H3><PRE>public void <B>writePropertyNode</B>(org.w3c.dom.Element&nbsp;parent,                              java.lang.Object&nbsp;o,                              java.lang.String&nbsp;name)                       throws java.lang.Exception</PRE><DL><DD>adds the given PropertyNode to a DOM structure.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>parent</CODE> - the parent of this object, e.g. the class this object is a member of<DD><CODE>o</CODE> - the Object to describe in XML<DD><CODE>name</CODE> - the name of the object<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if the DOM creation fails</DL></DD></DL><HR><A NAME="readPropertyNode(org.w3c.dom.Element)"><!-- --></A><H3>readPropertyNode</H3><PRE>public java.lang.Object <B>readPropertyNode</B>(org.w3c.dom.Element&nbsp;node)                                  throws java.lang.Exception</PRE><DL><DD>builds the PropertyNode from the given DOM node.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>node</CODE> - the associated XML node<DT><B>Returns:</B><DD>the instance created from the XML description<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if instantiation fails<DT><B>See Also:</B><DD><CODE>DefaultListModel</CODE></DL></DD></DL><HR><A NAME="main(java.lang.String[])"><!-- --></A><H3>main</H3><PRE>public static void <B>main</B>(java.lang.String[]&nbsp;args)                 throws java.lang.Exception</PRE><DL><DD>for testing only. if the first argument is a filename with ".xml" as extension it tries to generate an instance from the XML description and does a <code>toString()</code> of the generated object. Otherwise it loads the binary file, saves the XML representation in a  file with the original filename appended by ".xml" and once again in a binary file with the original filename appended by ".exp".<P><DD><DL><DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE></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="../../../../Tutorial.pdf"><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/index.html"><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;PREV CLASS&nbsp;&nbsp;NEXT CLASS</FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="XMLExperiment.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;<A HREF="#field_summary">FIELD</A>&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;<A HREF="#field_detail">FIELD</A>&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 + -