|
Eclipse Platform Release 3.7 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.update.core.model.SiteModelFactory
org.eclipse.update.core.BaseSiteFactory
public abstract class BaseSiteFactory
Base implementation of a site factory. The factory is responsible for constructing the correct concrete implementation of the model objects for each particular site type. This class creates model objects that correspond to the concrete implementation classes provided in this package. The actual site creation method is subclass responsibility.
This class must be subclassed by clients.
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.
ISiteFactory,
SiteModelFactory| Constructor Summary | |
|---|---|
BaseSiteFactory()
Deprecated. |
|
| Method Summary | |
|---|---|
ArchiveReferenceModel |
createArchiveReferenceModel()
Deprecated. Create a concrete implementation of archive reference model. |
SiteFeatureReferenceModel |
createFeatureReferenceModel()
Deprecated. Create a concrete implementation of feature reference model. |
abstract ISite |
createSite(URL url)
Deprecated. Create site. |
CategoryModel |
createSiteCategoryModel()
Deprecated. Create a concrete implementation of category model. |
SiteModel |
createSiteMapModel()
Deprecated. Create a concrete implementation of site model. |
URLEntryModel |
createURLEntryModel()
Deprecated. Create a concrete implementation of annotated URL model. |
protected ResourceBundle |
getResourceBundle(URL url)
Deprecated. Helper method to access resouce bundle for site. |
protected InputStream |
openStream(URL resolvedURL)
Deprecated. Open a stream on a URL. |
| Methods inherited from class org.eclipse.update.core.model.SiteModelFactory |
|---|
canParseSiteType, parseSite |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BaseSiteFactory()
| Method Detail |
|---|
public abstract ISite createSite(URL url)
throws CoreException,
InvalidSiteTypeException
createSite in interface ISiteFactoryurl - URL interpreted by the site
CoreException
InvalidSiteTypeException - the referenced site type is
not a supported type for this factoryISiteFactory.createSite(URL)protected ResourceBundle getResourceBundle(URL url)
url - base URL used to load the resource bundle.
null.public SiteModel createSiteMapModel()
createSiteMapModel in class SiteModelFactorySitepublic SiteFeatureReferenceModel createFeatureReferenceModel()
createFeatureReferenceModel in class SiteModelFactoryFeatureReferencepublic ArchiveReferenceModel createArchiveReferenceModel()
createArchiveReferenceModel in class SiteModelFactoryArchiveReferencepublic URLEntryModel createURLEntryModel()
createURLEntryModel in class SiteModelFactoryURLEntrypublic CategoryModel createSiteCategoryModel()
createSiteCategoryModel in class SiteModelFactoryCategory
protected InputStream openStream(URL resolvedURL)
throws IOException
resolvedURL -
IOException
|
Eclipse Platform Release 3.7 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2011. All rights reserved.