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.CodeSearch
26
/// Feed API customization class for defining feeds in an CodeSearch feed.
28
public class CodeSearchFeed : AbstractFeed
31
/// default constructor
33
/// <param name="uriBase">the base URI of the feedEntry</param>
34
/// <param name="iService">the Service to use</param>
35
public CodeSearchFeed(Uri uriBase, IService iService) :
36
base(uriBase, iService)
41
/// creates our codesearchEntry
43
/// <returns>AtomEntry</returns>
44
public override AtomEntry CreateFeedEntry()
46
return new CodeSearchEntry();
51
/// get's called after we already handled the custom entry, to handle all
52
/// other potential parsing tasks
54
/// <param name="e"></param>
55
/// <param name="parser">the atom feed parser used</param>
56
protected override void HandleExtensionElements(ExtensionElementEventArgs e, AtomFeedParser parser)