RSSLinks.h
/* -*-objc-*-
*
* GNUstep RSS Kit
* Copyright (C) 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/NSURL.h>
#import <Foundation/NSString.h>
#import <Foundation/NSException.h>
@interface RSSLink : NSURL
{
NSString* _type;
}
+(id) linkWithString: (NSString*) aURLString
andRel: (NSString*) aRelation
andType: (NSString*) aType;
-(id) initWithString: (NSString*) aURLString
andType: (NSString*) aType;
-(NSString*) relationType;
-(NSString*) fileType;
@end
@interface RSSAlternativeLink : RSSLink
+(id) alternativeLinkWithString: (NSString*) aURLString;
+(id) alternativeLinkWithString: (NSString*) aURLString
andType: (NSString*) aType;
@end
@interface RSSEnclosureLink : RSSLink
+(id) enclosureLinkWithString: (NSString*) aURLString;
+(id) enclosureLinkWithString: (NSString*) aURLString
andType: (NSString*) aType;
@end
@interface RSSRelatedLink : RSSLink
+(id) relatedLinkWithString: (NSString*) aURLString;
+(id) relatedLinkWithString: (NSString*) aURLString
andType: (NSString*) aType;
@end
@interface RSSViaLink : RSSLink
+(id) viaLinkWithString: (NSString*) aURLString;
+(id) viaLinkWithString: (NSString*) aURLString
andType: (NSString*) aType;
@end
RSSLink
Definition: RSSLinks.h:32