KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > core > runtime > model > URLModel


1 /*******************************************************************************
2  * Copyright (c) 2000, 2006 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.core.runtime.model;
12
13 /**
14  * An object which represents a named URL in a component or configuration
15  * manifest.
16  * <p>
17  * This class may be instantiated and further subclassed.
18  * </p>
19  * @deprecated In Eclipse 3.0 the runtime was refactored and all
20  * non-essential elements removed. This class provides facilities primarily intended
21  * for tooling. As such it has been removed and no directly substitutable API provided.
22  */

23
24 public class URLModel extends PluginModelObject {
25     // DTD properties (included in install manifest)
26
private String JavaDoc url = null;
27
28     /**
29      * Returns the URL specification.
30      *
31      * @return the URL specification or <code>null</code>.
32      */

33     public String JavaDoc getURL() {
34         return url;
35     }
36
37     /**
38      * Sets the URL specification.
39      * This object must not be read-only.
40      *
41      * @param value the URL specification.
42      * May be <code>null</code>.
43      */

44     public void setURL(String JavaDoc value) {
45         assertIsWriteable();
46         url = value;
47     }
48
49 }
50
Popular Tags