1
/* Copyright (c) 2006 Google Inc.
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
7
* http://www.apache.org/licenses/LICENSE-2.0
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.
17
using System.Collections;
20
using Google.GData.Client;
21
using Google.GData.Extensions;
23
namespace Google.GData.Health {
26
//////////////////////////////////////////////////////////////////////
28
/// The Google Health Data API allows applications to view and send health data in the form of Google Data feeds.
30
//////////////////////////////////////////////////////////////////////
31
public class HealthFeed : AbstractFeed
35
/// default constructor
37
/// <param name="uriBase">the base URI of the feedEntry</param>
38
/// <param name="iService">the Service to use</param>
39
public HealthFeed(Uri uriBase, IService iService) : base(uriBase, iService)
44
/// this needs to get implemented by subclasses
46
/// <returns>AtomEntry</returns>
47
public override AtomEntry CreateFeedEntry()
49
return new HealthEntry();
53
/// get's called after we already handled the custom entry, to handle all
54
/// other potential parsing tasks
56
/// <param name="e"></param>
57
/// <param name="parser">the atom feed parser used</param>
58
protected override void HandleExtensionElements(ExtensionElementEventArgs e, AtomFeedParser parser)
60
base.HandleExtensionElements(e, parser);