RSSArticleProtocol.h
/* -*-objc-*-
*
* GNUstep RSS Kit
* Copyright (C) 2010-2011 The Free Software Foundation, Inc.
* 2006 Guenther Noack
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation, in version 2.1
* of the License
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#import <Foundation/NSObject.h>
#import <Foundation/NSURL.h>
#import "RSSFeedProtocol.h"
extern NSString* RSSArticleChangedNotification;
@protocol RSSArticle <NSObject>
- (NSString*) headline;
- (NSString*) url;
- (NSString*) content;
- (NSArray*) links;
- (NSDate*) date;
- (NSURL*) enclosure;
- (id<RSSFeed>) feed;
- (BOOL) store;
- (void) willBeReplacedByArticle: (id) newArticle;
@end
@protocol RSSMutableArticle <RSSArticle>
- (void) addLink:(NSURL*) anURL;
- (void) setLinks: (NSArray*) someLinks;
// only used internally
- (void) setFeed: (id) aFeed;
- (void) setDate: (NSDate*) aDate;
@end
-[RSSArticle content]
NSString * content()
Definition: RSSArticle.m:89
-[RSSArticle links]
NSArray * links()
Definition: RSSArticle.m:184
RSSMutableArticle-p
Definition: RSSArticleProtocol.h:114
-[RSSArticle(Storage) store]
BOOL store()
Definition: RSSArticle+Storage.m:142
-[RSSArticle url]
NSString * url()
Definition: RSSArticle.m:79
-[RSSArticle headline]
NSString * headline()
Definition: RSSArticle.m:74
RSSFeed
Definition: RSSFeed.h:85
-[RSSArticle date]
NSDate * date()
Definition: RSSArticle.m:94
-[RSSArticle-p feed]
id< RSSFeed > feed()
RSSArticle
Definition: RSSArticle.h:36
-[RSSArticle enclosure]
NSURL * enclosure()
Definition: RSSArticle.m:141