|
Eclipse Platform 2.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--org.eclipse.update.core.model.SiteModelFactory
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.
BaseSiteFactory| Constructor Summary | |
SiteModelFactory()
Creates a default site factory. |
|
| Method Summary | |
boolean |
canParseSiteType(String type)
Indicates whether this factory can handle the specified site type. |
ArchiveReferenceModel |
createArchiveReferenceModel()
Create a default archive reference model. |
FeatureReferenceModel |
createFeatureReferenceModel()
Create a default feature reference model. |
CategoryModel |
createSiteCategoryModel()
Create a default category model. |
SiteModel |
createSiteMapModel()
Create a default site model. |
URLEntryModel |
createURLEntryModel()
Create a default annotated URL model. |
SiteModel |
parseSite(InputStream stream)
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 |
public SiteModelFactory()
| Method Detail |
public boolean canParseSiteType(String type)
type - site type identifier
true if the type can be handled, otherwise false
public SiteModel parseSite(InputStream stream)
throws CoreException,
InvalidSiteTypeException
stream - site stream
ParsingException
IOException
org.xml.sax.SAXException
CoreException
InvalidSiteTypeExceptionpublic SiteModel createSiteMapModel()
SiteModelpublic FeatureReferenceModel createFeatureReferenceModel()
FeatureReferenceModelpublic ArchiveReferenceModel createArchiveReferenceModel()
ArchiveReferenceModelpublic URLEntryModel createURLEntryModel()
URLEntryModelpublic CategoryModel createSiteCategoryModel()
CategoryModel
|
Eclipse Platform 2.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||