KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > update > internal > core > SiteContentConsumer


1 /*******************************************************************************
2  * Copyright (c) 2000, 2005 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11 package org.eclipse.update.internal.core;
12
13
14 import org.eclipse.update.core.*;
15
16 /**
17  * A default implementation for IFeatureContentConsumer
18  * </p>
19  * @since 2.0
20  */

21
22 public abstract class SiteContentConsumer implements ISiteContentConsumer {
23     
24     private ISite site;
25     
26     /*
27      * @see ISiteContentConsumer#setSite(ISite)
28      */

29     /**
30      * Sets the site.
31      * @param site The site to set
32      */

33     public void setSite(ISite site) {
34         this.site = site;
35     }
36
37     /**
38      * Gets the site.
39      * @return Returns a ISite
40      */

41     public ISite getSite() {
42         return site;
43     }
44
45 }
46
Popular Tags