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

📄 plaintextelement.html

📁 jxta的api库
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an enumerations of the attributes assosicated with this object.  Each element is of type Attribute.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.util.Enumeration</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/impl/document/PlainTextElement.html#getChildren()">getChildren</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an enumeration of the immediate children of this element.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.util.Enumeration</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/impl/document/PlainTextElement.html#getChildren(java.lang.String)">getChildren</A></B>(java.lang.String&nbsp;name)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an enumeration of the immediate children of this element whose name match the specified string.</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/PlainTextElement.html#getName()">getName</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the name associated with an element.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../../net/jxta/document/Element.html" title="interface in net.jxta.document">Element</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/impl/document/PlainTextElement.html#getParent()">getParent</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the parent element of this element. If this Element has not been inserted into the Document then <code>null</code> is returned. If this element is the root element of the Document then it returns itself. ie., <code>this == this.getParent()</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../../net/jxta/document/StructuredDocument.html" title="interface in net.jxta.document">StructuredDocument</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/impl/document/PlainTextElement.html#getRoot()">getRoot</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the root Element of the hierarchy this Element belongs to.</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/PlainTextElement.html#getTextValue()">getTextValue</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the value (if any) associated with an element.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/impl/document/PlainTextElement.html#printNice(java.io.Writer, int, boolean)">printNice</A></B>(java.io.Writer&nbsp;into,          int&nbsp;indent,          boolean&nbsp;recurse)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Write the contents of this element and optionally its children. </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, 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="doc"><!-- --></A><H3>doc</H3><PRE>protected <A HREF="../../../../net/jxta/impl/document/PlainTextDocument.html" title="class in net.jxta.impl.document">PlainTextDocument</A> <B>doc</B></PRE><DL><DL></DL></DL><HR><A NAME="parent"><!-- --></A><H3>parent</H3><PRE>protected <A HREF="../../../../net/jxta/document/Element.html" title="interface in net.jxta.document">Element</A> <B>parent</B></PRE><DL><DL></DL></DL><HR><A NAME="name"><!-- --></A><H3>name</H3><PRE>protected final java.lang.String <B>name</B></PRE><DL><DL></DL></DL><HR><A NAME="val"><!-- --></A><H3>val</H3><PRE>protected final java.lang.String <B>val</B></PRE><DL><DL></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="PlainTextElement(net.jxta.impl.document.PlainTextDocument, java.lang.String)"><!-- --></A><H3>PlainTextElement</H3><PRE>protected <B>PlainTextElement</B>(<A HREF="../../../../net/jxta/impl/document/PlainTextDocument.html" title="class in net.jxta.impl.document">PlainTextDocument</A>&nbsp;doc,                           java.lang.String&nbsp;name)</PRE><DL><DD>Creates new PlainTextElement<P></DL><HR><A NAME="PlainTextElement(net.jxta.impl.document.PlainTextDocument, java.lang.String, java.lang.String)"><!-- --></A><H3>PlainTextElement</H3><PRE>protected <B>PlainTextElement</B>(<A HREF="../../../../net/jxta/impl/document/PlainTextDocument.html" title="class in net.jxta.impl.document">PlainTextDocument</A>&nbsp;doc,                           java.lang.String&nbsp;name,                           java.lang.String&nbsp;val)</PRE><DL><DD>Creates new PlainTextElement<P></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="equals(java.lang.Object)"><!-- --></A><H3>equals</H3><PRE>public boolean <B>equals</B>(java.lang.Object&nbsp;element)</PRE><DL><DD><P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getRoot()"><!-- --></A><H3>getRoot</H3><PRE>public <A HREF="../../../../net/jxta/document/StructuredDocument.html" title="interface in net.jxta.document">StructuredDocument</A> <B>getRoot</B>()</PRE><DL><DD>Get the root Element of the hierarchy this Element belongs to.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/jxta/document/Element.html#getRoot()">getRoot</A></CODE> in interface <CODE><A HREF="../../../../net/jxta/document/Element.html" title="interface in net.jxta.document">Element</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>StructuredDocument The root element of this element's hierarchy.</DL></DD></DL><HR><A NAME="getParent()"><!-- --></A><H3>getParent</H3><PRE>public <A HREF="../../../../net/jxta/document/Element.html" title="interface in net.jxta.document">Element</A> <B>getParent</B>()</PRE><DL><DD>Get the parent element of this element. If this Element has not been inserted into the Document then <code>null</code> is returned. If this element is the root element of the Document then it returns itself. ie., <code>this == this.getParent()</code>.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/jxta/document/Element.html#getParent()">getParent</A></CODE> in interface <CODE><A HREF="../../../../net/jxta/document/Element.html" title="interface in net.jxta.document">Element</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>Element parent of this element. If the element has no parent then null will be returned. If the element is the root Element of the hierarchy then it will return itself.</DL></DD></DL><HR><A NAME="getChildren()"><!-- --></A><H3>getChildren</H3><PRE>public java.util.Enumeration <B>getChildren</B>()</PRE><DL><DD>Returns an enumeration of the immediate children of this element.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/jxta/document/Element.html#getChildren()">getChildren</A></CODE> in interface <CODE><A HREF="../../../../net/jxta/document/Element.html" title="interface in net.jxta.document">Element</A></CODE></DL></DD><DD><DL>

⌨️ 快捷键说明

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