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 SiteModelFactory

java.lang.Object
  extended by 
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.
 
Method Summary
 boolean canParseSiteType ( String type)
          Deprecated. Indicates whether this factory can handle the specified site type.
  ArchiveReferenceModel createArchiveReferenceModel ()
          Deprecated. Create a default archive reference model.
  SiteFeatureReferenceModel createFeatureReferenceModel ()
          Deprecated. Create a default site feature reference model.
  CategoryModel createSiteCategoryModel ()
          Deprecated. Create a default category model.
  SiteModel createSiteMapModel ()
          Deprecated. Create a default site model.
  URLEntryModel createURLEntryModel ()
          Deprecated. Create a default annotated URL model.
  SiteModel parseSite ( InputStream stream)
          Deprecated. Creates and populates a default site from stream.
 
Methods inherited from class java.lang. Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SiteModelFactory

public SiteModelFactory()
Deprecated. 
Creates a default site factory.

Since:
2.0
Method Detail

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

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