PageRenderTime 23ms CodeModel.GetById 16ms app.highlight 4ms RepoModel.GetById 1ms app.codeStats 0ms

/core/externals/update-engine/externals/gdata-objectivec-client/Source/Introspection/GDataAtomCategoryGroup.h

http://macfuse.googlecode.com/
C++ Header | 52 lines | 13 code | 11 blank | 28 comment | 1 complexity | f2eabd8b7337c6b7006007e6ec5aa49e MD5 | raw file
 1/* Copyright (c) 2009 Google Inc.
 2 *
 3 * Licensed under the Apache License, Version 2.0 (the "License");
 4 * you may not use this file except in compliance with the License.
 5 * You may obtain a copy of the License at
 6 *
 7 *     http://www.apache.org/licenses/LICENSE-2.0
 8 *
 9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
14 */
15
16//
17//  GDataAtomCategoryGroup.h
18//
19
20#if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_SERVICE_INTROSPECTION
21
22#import "GDataObject.h"
23
24// a collection in a service document for introspection,
25// per http://tools.ietf.org/html/rfc5023#section-7.2
26//
27//  <categories fixed="yes">
28//    <atom:category scheme="http://example.org/extra-cats/" term="joke" />
29//    <atom:category scheme="http://example.org/extra-cats/" term="serious" />
30//  </categories>
31//
32//  or
33//
34//  <categories href="http://example.com/cats/forMain.cats" />
35
36@interface GDataAtomCategoryGroup : GDataObject <GDataExtension>
37
38- (NSString *)href;
39- (void)setHref:(NSString *)str;
40
41- (NSString *)scheme;
42- (void)setScheme:(NSString *)str;
43
44- (BOOL)isFixed;
45- (void)setIsFixed:(BOOL)flag;
46
47- (NSArray *)categories; // array of GDataCategory objects
48- (void)setCategories:(NSArray *)array;
49
50@end
51
52#endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_SERVICE_INTROSPECTION