PageRenderTime 40ms CodeModel.GetById 22ms app.highlight 14ms RepoModel.GetById 1ms app.codeStats 1ms

/core/externals/update-engine/externals/gdata-objectivec-client/Source/Clients/Books/GDataDublinCore.m

http://macfuse.googlecode.com/
Objective C | 83 lines | 49 code | 14 blank | 20 comment | 1 complexity | 0dcac262bce5fb53983b2df6098e2385 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//  GDataDublinCore.m
18//
19
20//
21// DublinCore elements - http://uk.dublincore.org/documents/dces/
22//
23
24#if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_BOOKS_SERVICE
25
26#define GDATADUBLINCORE_DEFINE_GLOBALS 1
27#import "GDataDublinCore.h"
28
29@implementation GDataDCCreator
30+ (NSString *)extensionElementURI       { return kGDataNamespaceDublinCore; }
31+ (NSString *)extensionElementPrefix    { return kGDataNamespaceDublinCorePrefix; }
32+ (NSString *)extensionElementLocalName { return @"creator"; }
33@end
34
35@implementation GDataDCDate
36+ (NSString *)extensionElementURI       { return kGDataNamespaceDublinCore; }
37+ (NSString *)extensionElementPrefix    { return kGDataNamespaceDublinCorePrefix; }
38+ (NSString *)extensionElementLocalName { return @"date"; }
39@end
40
41@implementation GDataDCDescription
42+ (NSString *)extensionElementURI       { return kGDataNamespaceDublinCore; }
43+ (NSString *)extensionElementPrefix    { return kGDataNamespaceDublinCorePrefix; }
44+ (NSString *)extensionElementLocalName { return @"description"; }
45@end
46
47@implementation GDataDCFormat
48+ (NSString *)extensionElementURI       { return kGDataNamespaceDublinCore; }
49+ (NSString *)extensionElementPrefix    { return kGDataNamespaceDublinCorePrefix; }
50+ (NSString *)extensionElementLocalName { return @"format"; }
51@end
52
53@implementation GDataDCIdentifier
54+ (NSString *)extensionElementURI       { return kGDataNamespaceDublinCore; }
55+ (NSString *)extensionElementPrefix    { return kGDataNamespaceDublinCorePrefix; }
56+ (NSString *)extensionElementLocalName { return @"identifier"; }
57@end
58
59@implementation GDataDCLanguage
60+ (NSString *)extensionElementURI       { return kGDataNamespaceDublinCore; }
61+ (NSString *)extensionElementPrefix    { return kGDataNamespaceDublinCorePrefix; }
62+ (NSString *)extensionElementLocalName { return @"language"; }
63@end
64
65@implementation GDataDCPublisher
66+ (NSString *)extensionElementURI       { return kGDataNamespaceDublinCore; }
67+ (NSString *)extensionElementPrefix    { return kGDataNamespaceDublinCorePrefix; }
68+ (NSString *)extensionElementLocalName { return @"publisher"; }
69@end
70
71@implementation GDataDCSubject
72+ (NSString *)extensionElementURI       { return kGDataNamespaceDublinCore; }
73+ (NSString *)extensionElementPrefix    { return kGDataNamespaceDublinCorePrefix; }
74+ (NSString *)extensionElementLocalName { return @"subject"; }
75@end
76
77@implementation GDataDCTitle
78+ (NSString *)extensionElementURI       { return kGDataNamespaceDublinCore; }
79+ (NSString *)extensionElementPrefix    { return kGDataNamespaceDublinCorePrefix; }
80+ (NSString *)extensionElementLocalName { return @"title"; }
81@end
82
83#endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_BOOKS_SERVICE