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 FeatureModelFactory

java.lang.Object
  extended by 
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

Constructor Summary
FeatureModelFactory ()
          Deprecated. Creates a default model factory.
 
Method Summary
  FeatureModel createFeatureModel ()
          Deprecated. Create a default feature model.
  ImportModel createImportModel ()
          Deprecated. Create a default import dependency model.
  IncludedFeatureReferenceModel createIncludedFeatureReferenceModel ()
          Deprecated. Create a default included feature reference model.
  InstallHandlerEntryModel createInstallHandlerEntryModel ()
          Deprecated. Create a default install handler model.
  NonPluginEntryModel createNonPluginEntryModel ()
          Deprecated. Create a default non-plug-in entry model.
  PluginEntryModel createPluginEntryModel ()
          Deprecated. Create a default plug-in entry model.
  URLEntryModel createURLEntryModel ()
          Deprecated. Create a default annotated URL model.
  FeatureModel parseFeature ( InputStream stream)
          Deprecated. Creates and populates a default feature from stream.
  FeatureModel parseFeature ( InputStream stream, String location)
          Deprecated. Creates and populates a default feature from stream.
 
Methods inherited from class java.lang. Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FeatureModelFactory

public FeatureModelFactory()
Deprecated. 
Creates a default model factory.

Since:
2.0
Method Detail

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

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