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

📄 domxmldocument.html

📁 jxta的api库
💻 HTML
📖 第 1 页 / 共 3 页
字号:
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the file extension type used by this <code>Document</code>. This value is usually chosen based upon the MIME Media Type.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../../net/jxta/document/MimeMediaType.html" title="class in net.jxta.document">MimeMediaType</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/impl/document/DOMXMLDocument.html#getMimeType()">getMimeType</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the MIME Media type of this <code>Document</code> per <a href="http://www.ietf.org/rfc/rfc2046.txt" target="_blank">IETF RFC 2046 <i>MIME : Media Types</i></a>. <p/>JXTA does not currently support the '<code>Multipart</code>' or '<code>Message</code>' media types.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.io.Reader</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/impl/document/DOMXMLDocument.html#getReader()">getReader</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the sequence of characters which represents the content of this <code>TextDocument</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.io.InputStream</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/impl/document/DOMXMLDocument.html#getStream()">getStream</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the stream of bytes which represents the content of this <code>Document</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/impl/document/DOMXMLDocument.html#sendToStream(java.io.OutputStream)">sendToStream</A></B>(java.io.OutputStream&nbsp;stream)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Send the contents of this <code>Document</code> to the specified stream.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/impl/document/DOMXMLDocument.html#sendToWriter(java.io.Writer)">sendToWriter</A></B>(java.io.Writer&nbsp;writer)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Send the contents of this <code>TextDocument</code> to the specified Writer.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/impl/document/DOMXMLDocument.html#toString()">toString</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_net.jxta.impl.document.DOMXMLElement"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class net.jxta.impl.document.<A HREF="../../../../net/jxta/impl/document/DOMXMLElement.html" title="class in net.jxta.impl.document">DOMXMLElement</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../net/jxta/impl/document/DOMXMLElement.html#addAttribute(net.jxta.document.Attribute)">addAttribute</A>, <A HREF="../../../../net/jxta/impl/document/DOMXMLElement.html#addAttribute(java.lang.String, java.lang.String)">addAttribute</A>, <A HREF="../../../../net/jxta/impl/document/DOMXMLElement.html#appendChild(net.jxta.document.TextElement)">appendChild</A>, <A HREF="../../../../net/jxta/impl/document/DOMXMLElement.html#equals(java.lang.Object)">equals</A>, <A HREF="../../../../net/jxta/impl/document/DOMXMLElement.html#getAttribute(java.lang.String)">getAttribute</A>, <A HREF="../../../../net/jxta/impl/document/DOMXMLElement.html#getAttributes()">getAttributes</A>, <A HREF="../../../../net/jxta/impl/document/DOMXMLElement.html#getChildren()">getChildren</A>, <A HREF="../../../../net/jxta/impl/document/DOMXMLElement.html#getChildren(java.lang.String)">getChildren</A>, <A HREF="../../../../net/jxta/impl/document/DOMXMLElement.html#getName()">getName</A>, <A HREF="../../../../net/jxta/impl/document/DOMXMLElement.html#getParent()">getParent</A>, <A HREF="../../../../net/jxta/impl/document/DOMXMLElement.html#getRoot()">getRoot</A>, <A HREF="../../../../net/jxta/impl/document/DOMXMLElement.html#getTextValue()">getTextValue</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_net.jxta.impl.document.TextElementCommon"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class net.jxta.impl.document.<A HREF="../../../../net/jxta/impl/document/TextElementCommon.html" title="class in net.jxta.impl.document">TextElementCommon</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../net/jxta/impl/document/TextElementCommon.html#appendChild(net.jxta.document.Element)">appendChild</A>, <A HREF="../../../../net/jxta/impl/document/TextElementCommon.html#getChildren(java.lang.Object)">getChildren</A>, <A HREF="../../../../net/jxta/impl/document/TextElementCommon.html#getKey()">getKey</A>, <A HREF="../../../../net/jxta/impl/document/TextElementCommon.html#getValue()">getValue</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>clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_net.jxta.document.Element"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from interface net.jxta.document.<A HREF="../../../../net/jxta/document/Element.html" title="interface in net.jxta.document">Element</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../net/jxta/document/Element.html#appendChild(net.jxta.document.Element)">appendChild</A>, <A HREF="../../../../net/jxta/document/Element.html#getChildren()">getChildren</A>, <A HREF="../../../../net/jxta/document/Element.html#getChildren(java.lang.Object)">getChildren</A>, <A HREF="../../../../net/jxta/document/Element.html#getKey()">getKey</A>, <A HREF="../../../../net/jxta/document/Element.html#getParent()">getParent</A>, <A HREF="../../../../net/jxta/document/Element.html#getRoot()">getRoot</A>, <A HREF="../../../../net/jxta/document/Element.html#getValue()">getValue</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_net.jxta.document.TextElement"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from interface net.jxta.document.<A HREF="../../../../net/jxta/document/TextElement.html" title="interface in net.jxta.document">TextElement</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../net/jxta/document/TextElement.html#appendChild(net.jxta.document.TextElement)">appendChild</A>, <A HREF="../../../../net/jxta/document/TextElement.html#getChildren(java.lang.String)">getChildren</A>, <A HREF="../../../../net/jxta/document/TextElement.html#getName()">getName</A>, <A HREF="../../../../net/jxta/document/TextElement.html#getTextValue()">getTextValue</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_net.jxta.document.Attributable"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from interface net.jxta.document.<A HREF="../../../../net/jxta/document/Attributable.html" title="interface in net.jxta.document">Attributable</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../net/jxta/document/Attributable.html#addAttribute(net.jxta.document.Attribute)">addAttribute</A>, <A HREF="../../../../net/jxta/document/Attributable.html#addAttribute(java.lang.String, java.lang.String)">addAttribute</A>, <A HREF="../../../../net/jxta/document/Attributable.html#getAttribute(java.lang.String)">getAttribute</A>, <A HREF="../../../../net/jxta/document/Attributable.html#getAttributes()">getAttributes</A></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="INSTANTIATOR"><!-- --></A><H3>INSTANTIATOR</H3><PRE>public static final <A HREF="../../../../net/jxta/document/StructuredDocumentFactory.TextInstantiator.html" title="interface in net.jxta.document">StructuredDocumentFactory.TextInstantiator</A> <B>INSTANTIATOR</B></PRE><DL><DL></DL></DL><!-- ========= CONSTRUCTOR DETAIL ======== --><!-- ============ 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="toString()"><!-- --></A><H3>toString</H3><PRE>public java.lang.String <B>toString</B>()</PRE><DL><DD><P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/jxta/document/TextDocument.html#toString()">toString</A></CODE> in interface <CODE><A HREF="../../../../net/jxta/document/TextDocument.html" title="interface in net.jxta.document">TextDocument</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getMimeType()"><!-- --></A><H3>getMimeType</H3><PRE>public <A HREF="../../../../net/jxta/document/MimeMediaType.html" title="class in net.jxta.document">MimeMediaType</A> <B>getMimeType</B>()</PRE><DL><DD>Returns the MIME Media type of this <code>Document</code> per <a href="http://www.ietf.org/rfc/rfc2046.txt" target="_blank">IETF RFC 2046 <i>MIME : Media Types</i></a>. <p/>JXTA does not currently support the '<code>Multipart</code>' or '<code>Message</code>' media types.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/jxta/document/Document.html#getMimeType()">getMimeType</A></CODE> in interface <CODE><A HREF="../../../../net/jxta/document/Document.html" title="interface in net.jxta.document">Document</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>A MimeMediaType object containing the MIME Media Type for this <code>Document</code>.</DL></DD></DL><HR><A NAME="getFileExtension()"><!-- --></A><H3>getFileExtension</H3><PRE>public java.lang.String <B>getFileExtension</B>()</PRE><DL><DD>Returns the file extension type used by this <code>Document</code>. This value is usually chosen based upon the MIME Media Type.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/jxta/document/Document.html#getFileExtension()">getFileExtension</A></CODE> in interface <CODE><A HREF="../../../../net/jxta/document/Document.html" title="interface in net.jxta.document">Document</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>A String containing an appropriate file extension for this <code>Document</code>.</DL></DD></DL><HR><A NAME="getStream()"><!-- --></A><H3>getStream</H3><PRE>public java.io.InputStream <B>getStream</B>()                              throws java.io.IOException</PRE><DL><DD>Returns the stream of bytes which represents the content of this <code>Document</code>.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/jxta/document/Document.html#getStream()">getStream</A></CODE> in interface <CODE><A HREF="../../../../net/jxta/document/Document.html" title="interface in net.jxta.document">Document</A></CODE></DL></DD><DD><DL>

⌨️ 快捷键说明

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