public class FeatureModelFactory extends Object
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.
BaseFeatureFactory
Constructor and Description |
---|
FeatureModelFactory()
Creates a default model factory.
|
Modifier and Type | Method and Description |
---|---|
FeatureModel |
createFeatureModel()
Create a default feature model.
|
ImportModel |
createImportModel()
Create a default import dependency model.
|
IncludedFeatureReferenceModel |
createIncludedFeatureReferenceModel()
Create a default included feature reference model.
|
InstallHandlerEntryModel |
createInstallHandlerEntryModel()
Create a default install handler model.
|
NonPluginEntryModel |
createNonPluginEntryModel()
Create a default non-plug-in entry model.
|
PluginEntryModel |
createPluginEntryModel()
Create a default plug-in entry model.
|
URLEntryModel |
createURLEntryModel()
Create a default annotated URL model.
|
FeatureModel |
parseFeature(InputStream stream)
Creates and populates a default feature from stream.
|
FeatureModel |
parseFeature(InputStream stream,
String location)
Creates and populates a default feature from stream.
|
public FeatureModelFactory()
public FeatureModel parseFeature(InputStream stream) throws CoreException, SAXException
stream
- feature streamCoreException
SAXException
public FeatureModel parseFeature(InputStream stream, String location) throws CoreException, SAXException
stream
- feature streamlocation
- feature locationCoreException
SAXException
public FeatureModel createFeatureModel()
FeatureModel
public IncludedFeatureReferenceModel createIncludedFeatureReferenceModel()
IncludedFeatureReferenceModel
public InstallHandlerEntryModel createInstallHandlerEntryModel()
InstallHandlerEntryModel
public ImportModel createImportModel()
ImportModel
public PluginEntryModel createPluginEntryModel()
PluginEntryModel
public NonPluginEntryModel createNonPluginEntryModel()
NonPluginEntryModel
public URLEntryModel createURLEntryModel()
URLEntryModel
Guidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.