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

📄 syndfeedimpl.html

📁 解析RSS工具源码
💻 HTML
📖 第 1 页 / 共 5 页
字号:
 Convenience properties are mapped to Modules, for cloning the convenience properties can be ignored as the will be copied as part of the module cloning.<P><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="SyndFeedImpl(java.lang.Class, java.util.Set)"><!-- --></A><H3>SyndFeedImpl</H3><PRE>protected <B>SyndFeedImpl</B>(java.lang.Class&nbsp;beanClass,                       java.util.Set&nbsp;convenienceProperties)</PRE><DL><DD>For implementations extending SyndFeedImpl to be able to use the ObjectBean functionality with extended interfaces. <p><P><DT><B>Parameters:</B><DD><CODE>beanClass</CODE> - <DD><CODE>convenienceProperties</CODE> - set containing the convenience properties of the SyndEntryImpl (the are ignored during cloning, check CloneableBean for details).</DL><HR><A NAME="SyndFeedImpl()"><!-- --></A><H3>SyndFeedImpl</H3><PRE>public <B>SyndFeedImpl</B>()</PRE><DL><DD>Default constructor. All properties are set to <b>null</b>. <p><P></DL><HR><A NAME="SyndFeedImpl(com.sun.syndication.feed.WireFeed)"><!-- --></A><H3>SyndFeedImpl</H3><PRE>public <B>SyndFeedImpl</B>(<A HREF="../../../../../com/sun/syndication/feed/WireFeed.html" title="class in com.sun.syndication.feed">WireFeed</A>&nbsp;feed)</PRE><DL><DD>Creates a SyndFeedImpl and populates all its properties out of the given RSS Channel or Atom Feed properties. <p><P><DT><B>Parameters:</B><DD><CODE>feed</CODE> - the RSS Channel or the Atom Feed to populate the properties from.</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="getSupportedFeedTypes()"><!-- --></A><H3>getSupportedFeedTypes</H3><PRE>public java.util.List <B>getSupportedFeedTypes</B>()</PRE><DL><DD>Returns the real feed types the SyndFeedImpl supports when converting from and to. <p><P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/sun/syndication/feed/synd/SyndFeed.html#getSupportedFeedTypes()">getSupportedFeedTypes</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 real feed type supported.</DL></DD></DL><HR><A NAME="clone()"><!-- --></A><H3>clone</H3><PRE>public java.lang.Object <B>clone</B>()                       throws java.lang.CloneNotSupportedException</PRE><DL><DD>Creates a deep 'bean' clone of the object. <p><P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/sun/syndication/feed/synd/SyndFeed.html#clone()">clone</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>a clone of the object.<DT><B>Throws:</B><DD><CODE>java.lang.CloneNotSupportedException</CODE> - thrown if an element of the object cannot be cloned.</DL></DD></DL><HR><A NAME="equals(java.lang.Object)"><!-- --></A><H3>equals</H3><PRE>public boolean <B>equals</B>(java.lang.Object&nbsp;other)</PRE><DL><DD>Indicates whether some other object is "equal to" this one as defined by the Object equals() method. <p><P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>other</CODE> - he reference object with which to compare.<DT><B>Returns:</B><DD><b>true</b> if 'this' object is equal to the 'other' object.</DL></DD></DL><HR><A NAME="hashCode()"><!-- --></A><H3>hashCode</H3><PRE>public int <B>hashCode</B>()</PRE><DL><DD>Returns a hashcode value for the object. <p> It follows the contract defined by the Object hashCode() method. <p><P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the hashcode of the bean object.</DL></DD></DL><HR><A NAME="toString()"><!-- --></A><H3>toString</H3><PRE>public java.lang.String <B>toString</B>()</PRE><DL><DD>Returns the String representation for the object. <p><P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>String representation for the object.</DL></DD></DL><HR><A NAME="createWireFeed()"><!-- --></A><H3>createWireFeed</H3><PRE>public <A HREF="../../../../../com/sun/syndication/feed/WireFeed.html" title="class in com.sun.syndication.feed">WireFeed</A> <B>createWireFeed</B>()</PRE><DL><DD>Creates a real feed containing the information of the SyndFeedImpl. <p> The feed type of the created WireFeed is taken from the SyndFeedImpl feedType property. <p><P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/sun/syndication/feed/synd/SyndFeed.html#createWireFeed()">createWireFeed</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 real feed.</DL></DD></DL><HR><A NAME="createWireFeed(java.lang.String)"><!-- --></A><H3>createWireFeed</H3><PRE>public <A HREF="../../../../../com/sun/syndication/feed/WireFeed.html" title="class in com.sun.syndication.feed">WireFeed</A> <B>createWireFeed</B>(java.lang.String&nbsp;feedType)</PRE><DL><DD>Creates a real feed containing the information of the SyndFeedImpl. <p><P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/sun/syndication/feed/synd/SyndFeed.html#createWireFeed(java.lang.String)">createWireFeed</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>feedType</CODE> - the feed type for the WireFeed to be created.<DT><B>Returns:</B><DD>the real feed.</DL></DD></DL><HR><A NAME="getFeedType()"><!-- --></A><H3>getFeedType</H3><PRE>public java.lang.String <B>getFeedType</B>()</PRE><DL><DD>Returns the wire feed type the feed had/will-have when coverted from/to a WireFeed. <p><P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/sun/syndication/feed/synd/SyndFeed.html#getFeedType()">getFeedType</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 type, <b>null</b> if none.</DL></DD></DL><HR><A NAME="setFeedType(java.lang.String)"><!-- --></A><H3>setFeedType</H3><PRE>public void <B>setFeedType</B>(java.lang.String&nbsp;feedType)</PRE><DL><DD>Sets the wire feed type the feed will-have when coverted to a WireFeed. <p><P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/sun/syndication/feed/synd/SyndFeed.html#setFeedType(java.lang.String)">setFeedType</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>feedType</CODE> - the feed type to set, <b>null</b> if none.</DL></DD></DL><HR><A NAME="getEncoding()"><!-- --></A><H3>getEncoding</H3><PRE>public java.lang.String <B>getEncoding</B>()</PRE><DL><DD>Returns the charset encoding of a the feed. This is not set by Rome parsers. <p><P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/sun/syndication/feed/synd/SyndFeed.html#getEncoding()">getEncoding</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 charset encoding of the feed.</DL></DD></DL><HR><A NAME="setEncoding(java.lang.String)"><!-- --></A><H3>setEncoding</H3><PRE>public void <B>setEncoding</B>(java.lang.String&nbsp;encoding)</PRE><DL><DD>Sets the charset encoding of a the feed. This is not set by Rome parsers. <p><P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/sun/syndication/feed/synd/SyndFeed.html#setEncoding(java.lang.String)">setEncoding</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>encoding</CODE> - the charset encoding of the feed.</DL></DD></DL><HR><A NAME="getUri()"><!-- --></A><H3>getUri</H3><PRE>public java.lang.String <B>getUri</B>()</PRE><DL><DD>Returns 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> The returned URI is a normalized URI as specified in RFC 2396bis. <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#getUri()">getUri</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 URI, <b>null</b> if none.</DL></DD></DL><HR><A NAME="setUri(java.lang.String)"><!-- --></A><H3>setUri</H3><PRE>public void <B>setUri</B>(java.lang.String&nbsp;uri)</PRE>

⌨️ 快捷键说明

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