RSSKit 0.6.1

- Main Page
- Related Pages
- Classes
- Files

- File List

RSSLinks.h
1 /* -*-objc-*-
2 *
3 * GNUstep RSS Kit
4 * Copyright (C) 2006 Guenther Noack
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation, in version 2.1
9 * of the License
10 *
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
15 *
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 */
20
21 #import <Foundation/NSURL.h>
22 #import <Foundation/NSString.h>
23 #import <Foundation/NSException.h>
24
25
32 @interface RSSLink : NSURL
33 {
34 NSString* _type;
35 }
36
63 +(id) linkWithString: (NSString*) aURLString
64 andRel: (NSString*) aRelation
65 andType: (NSString*) aType;
66
70 -(id) initWithString: (NSString*) aURLString
71 andType: (NSString*) aType;
72
79 -(NSString*) relationType;
80
81
87 -(NSString*) fileType;
88 @end
89
90 @interface RSSAlternativeLink : RSSLink
91 +(id) alternativeLinkWithString: (NSString*) aURLString;
92 +(id) alternativeLinkWithString: (NSString*) aURLString
93 andType: (NSString*) aType;
94 @end
95
96 @interface RSSEnclosureLink : RSSLink
97 +(id) enclosureLinkWithString: (NSString*) aURLString;
98 +(id) enclosureLinkWithString: (NSString*) aURLString
99 andType: (NSString*) aType;
100 @end
101
102 @interface RSSRelatedLink : RSSLink
103 +(id) relatedLinkWithString: (NSString*) aURLString;
104 +(id) relatedLinkWithString: (NSString*) aURLString
105 andType: (NSString*) aType;
106 @end
107
108 @interface RSSViaLink : RSSLink
109 +(id) viaLinkWithString: (NSString*) aURLString;
110 +(id) viaLinkWithString: (NSString*) aURLString
111 andType: (NSString*) aType;
112 @end