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

📄 syndfeed.html

📁 解析RSS工具源码
💻 HTML
📖 第 1 页 / 共 4 页
字号:
<P><DD><DL></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. <p><P><DD><DL></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>&nbsp;title)</PRE><DL><DD>Sets the feed title. <p><P><DD><DL></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></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&nbsp;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></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="getLinks()"><!-- --></A><H3>getLinks</H3><PRE>public java.util.List <B>getLinks</B>()</PRE><DL><DD>Returns the entry links <p><P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the entry links, <b>null</b> if none.</DL></DD></DL><HR><A NAME="setLinks(java.util.List)"><!-- --></A><H3>setLinks</H3><PRE>public void <B>setLinks</B>(java.util.List&nbsp;links)</PRE><DL><DD>Sets the entry links. <p><P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>links</CODE> - the entry links 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></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&nbsp;description)</PRE><DL><DD>Sets the feed description. <p><P><DD><DL></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></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>&nbsp;description)</PRE><DL><DD>Sets the feed description as a text construct. <p><P><DD><DL></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></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&nbsp;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></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="getAuthors()"><!-- --></A><H3>getAuthors</H3><PRE>public java.util.List <B>getAuthors</B>()</PRE><DL><DD>Returns the feed authors. <p> For Atom feeds, this returns the authors as a list of SyndPerson objects, for RSS feeds this method is a convenience method, it maps to the Dublin Core module creator. <p><P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the feed author, <b>null</b> if none.</DL></DD></DL><HR><A NAME="setAuthors(java.util.List)"><!-- --></A><H3>setAuthors</H3><PRE>public void <B>setAuthors</B>(java.util.List&nbsp;authors)</PRE><DL><DD>Sets the feed author. <p> For Atom feeds, this sets the authors as a list of SyndPerson objects, for RSS feeds this method is a convenience method, it maps to the Dublin Core module creator. <p><P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getAuthor()"><!-- --></A><H3>getAuthor</H3><PRE>public java.lang.String <B>getAuthor</B>()</PRE><DL><DD>Returns the name of the first feed author in the collection of authors. <p> For Atom feeds, this returns the authors as a list of SyndPerson objects, for RSS feeds this method is a convenience method, it maps to the Dublin Core module creator. <p><P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the feed author, <b>null</b> if none.</DL></DD></DL><HR><A NAME="setAuthor(java.lang.String)"><!-- --></A><H3>setAuthor</H3><PRE>public void <B>setAuthor</B>(java.lang.String&nbsp;author)</PRE><DL><DD>Sets the feed author. <p> For Atom feeds, this sets the feed author's name, for RSS feeds this method is a convenience method, it maps to the Dublin Core module creator. <p><P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>author</CODE> - the feed author to set, <b>null</b> if none.</DL></DD></DL><HR><A NAME="getContributors()"><!-- --></A><H3>getContributors</H3><PRE>public java.util.List <B>getContributors</B>()</PRE><DL><DD>Returns the feed author. <p> For Atom feeds, this returns the contributors as a list of SyndPerson objects <p><P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the feed author, <b>null</b> if none.</DL></DD></DL><HR><A NAME="setContributors(java.util.List)"><!-- --></A><H3>setContributors</H3><PRE>public void <B>setContributors</B>(java.util.List&nbsp;contributors)</PRE><DL><DD>Sets the feed author. <p> Returns contributors as a list of SyndPerson objects. <p><P><DD><DL></DL></DD><DD><DL></DL>

⌨️ 快捷键说明

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