PageRenderTime 41ms CodeModel.GetById 32ms app.highlight 4ms RepoModel.GetById 2ms app.codeStats 0ms

/core/externals/update-engine/externals/gdata-objectivec-client/Source/Clients/WebmasterTools/GDataSitemapNews.h

http://macfuse.googlecode.com/
C++ Header | 50 lines | 15 code | 9 blank | 26 comment | 1 complexity | 5cf5096939358685d03ef1b5db290a53 MD5 | raw file
 1/* Copyright (c) 2008 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//  GDataSitemapNews.h
18//
19
20#if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_WEBMASTERTOOLS_SERVICE
21
22#import "GDataObject.h"
23#import "GDataValueConstruct.h"
24
25// News elements, like
26//
27//      <wt:sitemap-news>
28//        <wt:publication-label>Value1</wt:publication-label>
29//        <wt:publication-label>Value2</wt:publication-label>
30//        <wt:publication-label>Value3</wt:publication-label>
31//      </wt:sitemap-news>
32//
33// http://code.google.com/apis/webmastertools/docs/reference.html
34
35
36@interface GDataSitemapPublicationLabel : GDataValueElementConstruct <GDataExtension>
37+ (NSString *)extensionElementURI;
38+ (NSString *)extensionElementPrefix;
39+ (NSString *)extensionElementLocalName;
40@end
41
42@interface GDataSitemapNews : GDataObject <GDataExtension>
43+ (id)sitemapNews;
44
45- (NSArray *)publicationLabels;
46- (void)setPublicationLabels:(NSArray *)arr;
47- (void)addPublicationLabel:(GDataSitemapPublicationLabel *)obj;
48@end
49
50#endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_WEBMASTERTOOLS_SERVICE