📄 syndfeedimpl.html
字号:
<DL><DD>Sets the feed URI. <p> How the feed URI maps to a concrete feed type (RSS or Atom) depends on the concrete feed type. This is explained in detail in Rome documentation, <a href="http://wiki.java.net/bin/edit/Javawsxml/Rome04URIMapping">Feed and entry URI mapping</a>. <p> Note: The URI is the unique identifier, in the RSS 2.0/atom case this is the GUID, for RSS 1.0 this is the URI attribute of the item. The Link is the URL that the item is accessible under, the URI is the permanent identifier which the aggregator should use to reference this item. Often the URI will use some standardized identifier scheme such as DOI's so that items can be identified even if they appear in multiple feeds with different "links" (they might be on different hosting platforms but be the same item). Also, though rare, there could be multiple items with the same link but a different URI and associated metadata which need to be treated as distinct entities. In the RSS 1.0 case the URI must be a valid RDF URI reference. <p><P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/sun/syndication/feed/synd/SyndFeed.html#setUri(java.lang.String)">setUri</A></CODE> in interface <CODE><A HREF="../../../../../com/sun/syndication/feed/synd/SyndFeed.html" title="interface in com.sun.syndication.feed.synd">SyndFeed</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>uri</CODE> - the feed URI to set, <b>null</b> if none.</DL></DD></DL><HR><A NAME="getTitle()"><!-- --></A><H3>getTitle</H3><PRE>public java.lang.String <B>getTitle</B>()</PRE><DL><DD>Returns the feed title. <p><P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/sun/syndication/feed/synd/SyndFeed.html#getTitle()">getTitle</A></CODE> in interface <CODE><A HREF="../../../../../com/sun/syndication/feed/synd/SyndFeed.html" title="interface in com.sun.syndication.feed.synd">SyndFeed</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the feed title, <b>null</b> if none.</DL></DD></DL><HR><A NAME="setTitle(java.lang.String)"><!-- --></A><H3>setTitle</H3><PRE>public void <B>setTitle</B>(java.lang.String title)</PRE><DL><DD>Sets the feed title. <p><P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/sun/syndication/feed/synd/SyndFeed.html#setTitle(java.lang.String)">setTitle</A></CODE> in interface <CODE><A HREF="../../../../../com/sun/syndication/feed/synd/SyndFeed.html" title="interface in com.sun.syndication.feed.synd">SyndFeed</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>title</CODE> - the feed title to set, <b>null</b> if none.</DL></DD></DL><HR><A NAME="getTitleEx()"><!-- --></A><H3>getTitleEx</H3><PRE>public <A HREF="../../../../../com/sun/syndication/feed/synd/SyndContent.html" title="interface in com.sun.syndication.feed.synd">SyndContent</A> <B>getTitleEx</B>()</PRE><DL><DD>Returns the feed title as a text construct. <p><P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/sun/syndication/feed/synd/SyndFeed.html#getTitleEx()">getTitleEx</A></CODE> in interface <CODE><A HREF="../../../../../com/sun/syndication/feed/synd/SyndFeed.html" title="interface in com.sun.syndication.feed.synd">SyndFeed</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the feed title, <b>null</b> if none.</DL></DD></DL><HR><A NAME="setTitleEx(com.sun.syndication.feed.synd.SyndContent)"><!-- --></A><H3>setTitleEx</H3><PRE>public void <B>setTitleEx</B>(<A HREF="../../../../../com/sun/syndication/feed/synd/SyndContent.html" title="interface in com.sun.syndication.feed.synd">SyndContent</A> title)</PRE><DL><DD>Sets the feed title as a text construct. <p><P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/sun/syndication/feed/synd/SyndFeed.html#setTitleEx(com.sun.syndication.feed.synd.SyndContent)">setTitleEx</A></CODE> in interface <CODE><A HREF="../../../../../com/sun/syndication/feed/synd/SyndFeed.html" title="interface in com.sun.syndication.feed.synd">SyndFeed</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>title</CODE> - the feed title to set, <b>null</b> if none.</DL></DD></DL><HR><A NAME="getLink()"><!-- --></A><H3>getLink</H3><PRE>public java.lang.String <B>getLink</B>()</PRE><DL><DD>Returns the feed link. <p> Note: The URI is the unique identifier, in the RSS 2.0/atom case this is the GUID, for RSS 1.0 this is the URI attribute of the item. The Link is the URL that the item is accessible under, the URI is the permanent identifier which the aggregator should use to reference this item. Often the URI will use some standardized identifier scheme such as DOI's so that items can be identified even if they appear in multiple feeds with different "links" (they might be on different hosting platforms but be the same item). Also, though rare, there could be multiple items with the same link but a different URI and associated metadata which need to be treated as distinct entities. In the RSS 1.0 case the URI must be a valid RDF URI reference. <p><P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/sun/syndication/feed/synd/SyndFeed.html#getLink()">getLink</A></CODE> in interface <CODE><A HREF="../../../../../com/sun/syndication/feed/synd/SyndFeed.html" title="interface in com.sun.syndication.feed.synd">SyndFeed</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the feed link, <b>null</b> if none.</DL></DD></DL><HR><A NAME="setLink(java.lang.String)"><!-- --></A><H3>setLink</H3><PRE>public void <B>setLink</B>(java.lang.String link)</PRE><DL><DD>Sets the feed link. <p> Note: The URI is the unique identifier, in the RSS 2.0/atom case this is the GUID, for RSS 1.0 this is the URI attribute of the item. The Link is the URL that the item is accessible under, the URI is the permanent identifier which the aggregator should use to reference this item. Often the URI will use some standardized identifier scheme such as DOI's so that items can be identified even if they appear in multiple feeds with different "links" (they might be on different hosting platforms but be the same item). Also, though rare, there could be multiple items with the same link but a different URI and associated metadata which need to be treated as distinct entities. In the RSS 1.0 case the URI must be a valid RDF URI reference. <p><P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/sun/syndication/feed/synd/SyndFeed.html#setLink(java.lang.String)">setLink</A></CODE> in interface <CODE><A HREF="../../../../../com/sun/syndication/feed/synd/SyndFeed.html" title="interface in com.sun.syndication.feed.synd">SyndFeed</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>link</CODE> - the feed link to set, <b>null</b> if none.</DL></DD></DL><HR><A NAME="getDescription()"><!-- --></A><H3>getDescription</H3><PRE>public java.lang.String <B>getDescription</B>()</PRE><DL><DD>Returns the feed description. <p><P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/sun/syndication/feed/synd/SyndFeed.html#getDescription()">getDescription</A></CODE> in interface <CODE><A HREF="../../../../../com/sun/syndication/feed/synd/SyndFeed.html" title="interface in com.sun.syndication.feed.synd">SyndFeed</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the feed description, <b>null</b> if none.</DL></DD></DL><HR><A NAME="setDescription(java.lang.String)"><!-- --></A><H3>setDescription</H3><PRE>public void <B>setDescription</B>(java.lang.String description)</PRE><DL><DD>Sets the feed description. <p><P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/sun/syndication/feed/synd/SyndFeed.html#setDescription(java.lang.String)">setDescription</A></CODE> in interface <CODE><A HREF="../../../../../com/sun/syndication/feed/synd/SyndFeed.html" title="interface in com.sun.syndication.feed.synd">SyndFeed</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>description</CODE> - the feed description to set, <b>null</b> if none.</DL></DD></DL><HR><A NAME="getDescriptionEx()"><!-- --></A><H3>getDescriptionEx</H3><PRE>public <A HREF="../../../../../com/sun/syndication/feed/synd/SyndContent.html" title="interface in com.sun.syndication.feed.synd">SyndContent</A> <B>getDescriptionEx</B>()</PRE><DL><DD>Returns the feed description as a text construct. <p><P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/sun/syndication/feed/synd/SyndFeed.html#getDescriptionEx()">getDescriptionEx</A></CODE> in interface <CODE><A HREF="../../../../../com/sun/syndication/feed/synd/SyndFeed.html" title="interface in com.sun.syndication.feed.synd">SyndFeed</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the feed description, <b>null</b> if none.</DL></DD></DL><HR><A NAME="setDescriptionEx(com.sun.syndication.feed.synd.SyndContent)"><!-- --></A><H3>setDescriptionEx</H3><PRE>public void <B>setDescriptionEx</B>(<A HREF="../../../../../com/sun/syndication/feed/synd/SyndContent.html" title="interface in com.sun.syndication.feed.synd">SyndContent</A> description)</PRE><DL><DD>Sets the feed description as a text construct. <p><P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/sun/syndication/feed/synd/SyndFeed.html#setDescriptionEx(com.sun.syndication.feed.synd.SyndContent)">setDescriptionEx</A></CODE> in interface <CODE><A HREF="../../../../../com/sun/syndication/feed/synd/SyndFeed.html" title="interface in com.sun.syndication.feed.synd">SyndFeed</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>description</CODE> - the feed description to set, <b>null</b> if none.</DL></DD></DL><HR><A NAME="getPublishedDate()"><!-- --></A><H3>getPublishedDate</H3><PRE>public java.util.Date <B>getPublishedDate</B>()</PRE><DL><DD>Returns the feed published date. <p> This method is a convenience method, it maps to the Dublin Core module date. <p><P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/sun/syndication/feed/synd/SyndFeed.html#getPublishedDate()">getPublishedDate</A></CODE> in interface <CODE><A HREF="../../../../../com/sun/syndication/feed/synd/SyndFeed.html" title="interface in com.sun.syndication.feed.synd">SyndFeed</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the feed published date, <b>null</b> if none.</DL></DD></DL><HR><A NAME="setPublishedDate(java.util.Date)"><!-- --></A><H3>setPublishedDate</H3><PRE>public void <B>setPublishedDate</B>(java.util.Date publishedDate)</PRE><DL><DD>Sets the feed published date. <p> This method is a convenience method, it maps to the Dublin Core module date. <p><P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/sun/syndication/feed/synd/SyndFeed.html#setPublishedDate(java.util.Date)">setPublishedDate</A></CODE> in interface <CODE><A HREF="../../../../../com/sun/syndication/feed/synd/SyndFeed.html" title="interface in com.sun.syndication.feed.synd">SyndFeed</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>publishedDate</CODE> - the feed published date to set, <b>null</b> if none.</DL></DD></DL><HR><A NAME="getCopyright()"><!-- --></A><H3>getCopyright</H3><PRE>public java.lang.String <B>getCopyright</B>()</PRE><DL><DD>Returns the feed copyright. <p> This method is a convenience method, it maps to the Dublin Core module rights. <p><P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/sun/syndication/feed/synd/SyndFeed.html#getCopyright()">getCopyright</A></CODE> in interface <CODE><A HREF="../../../../../com/sun/syndication/feed/synd/SyndFeed.html" title="interface in com.sun.syndication.feed.synd">SyndFeed</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the feed copyright, <b>null</b> if none.</DL></DD></DL><HR><A NAME="setCopyright(java.lang.String)"><!-- --></A><H3>setCopyright</H3><PRE>public void <B>setCopyright</B>(java.lang.String copyright)</PRE><DL><DD>Sets the feed copyright. <p> This method is a convenience method, it maps to the Dublin Core module rights. <p><P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/sun/syndication/feed/synd/SyndFeed.html#setCopyright(java.lang.String)">setCopyright</A></CODE> in interface <CODE><A HREF="../../../../../com/sun/syndication/feed/synd/SyndFeed.html" title="interface in com.sun.syndication.feed.synd">SyndFeed</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>copyright</CODE> - the feed copyright to set, <b>null</b> if none.</DL></DD></DL><HR>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -