syndfeedimpl.html

来自「rsslibj-1_0RC2,RSS阅读」· HTML 代码 · 共 1,489 行 · 第 1/5 页

HTML
1,489
字号
<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="CONVENIENCE_PROPERTIES"><!-- --></A><H3>CONVENIENCE_PROPERTIES</H3><PRE>public static final java.util.Set <B>CONVENIENCE_PROPERTIES</B></PRE><DL><DD>Unmodifiable Set containing the convenience properties of this class. <p> 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"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TH></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><DL><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></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><DL><DT><B>Parameters:</B><DD><CODE>feed</CODE> - the RSS Channel or the Atom Feed to populate the properties from.</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="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><DT><B>Overrides:</B><DD><CODE>clone</CODE> in class <CODE>java.lang.Object</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><DT><B>Overrides:</B><DD><CODE>equals</CODE> in class <CODE>java.lang.Object</CODE></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><DT><B>Overrides:</B><DD><CODE>hashCode</CODE> in class <CODE>java.lang.Object</CODE></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><DT><B>Overrides:</B><DD><CODE>toString</CODE> in class <CODE>java.lang.Object</CODE></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>

⌨️ 快捷键说明

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