org.eclipse.update.core.model
Class FeatureModelFactory
java.lang.Object
org.eclipse.update.core.model.FeatureModelFactory
-
Direct Known Subclasses:
-
BaseFeatureFactory
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 FeatureModelFactory
- extends
Object
Default feature 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:
-
BaseFeatureFactory
Methods inherited from class java.lang.
Object
|
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait
|
FeatureModelFactory
public FeatureModelFactory()
-
Deprecated.
- Creates a default model factory.
-
Since:
- 2.0
parseFeature
public
FeatureModel parseFeature(
InputStream stream)
throws
CoreException,
SAXException
-
Deprecated.
- Creates and populates a default feature from stream.
The parser assumes the stream contains a default feature manifest
(feature.xml) as documented by the platform.
-
-
Parameters:
-
stream
- feature stream
-
Returns:
- populated feature model
-
Throws:
-
CoreException
-
SAXException
-
Since:
- 2.0
parseFeature
public
FeatureModel parseFeature(
InputStream stream,
String location)
throws
CoreException,
SAXException
-
Deprecated.
- Creates and populates a default feature from stream.
The parser assumes the stream contains a default feature manifest
(feature.xml) as documented by the platform.
-
-
Parameters:
-
stream
- feature stream -
location
- feature location
-
Returns:
- populated feature model
-
Throws:
-
CoreException
-
SAXException
-
Since:
- 3.1
createFeatureModel
public
FeatureModel createFeatureModel()
-
Deprecated.
- Create a default feature model.
-
-
Returns:
- feature model
-
Since:
- 2.0
-
See Also:
-
FeatureModel
createIncludedFeatureReferenceModel
public
IncludedFeatureReferenceModel createIncludedFeatureReferenceModel()
-
Deprecated.
- Create a default included feature reference model.
-
-
Returns:
- feature model
-
Since:
- 2.1
-
See Also:
-
IncludedFeatureReferenceModel
createInstallHandlerEntryModel
public
InstallHandlerEntryModel createInstallHandlerEntryModel()
-
Deprecated.
- Create a default install handler model.
-
-
Returns:
- install handler entry model
-
Since:
- 2.0
-
See Also:
-
InstallHandlerEntryModel
createImportModel
public
ImportModel createImportModel()
-
Deprecated.
- Create a default import dependency model.
-
-
Returns:
- import dependency model
-
Since:
- 2.0
-
See Also:
-
ImportModel
createPluginEntryModel
public
PluginEntryModel createPluginEntryModel()
-
Deprecated.
- Create a default plug-in entry model.
-
-
Returns:
- plug-in entry model
-
Since:
- 2.0
-
See Also:
-
PluginEntryModel
createNonPluginEntryModel
public
NonPluginEntryModel createNonPluginEntryModel()
-
Deprecated.
- Create a default non-plug-in entry model.
-
-
Returns:
- non-plug-in entry model
-
Since:
- 2.0
-
See Also:
-
NonPluginEntryModel
createURLEntryModel
public
URLEntryModel createURLEntryModel()
-
Deprecated.
- Create a default annotated URL model.
-
-
Returns:
- annotated URL model
-
Since:
- 2.0
-
See Also:
-
URLEntryModel
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.