Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.update.core.model
Class URLEntryModel

java.lang.Object
  extended by 

org.eclipse.core.runtime.PlatformObject
      extended by 

org.eclipse.update.core.model.ModelObject
          extended by 
org.eclipse.update.core.model.URLEntryModel
All Implemented Interfaces:
IAdaptable
Direct Known Subclasses:
URLEntry

Deprecated. The org.eclipse.update component has been replaced by Equinox p2. This provisional API was never promoted to stable API, and may be removed from a future release of the platform.

public class URLEntryModel
extends ModelObject

Annotated URL model object.

This class may be instantiated or subclassed by clients. However, in most cases clients should instead instantiate or subclass the provided concrete implementation of this model.

Note: This class/interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.

Since:
2.0
See Also:
URLEntry

Constructor Summary
URLEntryModel ()
          Deprecated. Creates a uninitialized annotated URL model object.
 
Method Summary
  String getAnnotation ()
          Deprecated. Returns the url annotation.
  String getAnnotationNonLocalized ()
          Deprecated. returns the non-localized url annotation.
 int getType ()
          Deprecated. Returns the specified type.
  URL getURL ()
          Deprecated. Returns the resolved URL.
  String getURLString ()
          Deprecated. Returns the unresolved url string.
 void resolve ( URL base, URL bundleURL)
          Deprecated. Resolve the model object.
 void setAnnotation ( String annotation)
          Deprecated. Sets the annotation.
 void setType (int i)
          Deprecated. Method setType.
 void setURLString ( String urlString)
          Deprecated. Sets the url string Throws a runtime exception if this object is marked read-only.
 
Methods inherited from class org.eclipse.update.core.model. ModelObject
arrayTypeFor, arrayTypeFor, assertIsWriteable, getPropertyName, getResourceBundle, isReadOnly, markListReferenceReadOnly, markReadOnly, markReferenceReadOnly, resolveListReference, resolveNLString, resolveReference, resolveURL
 
Methods inherited from class org.eclipse.core.runtime. PlatformObject
getAdapter
 
Methods inherited from class java.lang. Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

URLEntryModel

public URLEntryModel()
Deprecated. 
Creates a uninitialized annotated URL model object.

Since:
2.0
Method Detail

getAnnotation

public 
String getAnnotation()
Deprecated. 
Returns the url annotation. If the model object has been resolved, the annotation is localized.

Returns:
url annotation, or null.
Since:
2.0

getAnnotationNonLocalized

public 
String getAnnotationNonLocalized()
Deprecated. 
returns the non-localized url annotation.

Returns:
non-localized url annotation, or null.
Since:
2.0

getURLString

public 
String getURLString()
Deprecated. 
Returns the unresolved url string.

Returns:
url string, or null
Since:
2.0

getURL

public 
URL getURL()
Deprecated. 
Returns the resolved URL.

Returns:
url, or null
Since:
2.0

setAnnotation

public void setAnnotation(
String annotation)
Deprecated. 
Sets the annotation. Throws a runtime exception if this object is marked read-only.

Parameters:
annotation - annotation
Since:
2.0

setURLString

public void setURLString(
String urlString)
Deprecated. 
Sets the url string Throws a runtime exception if this object is marked read-only.

Parameters:
urlString - url string
Since:
2.0

resolve

public void resolve(
URL base,
                    
URL bundleURL)
             throws 
MalformedURLException
Deprecated. 
Resolve the model object. Any URL strings in the model are resolved relative to the base URL argument. Any translatable strings in the model that are specified as translation keys are localized using the supplied resource bundle.

Overrides:
resolve in class ModelObject
Parameters:
base - URL
bundleURL - resource bundle url
Throws:
MalformedURLException
Since:
2.0

getType

public int getType()
Deprecated. 
Returns the specified type.

Since:
2.1

setType

public void setType(int i)
Deprecated. 
Method setType.

Parameters:
i -

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire