📄 xmlinstances.html
字号:
</TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/core/xml/XMLInstances.html#VAL_STRING">VAL_STRING</A></B></CODE><BR> the value for string</TD></TR></TABLE> <A NAME="fields_inherited_from_class_weka.core.xml.XMLDocument"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Fields inherited from class weka.core.xml.<A HREF="../../../weka/core/xml/XMLDocument.html" title="class in weka.core.xml">XMLDocument</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../weka/core/xml/XMLDocument.html#ATT_NAME">ATT_NAME</A>, <A HREF="../../../weka/core/xml/XMLDocument.html#DTD_ANY">DTD_ANY</A>, <A HREF="../../../weka/core/xml/XMLDocument.html#DTD_AT_LEAST_ONE">DTD_AT_LEAST_ONE</A>, <A HREF="../../../weka/core/xml/XMLDocument.html#DTD_ATTLIST">DTD_ATTLIST</A>, <A HREF="../../../weka/core/xml/XMLDocument.html#DTD_CDATA">DTD_CDATA</A>, <A HREF="../../../weka/core/xml/XMLDocument.html#DTD_DOCTYPE">DTD_DOCTYPE</A>, <A HREF="../../../weka/core/xml/XMLDocument.html#DTD_ELEMENT">DTD_ELEMENT</A>, <A HREF="../../../weka/core/xml/XMLDocument.html#DTD_IMPLIED">DTD_IMPLIED</A>, <A HREF="../../../weka/core/xml/XMLDocument.html#DTD_OPTIONAL">DTD_OPTIONAL</A>, <A HREF="../../../weka/core/xml/XMLDocument.html#DTD_PCDATA">DTD_PCDATA</A>, <A HREF="../../../weka/core/xml/XMLDocument.html#DTD_REQUIRED">DTD_REQUIRED</A>, <A HREF="../../../weka/core/xml/XMLDocument.html#DTD_SEPARATOR">DTD_SEPARATOR</A>, <A HREF="../../../weka/core/xml/XMLDocument.html#DTD_ZERO_OR_MORE">DTD_ZERO_OR_MORE</A>, <A HREF="../../../weka/core/xml/XMLDocument.html#PI">PI</A>, <A HREF="../../../weka/core/xml/XMLDocument.html#VAL_NO">VAL_NO</A>, <A HREF="../../../weka/core/xml/XMLDocument.html#VAL_YES">VAL_YES</A></CODE></TD></TR></TABLE> <!-- ======== CONSTRUCTOR SUMMARY ======== --><A NAME="constructor_summary"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"><B>Constructor Summary</B></FONT></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../weka/core/xml/XMLInstances.html#XMLInstances()">XMLInstances</A></B>()</CODE><BR> the default constructor</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../weka/core/xml/XMLInstances.html#XMLInstances(weka.core.Instances)">XMLInstances</A></B>(<A HREF="../../../weka/core/Instances.html" title="class in weka.core">Instances</A> data)</CODE><BR> generates the XML structure based on the given data</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../weka/core/xml/XMLInstances.html#XMLInstances(java.io.Reader)">XMLInstances</A></B>(java.io.Reader reader)</CODE><BR> generates the Instances directly from the reader containing the XML data.</TD></TR></TABLE> <!-- ========== METHOD SUMMARY =========== --><A NAME="method_summary"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"><B>Method Summary</B></FONT></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../weka/core/Instances.html" title="class in weka.core">Instances</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/core/xml/XMLInstances.html#getInstances()">getInstances</A></B>()</CODE><BR> returns the current instances, either the ones that were set or the ones that were generated from the XML structure.</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><A HREF="../../../weka/core/xml/XMLInstances.html#getRevision()">getRevision</A></B>()</CODE><BR> Returns the revision string.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/core/xml/XMLInstances.html#main(java.lang.String[])">main</A></B>(java.lang.String[] args)</CODE><BR> takes an XML document as first argument and then outputs the Instances statistics</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><A HREF="../../../weka/core/xml/XMLInstances.html#setInstances(weka.core.Instances)">setInstances</A></B>(<A HREF="../../../weka/core/Instances.html" title="class in weka.core">Instances</A> data)</CODE><BR> builds up the XML structure based on the given data</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><A HREF="../../../weka/core/xml/XMLInstances.html#setXML(java.io.Reader)">setXML</A></B>(java.io.Reader reader)</CODE><BR> reads the XML structure from the given reader</TD></TR></TABLE> <A NAME="methods_inherited_from_class_weka.core.xml.XMLDocument"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class weka.core.xml.<A HREF="../../../weka/core/xml/XMLDocument.html" title="class in weka.core.xml">XMLDocument</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../weka/core/xml/XMLDocument.html#clear()">clear</A>, <A HREF="../../../weka/core/xml/XMLDocument.html#evalBoolean(java.lang.String)">evalBoolean</A>, <A HREF="../../../weka/core/xml/XMLDocument.html#evalDouble(java.lang.String)">evalDouble</A>, <A HREF="../../../weka/core/xml/XMLDocument.html#evalString(java.lang.String)">evalString</A>, <A HREF="../../../weka/core/xml/XMLDocument.html#findNodes(java.lang.String)">findNodes</A>, <A HREF="../../../weka/core/xml/XMLDocument.html#getBuilder()">getBuilder</A>, <A HREF="../../../weka/core/xml/XMLDocument.html#getChildTags(org.w3c.dom.Node)">getChildTags</A>, <A HREF="../../../weka/core/xml/XMLDocument.html#getChildTags(org.w3c.dom.Node, java.lang.String)">getChildTags</A>, <A HREF="../../../weka/core/xml/XMLDocument.html#getContent(org.w3c.dom.Element)">getContent</A>, <A HREF="../../../weka/core/xml/XMLDocument.html#getDocType()">getDocType</A>, <A HREF="../../../weka/core/xml/XMLDocument.html#getDocument()">getDocument</A>, <A HREF="../../../weka/core/xml/XMLDocument.html#getFactory()">getFactory</A>, <A HREF="../../../weka/core/xml/XMLDocument.html#getNode(java.lang.String)">getNode</A>, <A HREF="../../../weka/core/xml/XMLDocument.html#getRootNode()">getRootNode</A>, <A HREF="../../../weka/core/xml/XMLDocument.html#getValidating()">getValidating</A>, <A HREF="../../../weka/core/xml/XMLDocument.html#newDocument(java.lang.String, java.lang.String)">newDocument</A>, <A HREF="../../../weka/core/xml/XMLDocument.html#print()">print</A>, <A HREF="../../../weka/core/xml/XMLDocument.html#read(java.io.File)">read</A>, <A HREF="../../../weka/core/xml/XMLDocument.html#read(java.io.InputStream)">read</A>, <A HREF="../../../weka/core/xml/XMLDocument.html#read(java.io.Reader)">read</A>, <A HREF="../../../weka/core/xml/XMLDocument.html#read(java.lang.String)">read</A>, <A HREF="../../../weka/core/xml/XMLDocument.html#setDocType(java.lang.String)">setDocType</A>, <A HREF="../../../weka/core/xml/XMLDocument.html#setDocument(org.w3c.dom.Document)">setDocument</A>, <A HREF="../../../weka/core/xml/XMLDocument.html#setRootNode(java.lang.String)">setRootNode</A>, <A HREF="../../../weka/core/xml/XMLDocument.html#setValidating(boolean)">setValidating</A>, <A HREF="../../../weka/core/xml/XMLDocument.html#toString()">toString</A>, <A HREF="../../../weka/core/xml/XMLDocument.html#write(java.io.File)">write</A>, <A HREF="../../../weka/core/xml/XMLDocument.html#write(java.io.OutputStream)">write</A>, <A HREF="../../../weka/core/xml/XMLDocument.html#write(java.lang.String)">write</A>, <A HREF="../../../weka/core/xml/XMLDocument.html#write(java.io.Writer)">write</A></CODE></TD></TR></TABLE> <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"><TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>equals, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><A NAME="field_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>Field Detail</B></FONT></TH></TR></TABLE><A NAME="FILE_EXTENSION"><!-- --></A><H3>FILE_EXTENSION</H3><PRE>public static java.lang.String <B>FILE_EXTENSION</B></PRE><DL><DD>The filename extension that should be used for xrff files<P><DL></DL></DL><HR><A NAME="TAG_DATASET"><!-- --></A><H3>TAG_DATASET</H3><PRE>public static final java.lang.String <B>TAG_DATASET</B></PRE><DL><DD>the root element<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#weka.core.xml.XMLInstances.TAG_DATASET">Constant Field Values</A></DL></DL><HR><A NAME="TAG_HEADER"><!-- --></A><H3>TAG_HEADER</H3><PRE>public static final java.lang.String <B>TAG_HEADER</B></PRE><DL><DD>the header element<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#weka.core.xml.XMLInstances.TAG_HEADER">Constant Field Values</A></DL></DL><HR><A NAME="TAG_BODY"><!-- --></A><H3>TAG_BODY</H3><PRE>public static final java.lang.String <B>TAG_BODY</B></PRE><DL><DD>the body element<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#weka.core.xml.XMLInstances.TAG_BODY">Constant Field Values</A></DL></DL><HR><A NAME="TAG_NOTES"><!-- --></A><H3>TAG_NOTES</H3><PRE>public static final java.lang.String <B>TAG_NOTES</B></PRE><DL><DD>the notes element<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#weka.core.xml.XMLInstances.TAG_NOTES">Constant Field Values</A></DL></DL><HR><A NAME="TAG_ATTRIBUTES"><!-- --></A><H3>TAG_ATTRIBUTES</H3><PRE>public static final java.lang.String <B>TAG_ATTRIBUTES</B></PRE><DL><DD>the attributes element<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#weka.core.xml.XMLInstances.TAG_ATTRIBUTES">Constant Field Values</A></DL></DL><HR><A NAME="TAG_ATTRIBUTE"><!-- --></A><H3>TAG_ATTRIBUTE</H3><PRE>public static final java.lang.String <B>TAG_ATTRIBUTE</B></PRE><DL><DD>the attribute element<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#weka.core.xml.XMLInstances.TAG_ATTRIBUTE">Constant Field Values</A></DL></DL><HR><A NAME="TAG_LABELS"><!-- --></A><H3>TAG_LABELS</H3><PRE>public static final java.lang.String <B>TAG_LABELS</B></PRE><DL><DD>the labels element<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#weka.core.xml.XMLInstances.TAG_LABELS">Constant Field Values</A></DL></DL><HR><A NAME="TAG_LABEL"><!-- --></A><H3>TAG_LABEL</H3><PRE>public static final java.lang.String <B>TAG_LABEL</B></PRE><DL><DD>the label element<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#weka.core.xml.XMLInstances.TAG_LABEL">Constant Field Values</A></DL></DL><HR><A NAME="TAG_METADATA"><!-- --></A><H3>TAG_METADATA</H3><PRE>public static final java.lang.String <B>TAG_METADATA</B></PRE><DL><DD>the meta-data element<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#weka.core.xml.XMLInstances.TAG_METADATA">Constant Field Values</A></DL></DL><HR><A NAME="TAG_PROPERTY"><!-- --></A><H3>TAG_PROPERTY</H3><PRE>public static final java.lang.String <B>TAG_PROPERTY</B></PRE><DL><DD>the property element<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#weka.core.xml.XMLInstances.TAG_PROPERTY">Constant Field Values</A></DL></DL><HR><A NAME="TAG_INSTANCES"><!-- --></A><H3>TAG_INSTANCES</H3><PRE>public static final java.lang.String <B>TAG_INSTANCES</B></PRE><DL><DD>the data element<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#weka.core.xml.XMLInstances.TAG_INSTANCES">Constant Field Values</A></DL></DL><HR><A NAME="TAG_INSTANCE"><!-- --></A><H3>TAG_INSTANCE</H3><PRE>public static final java.lang.String <B>TAG_INSTANCE</B></PRE><DL><DD>the instance element<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#weka.core.xml.XMLInstances.TAG_INSTANCE">Constant Field Values</A></DL></DL><HR><A NAME="TAG_VALUE"><!-- --></A><H3>TAG_VALUE</H3><PRE>public static final java.lang.String <B>TAG_VALUE</B></PRE><DL><DD>the value element<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#weka.core.xml.XMLInstances.TAG_VALUE">Constant Field Values</A></DL></DL><HR><A NAME="ATT_VERSION"><!-- --></A><H3>ATT_VERSION</H3><PRE>public static final java.lang.String <B>ATT_VERSION</B></PRE><DL><DD>the version attribute<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#weka.core.xml.XMLInstances.ATT_VERSION">Constant Field Values</A></DL></DL><HR><A NAME="ATT_TYPE"><!-- --></A><H3>ATT_TYPE</H3><PRE>public static final java.lang.String <B>ATT_TYPE</B></PRE><DL><DD>the type attribute<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#weka.core.xml.XMLInstances.ATT_TYPE">Constant Field Values</A></DL></DL><HR><A NAME="ATT_FORMAT"><!-- --></A><H3>ATT_FORMAT</H3><PRE>public static final java.lang.String <B>ATT_FORMAT</B></PRE><DL><DD>the format attribute (for date attributes)<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#weka.core.xml.XMLInstances.ATT_FORMAT">Constant Field Values</A></DL></DL><HR><A NAME="ATT_CLASS"><!-- --></A><H3>ATT_CLASS</H3><PRE>public static final java.lang.String <B>ATT_CLASS</B></PRE><DL><DD>the class attribute<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#weka.core.xml.XMLInstances.ATT_CLASS">Constant Field Values</A></DL></DL><HR>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -