/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. // GDataSitemapNews.h
  17. //
  18. #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_WEBMASTERTOOLS_SERVICE
  19. #import "GDataObject.h"
  20. #import "GDataValueConstruct.h"
  21. // News elements, like
  22. //
  23. // <wt:sitemap-news>
  24. // <wt:publication-label>Value1</wt:publication-label>
  25. // <wt:publication-label>Value2</wt:publication-label>
  26. // <wt:publication-label>Value3</wt:publication-label>
  27. // </wt:sitemap-news>
  28. //
  29. // http://code.google.com/apis/webmastertools/docs/reference.html
  30. @interface GDataSitemapPublicationLabel : GDataValueElementConstruct <GDataExtension>
  31. + (NSString *)extensionElementURI;
  32. + (NSString *)extensionElementPrefix;
  33. + (NSString *)extensionElementLocalName;
  34. @end
  35. @interface GDataSitemapNews : GDataObject <GDataExtension>
  36. + (id)sitemapNews;
  37. - (NSArray *)publicationLabels;
  38. - (void)setPublicationLabels:(NSArray *)arr;
  39. - (void)addPublicationLabel:(GDataSitemapPublicationLabel *)obj;
  40. @end
  41. #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_WEBMASTERTOOLS_SERVICE