org.eclipse.update.core.model
Class SiteModelFactory
java.lang.Object
org.eclipse.update.core.model.SiteModelFactory
-
Direct Known Subclasses:
-
BaseSiteFactory
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 SiteModelFactory
- extends
Object
Default site model factory.
This class may be instantiated or subclassed by clients. However, in most
cases clients should instead subclass the provided base implementation
of this factory.
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:
-
BaseSiteFactory
Constructor Summary
|
SiteModelFactory
()
Deprecated. Creates a default site factory. |
Methods inherited from class java.lang.
Object
|
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait
|
SiteModelFactory
public SiteModelFactory()
-
Deprecated.
- Creates a default site factory.
-
Since:
- 2.0
canParseSiteType
public boolean canParseSiteType(
String type)
-
Deprecated.
- Indicates whether this factory can handle the specified site type. This
method is intended to be overridden by subclasses.
-
-
Parameters:
-
type
- site type identifier
-
Returns:
-
true
if the type can be handled, otherwise false
-
Since:
- 2.0
parseSite
public
SiteModel parseSite(
InputStream stream)
throws
CoreException,
InvalidSiteTypeException
-
Deprecated.
- Creates and populates a default site from stream.
The parser assumes the stream contains a default site manifest
(site.xml) as documented by the platform.
-
-
Parameters:
-
stream
- site stream
-
Returns:
- populated site model
-
Throws:
-
CoreException
-
InvalidSiteTypeException
-
Since:
- 2.0
createSiteMapModel
public
SiteModel createSiteMapModel()
-
Deprecated.
- Create a default site model.
-
-
Returns:
- site model
-
Since:
- 2.0
-
See Also:
-
SiteModel
createFeatureReferenceModel
public
SiteFeatureReferenceModel createFeatureReferenceModel()
-
Deprecated.
- Create a default site feature reference model.
-
-
Returns:
- site feature reference model
-
Since:
- 2.0
-
See Also:
-
SiteFeatureReferenceModel
createArchiveReferenceModel
public
ArchiveReferenceModel createArchiveReferenceModel()
-
Deprecated.
- Create a default archive reference model.
-
-
Returns:
- archive reference model
-
Since:
- 2.0
-
See Also:
-
ArchiveReferenceModel
createURLEntryModel
public
URLEntryModel createURLEntryModel()
-
Deprecated.
- Create a default annotated URL model.
-
-
Returns:
- annotated URL model
-
Since:
- 2.0
-
See Also:
-
URLEntryModel
createSiteCategoryModel
public
CategoryModel createSiteCategoryModel()
-
Deprecated.
- Create a default category model.
-
-
Returns:
- category model
-
Since:
- 2.0
-
See Also:
-
CategoryModel
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.