?? contentadvertisement.html
字號:
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract <A HREF="../../../net/jxta/share/ContentId.html" title="interface in net.jxta.share">ContentId</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../net/jxta/share/ContentAdvertisement.html#getContentId()">getContentId</A></B>()</CODE><BR> Returns the id of the content.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../net/jxta/share/ContentAdvertisement.html#getDescription()">getDescription</A></B>()</CODE><BR> Returns the description of the content, or null if not specified.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract <A HREF="http://platform.jxta.org/nonav/java/api/net/jxta/document/Document.html" title="class or interface in net.jxta.document">Document</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../net/jxta/share/ContentAdvertisement.html#getDocument(net.jxta.document.MimeMediaType)">getDocument</A></B>(<A HREF="http://platform.jxta.org/nonav/java/api/net/jxta/document/MimeMediaType.html" title="class or interface in net.jxta.document">MimeMediaType</A> mtype)</CODE><BR> Returns the document representation of this advertisement.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="http://platform.jxta.org/nonav/java/api/net/jxta/id/ID.html" title="class or interface in net.jxta.id">ID</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../net/jxta/share/ContentAdvertisement.html#getID()">getID</A></B>()</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract long</CODE></FONT></TD><TD><CODE><B><A HREF="../../../net/jxta/share/ContentAdvertisement.html#getLength()">getLength</A></B>()</CODE><BR> Returns the length of the content, or -1 if not specified.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract <A HREF="../../../net/jxta/share/metadata/ContentMetadata.html" title="class in net.jxta.share.metadata">ContentMetadata</A>[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../../net/jxta/share/ContentAdvertisement.html#getMetadata()">getMetadata</A></B>()</CODE><BR> Returns the metadata describing this content, or null if not specified.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../net/jxta/share/ContentAdvertisement.html#getName()">getName</A></B>()</CODE><BR> Returns the name of the content.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../net/jxta/share/ContentAdvertisement.html#getType()">getType</A></B>()</CODE><BR> Returns the mime type of the content, or null if not specified.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../net/jxta/share/ContentAdvertisement.html#setAddress(java.lang.String)">setAddress</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> address)</CODE><BR> Returns the address of the CMS service that is sharing the content, or null if not specified.</TD></TR></TABLE> <A NAME="methods_inherited_from_class_net.jxta.document.Advertisement"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class net.jxta.document.<A HREF="http://platform.jxta.org/nonav/java/api/net/jxta/document/Advertisement.html" title="class or interface in net.jxta.document">Advertisement</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="http://platform.jxta.org/nonav/java/api/net/jxta/document/Advertisement.html#clone()" title="class or interface in net.jxta.document">clone</A>, <A HREF="http://platform.jxta.org/nonav/java/api/net/jxta/document/Advertisement.html#getAdvType()" title="class or interface in net.jxta.document">getAdvType</A>, <A HREF="http://platform.jxta.org/nonav/java/api/net/jxta/document/Advertisement.html#getIndexFields()" title="class or interface in net.jxta.document">getIndexFields</A>, <A HREF="http://platform.jxta.org/nonav/java/api/net/jxta/document/Advertisement.html#toString()" title="class or interface in net.jxta.document">toString</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.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#wait(long, int)" title="class or interface in java.lang">wait</A></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="EN_NAME"><!-- --></A><H3>EN_NAME</H3><PRE>public static final <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>EN_NAME</B></PRE><DL><DD>Name of the document element containing the name of the content.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#net.jxta.share.ContentAdvertisement.EN_NAME">Constant Field Values</A></DL></DL><HR><A NAME="EN_CID"><!-- --></A><H3>EN_CID</H3><PRE>public static final <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>EN_CID</B></PRE><DL><DD>Name of the document element containing the content id.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#net.jxta.share.ContentAdvertisement.EN_CID">Constant Field Values</A></DL></DL><HR><A NAME="EN_TYPE"><!-- --></A><H3>EN_TYPE</H3><PRE>public static final <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>EN_TYPE</B></PRE><DL><DD>Name of the document element containing the type of the content.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#net.jxta.share.ContentAdvertisement.EN_TYPE">Constant Field Values</A></DL></DL><HR><A NAME="EN_LENGTH"><!-- --></A><H3>EN_LENGTH</H3><PRE>public static final <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>EN_LENGTH</B></PRE><DL><DD>Name of the document element containing the length of the content.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#net.jxta.share.ContentAdvertisement.EN_LENGTH">Constant Field Values</A></DL></DL><HR><A NAME="EN_DESCRIPTION"><!-- --></A><H3>EN_DESCRIPTION</H3><PRE>public static final <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>EN_DESCRIPTION</B></PRE><DL><DD>Name of the document element containing the description of the content.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#net.jxta.share.ContentAdvertisement.EN_DESCRIPTION">Constant Field Values</A></DL></DL><HR><A NAME="EN_METADATA"><!-- --></A><H3>EN_METADATA</H3><PRE>public static final <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>EN_METADATA</B></PRE><DL><DD>Name of the document element containing any other metadata describing the content.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#net.jxta.share.ContentAdvertisement.EN_METADATA">Constant Field Values</A></DL></DL><HR><A NAME="EN_ADDRESS"><!-- --></A><H3>EN_ADDRESS</H3><PRE>public static final <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>EN_ADDRESS</B></PRE><DL><DD>Name of the document element containing the address of the CMS service that is sharing the content.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#net.jxta.share.ContentAdvertisement.EN_ADDRESS">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"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TH></TR></TABLE><A NAME="ContentAdvertisement()"><!-- --></A><H3>ContentAdvertisement</H3><PRE>public <B>ContentAdvertisement</B>()</PRE><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="getAdvertisementType()"><!-- --></A><H3>getAdvertisementType</H3><PRE>public static <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getAdvertisementType</B>()</PRE><DL><DD>Returns the advertisement type<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="appendDocument(net.jxta.document.StructuredDocument, net.jxta.document.Element)"><!-- --></A><H3>appendDocument</H3><PRE>public abstract void <B>appendDocument</B>(<A HREF="http://platform.jxta.org/nonav/java/api/net/jxta/document/StructuredDocument.html" title="class or interface in net.jxta.document">StructuredDocument</A> doc,
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -