KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > help > internal > index > IndexTopic


1 /*******************************************************************************
2  * Copyright (c) 2005 Intel Corporation.
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  * Intel Corporation - initial API and implementation
10  *******************************************************************************/

11 package org.eclipse.help.internal.index;
12
13 public class IndexTopic implements IIndexTopic {
14     String JavaDoc label;
15     String JavaDoc href;
16     String JavaDoc location;
17     
18     public IndexTopic(String JavaDoc label, String JavaDoc href, String JavaDoc location) {
19         this.label = label;
20         this.href = href;
21         this.location = location;
22     }
23     
24     public String JavaDoc getHref() {
25         return href;
26     }
27
28     public String JavaDoc getLabel() {
29         return label;
30     }
31     
32     public String JavaDoc getLocation() {
33         return location;
34     }
35 }
36
Popular Tags